[seam-commits] Seam SVN: r13237 - modules/xml/trunk/docs/src/main/docbook/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jun 18 02:14:19 EDT 2010


Author: swd847
Date: 2010-06-18 02:14:19 -0400 (Fri, 18 Jun 2010)
New Revision: 13237

Modified:
   modules/xml/trunk/docs/src/main/docbook/en-US/xml-general.xml
   modules/xml/trunk/docs/src/main/docbook/en-US/xml-introduction.xml
Log:
update seam xml docs


Modified: modules/xml/trunk/docs/src/main/docbook/en-US/xml-general.xml
===================================================================
--- modules/xml/trunk/docs/src/main/docbook/en-US/xml-general.xml	2010-06-18 03:10:26 UTC (rev 13236)
+++ modules/xml/trunk/docs/src/main/docbook/en-US/xml-general.xml	2010-06-18 06:14:19 UTC (rev 13237)
@@ -69,7 +69,7 @@
       <para>The namespaces are searched in the order they are specified in the xml 
       document.</para>
       
-    <programlisting role="xml">
+    <programlisting role="XML">
         <![CDATA[
 <test:ProducerQualifier>
     <s:Qualifier/>
@@ -80,7 +80,7 @@
     <para>The first entry in the file defines a new qualifier. <literal>ProducerQualifier</literal> 
       is an annotation in the package <literal>org.jboss.seam.xml.test.injection</literal>.</para>
     
-    <programlisting>
+    <programlisting role="XML">
         <![CDATA[
 <test:ProducerBean someOtherField="45" >
     <test:someField>
@@ -109,7 +109,7 @@
     <para>Child elements of fields, methods and classes that resolve to Annotation types are considered to be annotations on the corresponding element, 
     so the corresponding Java declaration for the XML above would be:</para>
     
-    <programlisting><![CDATA[
+    <programlisting role="JAVA"><![CDATA[
 public class ProducerBean {
    @Produces
    @ProducerQualifier
@@ -120,7 +120,7 @@
 }
     ]]></programlisting>
     
-    <programlisting><![CDATA[
+    <programlisting role="JAVA"><![CDATA[
 <test:ReceiverBean>
     <test:value>
          <test:ProducerQualifier/>
@@ -320,7 +320,7 @@
 </beans>
 ]]>
 </programlisting>
-<programlisting role="java" >
+<programlisting role="JAVA" >
 <![CDATA[
 public class MethodBean {
 
@@ -356,7 +356,7 @@
         the parameter. </para> 
         
         <para>The corresponding Java declaration for the XML above would be:</para>
-        <programlisting role="java">
+        <programlisting role="JAVA">
             <![CDATA[
 public class MethodBean {
             
@@ -374,7 +374,7 @@
          </programlisting>
          <para>Array parameters can be represented using the <literal>&lt;s:array&gt;</literal> element, 
          with a child element to represent the type of the array. E.g.</para>
-         <programlisting role="java">
+         <programlisting role="JAVA">
 int method(MethodValueBean[] param);
          </programlisting>        
         <para>could be configured via xml using the following:</para>
@@ -393,7 +393,7 @@
         <title>Overriding the type of an injection point</title>
         
         <para>It is possible to limit which bean types are availible to inject int a given injection point:</para>
-             <programlisting role="java">
+             <programlisting role="JAVA">
                   <![CDATA[
 public class SomeBean
 {
@@ -401,7 +401,7 @@
 }                  
 ]]>
 </programlisting>
-<programlisting role="xml">
+<programlisting role="XML">
 <![CDATA[                 
 <test:SomeBean>
         <test:someField>
@@ -421,7 +421,7 @@
     <section>
         <title>Annotation Members</title>
         <para>It is possible to set the value of annotation members using attributes in xml. For example:</para>
-        <programlisting role="java" >
+        <programlisting role="JAVA" >
             <![CDATA[
 public @interface OtherQualifier {
    String value1();

Modified: modules/xml/trunk/docs/src/main/docbook/en-US/xml-introduction.xml
===================================================================
--- modules/xml/trunk/docs/src/main/docbook/en-US/xml-introduction.xml	2010-06-18 03:10:26 UTC (rev 13236)
+++ modules/xml/trunk/docs/src/main/docbook/en-US/xml-introduction.xml	2010-06-18 06:14:19 UTC (rev 13237)
@@ -26,7 +26,7 @@
     so <literal>seam-beans.xml</literal> is provided as an alternative. </para>
     
     <para>Let's start with a simple example. Say we have the following class that represents a report:</para>
-	<programlisting role="java"><![CDATA[
+	<programlisting role="JAVA"><![CDATA[
 public class Report
 {
 	String filename;
@@ -38,7 +38,7 @@
 }
 ]]></programlisting>
     <para>And the following support classes:</para>
-	<programlisting role="java">
+	<programlisting role="JAVA">
     <![CDATA[
 public interface Datasource
 {



More information about the seam-commits mailing list