You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/06/24 19:10:57 UTC

svn commit: r867253 [9/46] - in /websites/production/cxf/content: ./ 2008/04/28/ 2008/06/20/ 2009/02/10/ 2009/08/04/ cache/ docs/ docs/cxf-architecture.thumbs/ docs/cxf-dependency-graphs.thumbs/ docs/logbrowser-configuration.thumbs/ docs/logbrowser-sof...

Modified: websites/production/cxf/content/docs/a-simple-jax-ws-service.html
==============================================================================
--- websites/production/cxf/content/docs/a-simple-jax-ws-service.html (original)
+++ websites/production/cxf/content/docs/a-simple-jax-ws-service.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - A simple JAX-WS service">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- A simple JAX-WS service
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- A simple JAX-WS service
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +101,7 @@ Apache CXF -- A simple JAX-WS service
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -139,18 +146,19 @@ Apache CXF -- A simple JAX-WS service
 <h1><a shape="rect" name="AsimpleJAX-WSservice-WritingyourService"></a>Writing your Service</h1>
 <p>First we'll write our service interface. It will have one operation called <tt>sayHi</tt> which says "Hello" to whoever submits their name.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+
 @WebService
-<span class="code-keyword">public</span> <span class="code-keyword">interface</span> HelloWorld {
+public interface HelloWorld {
 
-    <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text);
+    String sayHi(String text);
 
 
     /* Advanced usecase of passing an Interface in.  JAX-WS/JAXB does not
      * support interfaces directly.  Special XmlAdapter classes need to
      * be written to handle them
      */
-    <span class="code-object">String</span> sayHiToUser(User user);
+    String sayHiToUser(User user);
 
 
     /* Map passing
@@ -159,68 +167,70 @@ Apache CXF -- A simple JAX-WS service
      * the maps into beans that JAXB can use. 
      */
     @XmlJavaTypeAdapter(IntegerUserMapAdapter.class)
-    Map&lt;<span class="code-object">Integer</span>, User&gt; getUsers();
+    Map&lt;Integer, User&gt; getUsers();
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>To make sure your parameter is named correctly in the xml you should use:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 @WebService
-<span class="code-keyword">public</span> <span class="code-keyword">interface</span> HelloWorld {
-    <span class="code-object">String</span> sayHi(@WebParam(name=<span class="code-quote">"text"</span>) <span class="code-object">String</span> text);
+public interface HelloWorld {
+    String sayHi(@WebParam(name="text") String text);
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>The @WebParam annotation is necessary as java interfaces do not store the Parameter name in the .class file. So if you leave out the annotation your parameter will be named arg0.</p>
 
 <p>Our implementation will then look like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"><span class="code-keyword">package</span> demo.hw.server;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+package demo.hw.server;
 
-<span class="code-keyword">import</span> java.util.LinkedHashMap;
-<span class="code-keyword">import</span> java.util.Map;
+import java.util.LinkedHashMap;
+import java.util.Map;
 
-<span class="code-keyword">import</span> javax.jws.WebService;
+import javax.jws.WebService;
 
-@WebService(endpointInterface = <span class="code-quote">"demo.hw.server.HelloWorld"</span>,
-            serviceName = <span class="code-quote">"HelloWorld"</span>)
-<span class="code-keyword">public</span> class HelloWorldImpl <span class="code-keyword">implements</span> HelloWorld {
-    Map&lt;<span class="code-object">Integer</span>, User&gt; users = <span class="code-keyword">new</span> LinkedHashMap&lt;<span class="code-object">Integer</span>, User&gt;();
+@WebService(endpointInterface = "demo.hw.server.HelloWorld",
+            serviceName = "HelloWorld")
+public class HelloWorldImpl implements HelloWorld {
+    Map&lt;Integer, User&gt; users = new LinkedHashMap&lt;Integer, User&gt;();
 
 
-    <span class="code-keyword">public</span> <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text) {
-        <span class="code-object">System</span>.out.println(<span class="code-quote">"sayHi called"</span>);
-        <span class="code-keyword">return</span> <span class="code-quote">"Hello "</span> + text;
+    public String sayHi(String text) {
+        System.out.println("sayHi called");
+        return "Hello " + text;
     }
 
-    <span class="code-keyword">public</span> <span class="code-object">String</span> sayHiToUser(User user) {
-        <span class="code-object">System</span>.out.println(<span class="code-quote">"sayHiToUser called"</span>);
+    public String sayHiToUser(User user) {
+        System.out.println("sayHiToUser called");
         users.put(users.size() + 1, user);
-        <span class="code-keyword">return</span> <span class="code-quote">"Hello "</span>  + user.getName();
+        return "Hello "  + user.getName();
     }
 
-    <span class="code-keyword">public</span> Map&lt;<span class="code-object">Integer</span>, User&gt; getUsers() {
-        <span class="code-object">System</span>.out.println(<span class="code-quote">"getUsers called"</span>);
-        <span class="code-keyword">return</span> users;
+    public Map&lt;Integer, User&gt; getUsers() {
+        System.out.println("getUsers called");
+        return users;
     }
 
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>The @WebService annotation on the implementation class lets CXF know which interface we want to create our WSDL with. In this case its simply our HelloWorld interface.</p>
 
 <h1><a shape="rect" name="AsimpleJAX-WSservice-Publishingyourservice"></a>Publishing your service</h1>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"><span class="code-object">System</span>.out.println(<span class="code-quote">"Starting Server"</span>);
-HelloWorldImpl implementor = <span class="code-keyword">new</span> HelloWorldImpl();
-<span class="code-object">String</span> address = <span class="code-quote">"http:<span class="code-comment">//localhost:9000/helloWorld"</span>;
-</span>Endpoint.publish(address, implementor);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+System.out.println("Starting Server");
+HelloWorldImpl implementor = new HelloWorldImpl();
+String address = "http://localhost:9000/helloWorld";
+Endpoint.publish(address, implementor);
+]]></script>
 </div></div>
 
 <p>whole code at
@@ -229,16 +239,16 @@ HelloWorldImpl implementor = <span class
 <p>Alternatively you can use the following code. This gives you more control over the behaviour. For example you can add a logging interceptor:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-HelloWorldImpl implementor = <span class="code-keyword">new</span> HelloWorldImpl();
-JaxWsServerFactoryBean svrFactory = <span class="code-keyword">new</span> JaxWsServerFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+HelloWorldImpl implementor = new HelloWorldImpl();
+JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
 svrFactory.setServiceClass(HelloWorld.class);
-svrFactory.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9000/helloWorld"</span>);
-</span>svrFactory.setServiceBean(implementor);
-svrFactory.getInInterceptors().add(<span class="code-keyword">new</span> LoggingInInterceptor());
-svrFactory.getOutInterceptors().add(<span class="code-keyword">new</span> LoggingOutInterceptor());
+svrFactory.setAddress("http://localhost:9000/helloWorld");
+svrFactory.setServiceBean(implementor);
+svrFactory.getInInterceptors().add(new LoggingInInterceptor());
+svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
 svrFactory.create();
-</pre>
+]]></script>
 </div></div>
 
 <p>You could leave out the ServiceClass. But it is better to use it so the server and the client are created from the same interface. If you instead only use the implementation class subtle problems may occur.</p>
@@ -253,18 +263,18 @@ svrFactory.create();
 <p>For the client there is also the alternative approach that gives you more flexibility. Of course like above the logging interceptors are optional but they help a lot when starting:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-JaxWsProxyFactoryBean factory = <span class="code-keyword">new</span> JaxWsProxyFactoryBean();
-factory.getInInterceptors().add(<span class="code-keyword">new</span> LoggingInInterceptor());
-factory.getOutInterceptors().add(<span class="code-keyword">new</span> LoggingOutInterceptor());
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
+factory.getInInterceptors().add(new LoggingInInterceptor());
+factory.getOutInterceptors().add(new LoggingOutInterceptor());
 factory.setServiceClass(HelloWorld.class);
-factory.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9000/helloWorld"</span>);
-</span>HelloWorld client = (HelloWorld) factory.create();
+factory.setAddress("http://localhost:9000/helloWorld");
+HelloWorld client = (HelloWorld) factory.create();
 
-<span class="code-object">String</span> reply = client.sayHi(<span class="code-quote">"HI"</span>);
-<span class="code-object">System</span>.out.println(<span class="code-quote">"Server said: "</span> + reply);
-<span class="code-object">System</span>.exit(0); 
-</pre>
+String reply = client.sayHi("HI");
+System.out.println("Server said: " + reply);
+System.exit(0); 
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/advanced-integration.html
==============================================================================
--- websites/production/cxf/content/docs/advanced-integration.html (original)
+++ websites/production/cxf/content/docs/advanced-integration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Advanced Integration">
+
+
     <title>
 Apache CXF -- Advanced Integration
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Advanced Integration
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Advanced Integration
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/aegis-21.html
==============================================================================
--- websites/production/cxf/content/docs/aegis-21.html (original)
+++ websites/production/cxf/content/docs/aegis-21.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Aegis (2.1)">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Aegis (2.1)
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Aegis (2.1)
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Aegis (2.1)
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -146,17 +154,17 @@ Apache CXF -- Aegis (2.1)
 <p>For example, here is a Simple front-end service using Aegis as a data binding.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;simple:server id=<span class="code-quote">"pojoservice"</span> serviceClass=<span class="code-quote">"demo.hw.server.HelloWorld"</span> 
-  address=<span class="code-quote">"/hello_world"</span>&gt;
-  <span class="code-tag">&lt;simple:serviceBean&gt;</span>
-    <span class="code-tag">&lt;bean class=<span class="code-quote">"demo.hw.server.HelloWorldImpl"</span> /&gt;</span>
-  <span class="code-tag">&lt;/simple:serviceBean&gt;</span>
-  <span class="code-tag">&lt;simple:dataBinding&gt;</span>
-    <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.aegis.databinding.AegisDatabinding"</span> /&gt;</span>
-  <span class="code-tag">&lt;/simple:dataBinding&gt;</span>
-<span class="code-tag">&lt;/simple:server&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;simple:server id="pojoservice" serviceClass="demo.hw.server.HelloWorld" 
+  address="/hello_world"&gt;
+  &lt;simple:serviceBean&gt;
+    &lt;bean class="demo.hw.server.HelloWorldImpl" /&gt;
+  &lt;/simple:serviceBean&gt;
+  &lt;simple:dataBinding&gt;
+    &lt;bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" /&gt;
+  &lt;/simple:dataBinding&gt;
+&lt;/simple:server&gt;
+]]></script>
 </div></div>
 
 <p>AegisDatabinding is the class that integrates Aegis into CXF as a databinding.</p>
@@ -183,19 +191,19 @@ Apache CXF -- Aegis (2.1)
 <p>As of CXF 2.3, the Aegis databinding can leverage the Schema Validation capabilities built into the Woodstox 4.x Stax parser to validate incoming requests.   To enable this, you must do the following:</p>
 <ol><li>Make sure you are using the Woodstox 4.x Stax parser and not a 3.x or other parser.  By default, CXF 2.3 ships with an appropriate version of Woodstox.</li><li>If not using the CXF bundle jar, (example, if using maven), you'll need to add the cxf-wstx-msv-validation-2.3.0.jar to the classpath</li><li>If not using maven or similar to obtain the cxf-wstx-msv-validation jar, you'll also need to add the msv validation jars as CXF does not ship them by default.  You will need:
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 isorelax-20030108.jar
 msv-core-2009.1.jar
 relaxngDatatype-20020414.jar
 xercesImpl-2.9.1.jar
 xml-resolver-1.2.jar
 xsdlib-2009.1.jar
-</pre>
+]]></script>
 </div></div></li><li>If not using a default bus (such as configuring your own spring context), you'll need to add:
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf-extension-wstx-msv-validation.xml"</span> /&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;import resource="classpath:META-INF/cxf/cxf-extension-wstx-msv-validation.xml" /&gt;
+]]></script>
 </div></div>
 <p>to load the validator utilities that Aegis will use.</p></li><li>Turn on schema validation like you would for JAXB by using the @SchemaValidation annotation or setting the "schema-validation-enabled" property on the endpoint to "true".</li></ol>
 
@@ -253,14 +261,14 @@ These type attributes allow Aegis to ide
 <p>Here's a quick example of Java code setting these options. In Spring you would do something analogous with properties. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-TypeCreationOptions tOpts = <span class="code-keyword">new</span> TypeCreationOptions();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+TypeCreationOptions tOpts = new TypeCreationOptions();
 tOpts.setDefaultMinOccurs(1);
-tOpts.setDefaultNillable(<span class="code-keyword">false</span>);
-AegisDatabinding aDB = <span class="code-keyword">new</span> AegisDatabinding();
+tOpts.setDefaultNillable(false);
+AegisDatabinding aDB = new AegisDatabinding();
 aDB.getAegisContext().setTypeCreationOptions(tOpts);
 sFactory.getServiceFactory().setDataBinding(aDB);
-</pre>
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="Aegis%282.1%29-DetailedControlofBeanTypeMapping"></a>Detailed Control of Bean Type Mapping</h1>
@@ -286,13 +294,13 @@ sFactory.getServiceFactory().setDataBind
 <p>Here is a very simple mapping. It takes a property named 'horse', renames it to 'feathers', and makes it an attribute instead of an element.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-  <span class="code-tag">&lt;mapping name=""&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"horse"</span> mappedName=<span class="code-quote">"Feathers"</span> style=<span class="code-quote">"attribute"</span>/&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+  &lt;mapping name=""&gt;
+    &lt;property name="horse" mappedName="Feathers" style="attribute"/&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="Aegis%282.1%29-NamesandNamespaces"></a>Names and Namespaces</h4>
@@ -300,12 +308,12 @@ sFactory.getServiceFactory().setDataBind
 <p>You can also specify the full QName of the bean itself. The following mapping causes a class to have the QName {urn:north-pole:operations}Employee.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings <span class="code-keyword">xmlns:np</span>=<span class="code-quote">"urn:north-pole:operations"</span>&gt;</span>
-  <span class="code-tag">&lt;mapping name=<span class="code-quote">"np:Employee"</span>&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings xmlns:np="urn:north-pole:operations"&gt;
+  &lt;mapping name="np:Employee"&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <p>Notice that the namespace was declared on the mappings element and then the prefix was used to specify the element QNames for the name/title properties.</p>
@@ -313,12 +321,12 @@ sFactory.getServiceFactory().setDataBind
 <p>This will result in a mapping like so:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;np:Employee <span class="code-keyword">xmlns:np</span>=<span class="code-quote">"urn:north-pole:operations"</span>&gt;</span>
-  <span class="code-tag">&lt;np:Name&gt;</span>Santa Claus<span class="code-tag">&lt;/np:Name&gt;</span>
-  <span class="code-tag">&lt;np:Title&gt;</span>Chief Present Officer (CPO)<span class="code-tag">&lt;/np:Title&gt;</span>
-<span class="code-tag">&lt;/np:Employee&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;np:Employee xmlns:np="urn:north-pole:operations"&gt;
+  &lt;np:Name&gt;Santa Claus&lt;/np:Name&gt;
+  &lt;np:Title&gt;Chief Present Officer (CPO)&lt;/np:Title&gt;
+&lt;/np:Employee&gt;
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="Aegis%282.1%29-Ignoringproperties"></a>Ignoring properties</h4>
@@ -326,13 +334,13 @@ sFactory.getServiceFactory().setDataBind
 <p>If you don't want to serialize a certain property it is easy to ignore it:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-  <span class="code-tag">&lt;mapping&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"propertyName"</span> ignore=<span class="code-quote">"true"</span>/&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+  &lt;mapping&gt;
+    &lt;property name="propertyName" ignore="true"/&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="Aegis%282.1%29-MinOccursandNillable"></a>MinOccurs and Nillable</h4>
@@ -340,13 +348,13 @@ sFactory.getServiceFactory().setDataBind
 <p>The default Aegis mapping is to assume that, since any Java object can be null, that the corresponding schema elements should have minOccurs of 0 and nillable of true. There are properties on the mappings for to control this.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-  <span class="code-tag">&lt;mapping&gt;</span>
-    <span class="code-tag">&lt;property name='everpresentProperty' minOccurs='1' nillable='false'/&gt;</span>
- <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+  &lt;mapping&gt;
+    &lt;property name='everpresentProperty' minOccurs='1' nillable='false'/&gt;
+ &lt;/mapping&gt;
+&lt;mappings&gt;
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="Aegis%282.1%29-AlternativeTypeBinding"></a>Alternative Type Binding</h4>
@@ -356,16 +364,16 @@ sFactory.getServiceFactory().setDataBind
 <p>By default, for example, if Aegis maps a property as a Date, it uses the XML schema type xsd:dateTime. Here is an example that uses xsd:date, instead.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings <span class="code-keyword">xmlns:xsd</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema"</span>&gt;</span>
-	<span class="code-tag">&lt;mapping&gt;</span>
-		&lt;property name=<span class="code-quote">"birthDate"</span> 
-			type=<span class="code-quote">"org.apache.cxf.aegis.type.basic.DateType"</span> 
-			typeName=<span class="code-quote">"xsd:date"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
+	&lt;mapping&gt;
+		&lt;property name="birthDate" 
+			type="org.apache.cxf.aegis.type.basic.DateType" 
+			typeName="xsd:date"
 			/&gt;
-	<span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+	&lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <h4><a shape="rect" name="Aegis%282.1%29-Collections"></a>Collections</h4>
@@ -383,19 +391,19 @@ sFactory.getServiceFactory().setDataBind
 <p>This example specifies that getUnannotatedStrings returns an element named UnannotatedStringCollection which is a raw collection of String values. It then specifies the first parameter of getValues is also a raw collection of String values.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-   <span class="code-tag">&lt;mapping&gt;</span>
-      <span class="code-tag">&lt;method name=<span class="code-quote">"getUnannotatedStrings"</span>&gt;</span>
-         &lt;return-type name=<span class="code-quote">"UnannotatedStringCollection"</span> 
-             componentType=<span class="code-quote">"java.lang.String"</span>/&gt;
-      <span class="code-tag">&lt;/method&gt;</span>
-      <span class="code-tag">&lt;method name=<span class="code-quote">"getValues"</span>&gt;</span>
-         <span class="code-tag">&lt;parameter index=<span class="code-quote">"0"</span> componentType=<span class="code-quote">"java.lang.String"</span>/&gt;</span>
-      <span class="code-tag">&lt;/method&gt;</span>
-   <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+   &lt;mapping&gt;
+      &lt;method name="getUnannotatedStrings"&gt;
+         &lt;return-type name="UnannotatedStringCollection" 
+             componentType="java.lang.String"/&gt;
+      &lt;/method&gt;
+      &lt;method name="getValues"&gt;
+         &lt;parameter index="0" componentType="java.lang.String"/&gt;
+      &lt;/method&gt;
+   &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Aegis%282.1%29-Annotations"></a>Annotations </h2>

Modified: websites/production/cxf/content/docs/aegis-databinding-20x.html
==============================================================================
--- websites/production/cxf/content/docs/aegis-databinding-20x.html (original)
+++ websites/production/cxf/content/docs/aegis-databinding-20x.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Aegis Databinding (2.0.x)">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Aegis Databinding (2.0.x)
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Aegis Databinding (2.0.x)
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Aegis Databinding (2.0.x)
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -145,62 +153,62 @@ Apache CXF -- Aegis Databinding (2.0.x)
 <p>Most people who use Aegis use the 'Simple' front end. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;simple:server id=<span class="code-quote">"pojoservice"</span> serviceClass=<span class="code-quote">"demo.hw.server.HelloWorld"</span> address=<span class="code-quote">"/hello_world"</span>&gt;</span>
-  <span class="code-tag">&lt;simple:serviceBean&gt;</span>
-    <span class="code-tag">&lt;bean class=<span class="code-quote">"demo.hw.server.HelloWorldImpl"</span> /&gt;</span>
-  <span class="code-tag">&lt;/simple:serviceBean&gt;</span>
-  <span class="code-tag">&lt;simple:dataBinding&gt;</span>
-    <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.aegis.databinding.AegisDatabinding"</span> /&gt;</span>
-  <span class="code-tag">&lt;/simple:dataBinding&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;simple:server id="pojoservice" serviceClass="demo.hw.server.HelloWorld" address="/hello_world"&gt;
+  &lt;simple:serviceBean&gt;
+    &lt;bean class="demo.hw.server.HelloWorldImpl" /&gt;
+  &lt;/simple:serviceBean&gt;
+  &lt;simple:dataBinding&gt;
+    &lt;bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" /&gt;
+  &lt;/simple:dataBinding&gt;
   &lt;!-- Use this property only for XFire compatibility -- this version for 2.0.x ...
-  <span class="code-tag">&lt;property name=<span class="code-quote">"serviceConfigurations"</span>&gt;</span>
-    <span class="code-tag">&lt;list&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.aegis.databinding.AegisServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.service.factory.DefaultServiceConfiguration"</span>/&gt;</span> 
-    <span class="code-tag">&lt;/list&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
+  &lt;property name="serviceConfigurations"&gt;
+    &lt;list&gt;
+      &lt;bean class="org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.aegis.databinding.AegisServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.service.factory.DefaultServiceConfiguration"/&gt; 
+    &lt;/list&gt;
+  &lt;/property&gt;
   --&gt;
-<span class="code-tag">&lt;/simple:server&gt;</span>
-</pre>
+&lt;/simple:server&gt;
+]]></script>
 </div></div>
 
 <p>You can also use Aegis with JAX-WS. Here's a Spring configuration example for that.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"aegisBean"</span> class=<span class="code-quote">"org.apache.cxf.aegis.databinding.AegisDatabinding"</span> scope=<span class="code-quote">"prototype"</span>/&gt;</span> 
-&lt;bean id=<span class="code-quote">"jaxws-and-aegis-service-factory"</span>
-  class=<span class="code-quote">"org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"</span>
-  scope=<span class="code-quote">"prototype"</span>&gt; 
-  <span class="code-tag">&lt;property name=<span class="code-quote">"dataBinding"</span> ref=<span class="code-quote">"aegisBean"</span>/&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="aegisBean" class="org.apache.cxf.aegis.databinding.AegisDatabinding" scope="prototype"/&gt; 
+&lt;bean id="jaxws-and-aegis-service-factory"
+  class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"
+  scope="prototype"&gt; 
+  &lt;property name="dataBinding" ref="aegisBean"/&gt;
   &lt;!-- Use this property only for XFire compatibility -- this version for 2.0.x ...
-  <span class="code-tag">&lt;property name=<span class="code-quote">"serviceConfigurations"</span>&gt;</span>
-    <span class="code-tag">&lt;list&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.aegis.databinding.AegisServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.service.factory.DefaultServiceConfiguration"</span>/&gt;</span> 
-    <span class="code-tag">&lt;/list&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
+  &lt;property name="serviceConfigurations"&gt;
+    &lt;list&gt;
+      &lt;bean class="org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.aegis.databinding.AegisServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.service.factory.DefaultServiceConfiguration"/&gt; 
+    &lt;/list&gt;
+  &lt;/property&gt;
   --&gt;
   &lt;!-- Use this property only for XFire compatibility -- this version for 2.1
-  <span class="code-tag">&lt;property name=<span class="code-quote">"serviceConfigurations"</span>&gt;</span>
-    <span class="code-tag">&lt;list&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.aegis.databinding.XFireCompatibilityServiceConfiguration"</span>/&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.service.factory.DefaultServiceConfiguration"</span>/&gt;</span> 
-    <span class="code-tag">&lt;/list&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
+  &lt;property name="serviceConfigurations"&gt;
+    &lt;list&gt;
+      &lt;bean class="org.apache.cxf.jaxws.support.JaxWsServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.aegis.databinding.XFireCompatibilityServiceConfiguration"/&gt;
+      &lt;bean class="org.apache.cxf.service.factory.DefaultServiceConfiguration"/&gt; 
+    &lt;/list&gt;
+  &lt;/property&gt;
   --&gt;
-<span class="code-tag">&lt;/bean&gt;</span>
+&lt;/bean&gt;
 
-<span class="code-tag">&lt;jaxws:endpoint id=<span class="code-quote">"my_service_endpoint"</span> implementor=<span class="code-quote">"#my-service"</span> address=<span class="code-quote">"/MyIndex"</span>&gt;</span>
-  <span class="code-tag">&lt;jaxws:serviceFactory&gt;</span>
-    <span class="code-tag">&lt;ref bean='jaxws-and-aegis-service-factory' /&gt;</span>
-  <span class="code-tag">&lt;/jaxws:serviceFactory&gt;</span>
-<span class="code-tag">&lt;/jaxws:endpoint&gt;</span>
-</pre>
+&lt;jaxws:endpoint id="my_service_endpoint" implementor="#my-service" address="/MyIndex"&gt;
+  &lt;jaxws:serviceFactory&gt;
+    &lt;ref bean='jaxws-and-aegis-service-factory' /&gt;
+  &lt;/jaxws:serviceFactory&gt;
+&lt;/jaxws:endpoint&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="AegisDatabinding%282.0.x%29-Javaconfiguration"></a>Java configuration</h2>
@@ -208,33 +216,33 @@ Apache CXF -- Aegis Databinding (2.0.x)
 <p>Here's a Java configuration using the Simple front end. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.aegis.databinding.AegisDatabinding;
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ServerFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.aegis.databinding.AegisDatabinding;
+import org.apache.cxf.frontend.ServerFactoryBean;
 
-ServerFactoryBean sf = <span class="code-keyword">new</span> ServerFactoryBean();
+ServerFactoryBean sf = new ServerFactoryBean();
 sf.setServiceClass(serviceClass);
-sf.setAddress(<span class="code-quote">"http:<span class="code-comment">//myhost/service"</span>);
-</span>sf.getServiceFactory().setDataBinding(<span class="code-keyword">new</span> AegisDatabinding());
+sf.setAddress("http://myhost/service");
+sf.getServiceFactory().setDataBinding(new AegisDatabinding());
 sf.create();
-</pre>
+]]></script>
 </div></div>
 
 <p>Similarly, here is a client side using the simple front end. Note the use of the WSDL. Without the WSDL, the simple front end will try to learn<br clear="none">
 parameters names from Java reflection. As always, Java interfaces don't carry parameter names, and this results in names like 'arg0', 'arg1', etc, which don't match the service.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.aegis.databinding.AegisDatabinding;
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ClientProxyFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.aegis.databinding.AegisDatabinding;
+import org.apache.cxf.frontend.ClientProxyFactoryBean;
 
-ClientProxyFactoryBean factory = <span class="code-keyword">new</span> ClientProxyFactoryBean();
+ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
 factory.setServiceClass(serviceInterfaceClassObject);
-factory.setAddress(<span class="code-quote">"http:<span class="code-comment">//myhost/service"</span>);
-</span>factory.setWsdlLocation(<span class="code-quote">"http:<span class="code-comment">//myhost/service?wsdl"</span>);
-</span>factory.getServiceFactory().setDataBinding(<span class="code-keyword">new</span> AegisDatabinding());
+factory.setAddress("http://myhost/service");
+factory.setWsdlLocation("http://myhost/service?wsdl");
+factory.getServiceFactory().setDataBinding(new AegisDatabinding());
 MyService client = (MyService) factory.create();
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="AegisDatabinding%282.0.x%29-XFireCompatibility"></a>XFire Compatibility</h2>
@@ -244,14 +252,14 @@ If you need to interoperate with XFire, 
 an additional service configuration class to your service configuration: XFireCompatibilityServiceConfiguration (in 2.0.x, AegisServiceConfiguration). <br clear="none">
 The spring example above shows the necessary configuration in a comment. For the client side in Java, you need to add the service configuration to the service factory as follows:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.aegis.databinding.AegisServiceConfiguration;
-<span class="code-comment">// <span class="code-keyword">for</span> 2.0.x
-</span>sf.getServiceFactory().getServiceConfigurations().add(0, <span class="code-keyword">new</span> AegisServiceConfiguration());
-<span class="code-comment">// <span class="code-keyword">for</span> 2.1
-</span>sf.getServiceFactory().getServiceConfigurations().add(0, <span class="code-keyword">new</span> XFireCompatibilityServiceConfiguration());
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.aegis.databinding.AegisServiceConfiguration;
+// for 2.0.x
+sf.getServiceFactory().getServiceConfigurations().add(0, new AegisServiceConfiguration());
+// for 2.1
+sf.getServiceFactory().getServiceConfigurations().add(0, new XFireCompatibilityServiceConfiguration());
 
-</pre>
+]]></script>
 </div></div>
 <p>This will the change the namespaces that CXF generates by default so that they are the same as XFire would generate.</p>
 
@@ -262,42 +270,42 @@ The spring example above shows the neces
 
 <p>Fore example, the java class:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class Employee
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class Employee
 {
-  <span class="code-keyword">private</span> <span class="code-object">String</span> name;
-  <span class="code-keyword">private</span> <span class="code-object">String</span> title;
+  private String name;
+  private String title;
 
-  <span class="code-keyword">public</span> <span class="code-object">String</span> getName() { <span class="code-keyword">return</span> name; }
-  <span class="code-keyword">public</span> void setName(<span class="code-object">String</span> name) { <span class="code-keyword">this</span>.name = name; }
+  public String getName() { return name; }
+  public void setName(String name) { this.name = name; }
 
-  <span class="code-keyword">public</span> <span class="code-object">String</span> getTitle() { <span class="code-keyword">return</span> title; }
-  <span class="code-keyword">public</span> void setTitle(<span class="code-object">String</span> title) { <span class="code-keyword">this</span>.title = title; }
+  public String getTitle() { return title; }
+  public void setTitle(String title) { this.title = title; }
 }
-</pre>
+]]></script>
 </div></div>
 <p>In XML this translates to:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;Employee xmlns=<span class="code-quote">"http://xfire.codehaus.org"</span>&gt;</span>
-  <span class="code-tag">&lt;name&gt;</span>Santa Claus<span class="code-tag">&lt;/name&gt;</span>
-  <span class="code-tag">&lt;title&gt;</span>Chief Present Officer (CPO)<span class="code-tag">&lt;/title&gt;</span>
-<span class="code-tag">&lt;/Employee&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;Employee xmlns="http://xfire.codehaus.org"&gt;
+  &lt;name&gt;Santa Claus&lt;/name&gt;
+  &lt;title&gt;Chief Present Officer (CPO)&lt;/title&gt;
+&lt;/Employee&gt;
+]]></script>
 </div></div>
 <p>In XML Schema this would become a complex type:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"Employee"</span>&gt;</span>
-  <span class="code-tag">&lt;xsd:sequence&gt;</span>
-    <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"name"</span> type=<span class="code-quote">"xsd:string"</span> minOccurs=<span class="code-quote">"0"</span> maxOccurs="1/&gt;</span>
-    <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"title"</span> type=<span class="code-quote">"xsd:string"</span> minOccurs=<span class="code-quote">"0"</span> maxOccurs="1/&gt;</span>
-  <span class="code-tag">&lt;/xsd:sequence&gt;</span>
-<span class="code-tag">&lt;/xsd:complexType&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;xsd:complexType name="Employee"&gt;
+  &lt;xsd:sequence&gt;
+    &lt;xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1/&gt;
+    &lt;xsd:element name="title" type="xsd:string" minOccurs="0" maxOccurs="1/&gt;
+  &lt;/xsd:sequence&gt;
+&lt;/xsd:complexType&gt;
+]]></script>
 </div></div>
 
-<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Validate your mapping!</b><br clear="none">You can find an XML Schema for Aegis mapping files <a shape="rect" href="aegis-databinding-20x.data/aegis.xsd?version=1&amp;modificationDate=1190751794000">here</a>.<br clear="none">
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Validate your mapping!</b><br clear="none">You can find an XML Schema for Aegis mapping files <a shape="rect" href="aegis-databinding-20x.data/aegis.xsd?version=1&amp;modificationDate=1190737394000">here</a>.<br clear="none">
  <a shape="rect" href="annotated-aegis-file-schema.html" title="Annotated Aegis File Schema">This</a> version of the XML schema has comments to explain the bits and pieces.</td></tr></table></div>
 
 <h2><a shape="rect" name="AegisDatabinding%282.0.x%29-SupportedTypes"></a>Supported Types</h2>
@@ -312,22 +320,22 @@ The spring example above shows the neces
 <p>If you have many properties, and you want most, or all of them, to have a minOccurs other than 0 or a nillable other than <b>false</b>, you can change the defaults for Aegis from Java code (amongst other places).<br clear="none">
 Here is an example: it extracts the binding provider from the service factory, and changes the configuration parameters.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ServerFactoryBean sf = <span class="code-keyword">new</span> ServerFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+ServerFactoryBean sf = new ServerFactoryBean();
 sf.setServiceClass(serviceClass);
-sf.setAddress(<span class="code-quote">"http:<span class="code-comment">//myhost/service"</span>);
-</span>AegisDatabinding db = <span class="code-keyword">new</span> AegisDatabinding();
+sf.setAddress("http://myhost/service");
+AegisDatabinding db = new AegisDatabinding();
 sf.getServiceFactory().setDataBinding(db);
 
 DefaultTypeMappingRegistry tmr = (DefaultTypeMappingRegistry)db.getTypeMappingRegistry();
-<span class="code-comment">// here we disuade XFire from its rather annoying tendency to assume that, just because
-</span><span class="code-comment">// anything in Java can be <span class="code-keyword">null</span>, that we want to advertise all that nullity all over.
-</span>Configuration configuration = tmr.getConfiguration();
+// here we disuade XFire from its rather annoying tendency to assume that, just because
+// anything in Java can be null, that we want to advertise all that nullity all over.
+Configuration configuration = tmr.getConfiguration();
 configuration.setDefaultMinOccurs(1);
-configuration.setDefaultNillable(<span class="code-keyword">false</span>);
+configuration.setDefaultNillable(false);
 
 sf.create();
-</pre>
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="AegisDatabinding%282.0.x%29-MoreInformation...."></a>More Information....</h1>

Modified: websites/production/cxf/content/docs/aegis-default-mappings.html
==============================================================================
--- websites/production/cxf/content/docs/aegis-default-mappings.html (original)
+++ websites/production/cxf/content/docs/aegis-default-mappings.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Aegis Default Mappings">
+
+
     <title>
 Apache CXF -- Aegis Default Mappings
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Aegis Default Mappings
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Aegis Default Mappings
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/aegis-mapping-files.html
==============================================================================
--- websites/production/cxf/content/docs/aegis-mapping-files.html (original)
+++ websites/production/cxf/content/docs/aegis-mapping-files.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Aegis Mapping Files">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Aegis Mapping Files
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Aegis Mapping Files
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Aegis Mapping Files
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -127,17 +135,17 @@ Apache CXF -- Aegis Mapping Files
 
 <p>Mapping files must exist in the same package as your bean or service class on the class path. In the above example the mapping file  would be named "/org/codehaus/xfire/Employee.aegis.xml", with the following format:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-  <span class="code-tag">&lt;mapping uri=<span class="code-quote">"" name="</span>"&gt;</span>
-    <span class="code-tag">&lt;method name=<span class="code-quote">"methodName"</span>&gt;</span>
-      <span class="code-tag">&lt;return-type mappedName=<span class="code-quote">"" componentType="</span>"/&gt;</span>
-      <span class="code-tag">&lt;parameter index=<span class="code-quote">"" mappedName="</span>"/&gt;</span>
-    <span class="code-tag">&lt;/method&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"" mappedName="</span><span class="code-quote">" style="</span>attribute|element<span class="code-quote">" componentType="</span>"/&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+  &lt;mapping uri="" name=""&gt;
+    &lt;method name="methodName"&gt;
+      &lt;return-type mappedName="" componentType=""/&gt;
+      &lt;parameter index="" mappedName=""/&gt;
+    &lt;/method&gt;
+    &lt;property name="" mappedName="" style="attribute|element" componentType=""/&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 <p>When you are creating <b>ClassName</b>.aegis.xml files to control type mapping, you will have only one <b>mapping</b> element, and you don't <em>need</em> any attributes on the <b>mapping</b> element. You use <b>property</b> elements to specify how to map your properties. You must supply <b>name=</b> to select the property. There are more examples of specific cases below.</p>
 
@@ -148,51 +156,51 @@ Apache CXF -- Aegis Mapping Files
 
 <p>Lets pretend that in the above example you would like the elements names to be capatilized and in the namespace "urn:north-pole:operations".  You could achieve this through a mapping file like so:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings <span class="code-keyword">xmlns:np</span>=<span class="code-quote">"urn:north-pole:operations"</span>&gt;</span>
-  <span class="code-tag">&lt;mapping name=<span class="code-quote">"np:Employee"</span>&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"name"</span> mappedName=<span class="code-quote">"Name"</span>/&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"title"</span> mappedName=<span class="code-quote">"Title"</span>/&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings xmlns:np="urn:north-pole:operations"&gt;
+  &lt;mapping name="np:Employee"&gt;
+    &lt;property name="name" mappedName="Name"/&gt;
+    &lt;property name="title" mappedName="Title"/&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 <p>Notice that the namespace was declared on the mappings element and then the prefix was used to specify the element QNames for the name/title properties.</p>
 
 <p>This will result in a mapping like so:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;np:Employee <span class="code-keyword">xmlns:np</span>=<span class="code-quote">"urn:north-pole:operations"</span>&gt;</span>
-  <span class="code-tag">&lt;np:Name&gt;</span>Santa Claus<span class="code-tag">&lt;/np:Name&gt;</span>
-  <span class="code-tag">&lt;np:Title&gt;</span>Chief Present Officer (CPO)<span class="code-tag">&lt;/np:Title&gt;</span>
-<span class="code-tag">&lt;/np:Employee&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;np:Employee xmlns:np="urn:north-pole:operations"&gt;
+  &lt;np:Name&gt;Santa Claus&lt;/np:Name&gt;
+  &lt;np:Title&gt;Chief Present Officer (CPO)&lt;/np:Title&gt;
+&lt;/np:Employee&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="AegisMappingFiles-Ignoringproperties"></a>Ignoring properties</h2>
 
 <p>If you don't want to serialize a certain property it is easy to ignore it:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;mappings&gt;</span>
-  <span class="code-tag">&lt;mapping&gt;</span>
-    <span class="code-tag">&lt;property name=<span class="code-quote">"propertyName"</span> ignore=<span class="code-quote">"true"</span>/&gt;</span>
-  <span class="code-tag">&lt;/mapping&gt;</span>
-<span class="code-tag">&lt;/mappings&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings&gt;
+  &lt;mapping&gt;
+    &lt;property name="propertyName" ignore="true"/&gt;
+  &lt;/mapping&gt;
+&lt;/mappings&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="AegisMappingFiles-ControllingminOccursandnillable"></a>Controlling minOccurs and nillable</h2>
 
 <p>The default Aegis mapping is to assume that, since any Java object can be <b>null</b>, that the corresponding schema elements should have minOccurs of 0 and nillable of true. There are properties on the mappings for to control this.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;mappings&gt;
   &lt;mapping&gt;
-    &lt;property name='everpresentProperty' minOccurs='1' nillable='<span class="code-keyword">false</span>'/&gt;
+    &lt;property name='everpresentProperty' minOccurs='1' nillable='false'/&gt;
  &lt;/mapping&gt;
 &lt;mappings&gt;
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="AegisMappingFiles-UsingtheAegisbasictypes"></a>Using the Aegis basic types</h2>
@@ -200,16 +208,16 @@ Apache CXF -- Aegis Mapping Files
 <p>In order to make use of the various types that Aegis provides in the "org.apache.cxf.aegis.type.basic" package, follow this example which allows the wsdl to use the "xsd:date" instead of the "xsd:dateTime".</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;mappings xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>&gt;
-</span>	&lt;mapping&gt;
-		&lt;property name=<span class="code-quote">"birthDate"</span> 
-			type=<span class="code-quote">"org.codehaus.xfire.aegis.type.basic.DateType"</span> 
-			typeName=<span class="code-quote">"xsd:date"</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;mappings xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
+	&lt;mapping&gt;
+		&lt;property name="birthDate" 
+			type="org.codehaus.xfire.aegis.type.basic.DateType" 
+			typeName="xsd:date"
 			/&gt;
 	&lt;/mapping&gt;
 &lt;/mappings&gt;
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/aegis-theory-of-operation-20x.html
==============================================================================
--- websites/production/cxf/content/docs/aegis-theory-of-operation-20x.html (original)
+++ websites/production/cxf/content/docs/aegis-theory-of-operation-20x.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Aegis Theory of Operation (2.0.x)">
+
+
     <title>
 Apache CXF -- Aegis Theory of Operation (2.0.x)
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Aegis Theory of Operation 
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Aegis Theory of Operation 
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/annotated-aegis-file-schema.html
==============================================================================
--- websites/production/cxf/content/docs/annotated-aegis-file-schema.html (original)
+++ websites/production/cxf/content/docs/annotated-aegis-file-schema.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Annotated Aegis File Schema">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Annotated Aegis File Schema
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Annotated Aegis File Schem
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Annotated Aegis File Schem
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -122,111 +130,111 @@ Apache CXF -- Annotated Aegis File Schem
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements. See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership. The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
-  <span class="code-quote">"License"</span>); you may not use this file except in compliance
+  "License"); you may not use this file except in compliance
   with the License. You may obtain a copy of the License at
   
   http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
-  <span class="code-quote">"AS IS"</span> BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied. See the License for the
   specific language governing permissions and limitations
   under the License.
 --&gt;
-&lt;xsd:schema <span class="code-keyword">xmlns:xsd</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema"</span>
-  elementFormDefault=<span class="code-quote">"unqualified"</span> attributeFormDefault=<span class="code-quote">"unqualified"</span>
+&lt;xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  elementFormDefault="unqualified" attributeFormDefault="unqualified"
 &gt;
-<span class="code-tag"><span class="code-comment">&lt;!-- top level element: mappings --&gt;</span></span>
-  <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"mappings"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:complexType&gt;</span>
-      <span class="code-tag">&lt;xsd:sequence&gt;</span>
-        <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"mapping"</span> type=<span class="code-quote">"mappingType"</span> minOccurs=<span class="code-quote">"0"</span> maxOccurs=<span class="code-quote">"unbounded"</span> /&gt;</span>
-      <span class="code-tag">&lt;/xsd:sequence&gt;</span>
-    <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-  <span class="code-tag">&lt;/xsd:element&gt;</span>
-<span class="code-tag"><span class="code-comment">&lt;!-- each mapping is one of these. --&gt;</span></span>
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"mappingType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:choice minOccurs=<span class="code-quote">"0"</span> maxOccurs=<span class="code-quote">"unbounded"</span>&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- a property from a bean, or --&gt;</span></span>
-      <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"property"</span> type=<span class="code-quote">"propertyType"</span> /&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- a method for a service, or --&gt;</span></span>
-      <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"method"</span> type=<span class="code-quote">"methodType"</span> /&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- an extra type for use with an untyped collection --&gt;</span></span>
-      <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"component"</span> type=<span class="code-quote">"componentTypeType"</span> /&gt;</span>
-    <span class="code-tag">&lt;/xsd:choice&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- if you specify a uri, it binds the type to a specific service by namespace. This could be the soap 1.1 namespace. --&gt;</span></span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"uri"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag"><span class="code-comment">&lt;!-- name of the type --&gt;</span></span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"name"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
+&lt;!-- top level element: mappings --&gt;
+  &lt;xsd:element name="mappings"&gt;
+    &lt;xsd:complexType&gt;
+      &lt;xsd:sequence&gt;
+        &lt;xsd:element name="mapping" type="mappingType" minOccurs="0" maxOccurs="unbounded" /&gt;
+      &lt;/xsd:sequence&gt;
+    &lt;/xsd:complexType&gt;
+  &lt;/xsd:element&gt;
+&lt;!-- each mapping is one of these. --&gt;
+  &lt;xsd:complexType name="mappingType"&gt;
+    &lt;xsd:choice minOccurs="0" maxOccurs="unbounded"&gt;
+    &lt;!-- a property from a bean, or --&gt;
+      &lt;xsd:element name="property" type="propertyType" /&gt;
+    &lt;!-- a method for a service, or --&gt;
+      &lt;xsd:element name="method" type="methodType" /&gt;
+    &lt;!-- an extra type for use with an untyped collection --&gt;
+      &lt;xsd:element name="component" type="componentTypeType" /&gt;
+    &lt;/xsd:choice&gt;
+    &lt;!-- if you specify a uri, it binds the type to a specific service by namespace. This could be the soap 1.1 namespace. --&gt;
+    &lt;xsd:attribute name="uri" type="xsd:string" /&gt;
+    &lt;!-- name of the type --&gt;
+    &lt;xsd:attribute name="name" type="xsd:string" /&gt;
+  &lt;/xsd:complexType&gt;
   
-  <span class="code-tag"><span class="code-comment">&lt;!-- a property. see the attributes. --&gt;</span></span>
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"propertyType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:attributeGroup ref=<span class="code-quote">"mappedType"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-
-  <span class="code-tag"><span class="code-comment">&lt;!-- a method. One name, plus parameters for disambiguation (and type binding), plus a return-type if any. --&gt;</span></span>
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"methodType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:choice minOccurs=<span class="code-quote">"0"</span> maxOccurs=<span class="code-quote">"unbounded"</span>&gt;</span>
-      <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"return-type"</span> type=<span class="code-quote">"return-typeType"</span> /&gt;</span>
-      <span class="code-tag">&lt;xsd:element name=<span class="code-quote">"parameter"</span> type=<span class="code-quote">"parameterType"</span> /&gt;</span>
-    <span class="code-tag">&lt;/xsd:choice&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"name"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"return-typeType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:attributeGroup ref=<span class="code-quote">"mappedType"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"parameterType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"index"</span> type=<span class="code-quote">"xsd:int"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"class"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attributeGroup ref=<span class="code-quote">"mappedType"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-
-  <span class="code-tag">&lt;xsd:complexType name=<span class="code-quote">"componentTypeType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"class"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attributeGroup ref=<span class="code-quote">"mappedType"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;</span>
-  <span class="code-tag">&lt;/xsd:complexType&gt;</span>
-
-  <span class="code-tag">&lt;xsd:attributeGroup name=<span class="code-quote">"mappedType"</span>&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"name"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"type"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"typeName"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"mappedName"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"nillable"</span> type=<span class="code-quote">"xsd:boolean"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"flag"</span> type=<span class="code-quote">"xsd:boolean"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"ignore"</span> type=<span class="code-quote">"xsd:boolean"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"componentType"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"keyType"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"valueType"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"minOccurs"</span> type=<span class="code-quote">"xsd:int"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"maxOccurs"</span> type=<span class="code-quote">"xsd:string"</span> /&gt;</span>
-    <span class="code-tag">&lt;xsd:attribute name=<span class="code-quote">"style"</span>&gt;</span>
-      <span class="code-tag">&lt;xsd:simpleType&gt;</span>
-        <span class="code-tag">&lt;xsd:restriction base=<span class="code-quote">"xsd:string"</span>&gt;</span>
-          <span class="code-tag">&lt;xsd:enumeration value=<span class="code-quote">"attribute"</span> /&gt;</span>
-          <span class="code-tag">&lt;xsd:enumeration value=<span class="code-quote">"element"</span> /&gt;</span>
-        <span class="code-tag">&lt;/xsd:restriction&gt;</span>
-      <span class="code-tag">&lt;/xsd:simpleType&gt;</span>
-    <span class="code-tag">&lt;/xsd:attribute&gt;</span>
-    <span class="code-tag">&lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;</span>
-  <span class="code-tag">&lt;/xsd:attributeGroup&gt;</span>
-<span class="code-tag">&lt;/xsd:schema&gt;</span>
-</pre>
+  &lt;!-- a property. see the attributes. --&gt;
+  &lt;xsd:complexType name="propertyType"&gt;
+    &lt;xsd:attributeGroup ref="mappedType" /&gt;
+    &lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;
+  &lt;/xsd:complexType&gt;
+
+  &lt;!-- a method. One name, plus parameters for disambiguation (and type binding), plus a return-type if any. --&gt;
+  &lt;xsd:complexType name="methodType"&gt;
+    &lt;xsd:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xsd:element name="return-type" type="return-typeType" /&gt;
+      &lt;xsd:element name="parameter" type="parameterType" /&gt;
+    &lt;/xsd:choice&gt;
+    &lt;xsd:attribute name="name" type="xsd:string" /&gt;
+  &lt;/xsd:complexType&gt;
+
+  &lt;xsd:complexType name="return-typeType"&gt;
+    &lt;xsd:attributeGroup ref="mappedType" /&gt;
+    &lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;
+  &lt;/xsd:complexType&gt;
+
+  &lt;xsd:complexType name="parameterType"&gt;
+    &lt;xsd:attribute name="index" type="xsd:int" /&gt;
+    &lt;xsd:attribute name="class" type="xsd:string" /&gt;
+    &lt;xsd:attributeGroup ref="mappedType" /&gt;
+    &lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;
+  &lt;/xsd:complexType&gt;
+
+  &lt;xsd:complexType name="componentTypeType"&gt;
+    &lt;xsd:attribute name="class" type="xsd:string" /&gt;
+    &lt;xsd:attributeGroup ref="mappedType" /&gt;
+    &lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;
+  &lt;/xsd:complexType&gt;
+
+  &lt;xsd:attributeGroup name="mappedType"&gt;
+    &lt;xsd:attribute name="name" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="type" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="typeName" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="mappedName" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="nillable" type="xsd:boolean" /&gt;
+    &lt;xsd:attribute name="flag" type="xsd:boolean" /&gt;
+    &lt;xsd:attribute name="ignore" type="xsd:boolean" /&gt;
+    &lt;xsd:attribute name="componentType" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="keyType" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="valueType" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="minOccurs" type="xsd:int" /&gt;
+    &lt;xsd:attribute name="maxOccurs" type="xsd:string" /&gt;
+    &lt;xsd:attribute name="style"&gt;
+      &lt;xsd:simpleType&gt;
+        &lt;xsd:restriction base="xsd:string"&gt;
+          &lt;xsd:enumeration value="attribute" /&gt;
+          &lt;xsd:enumeration value="element" /&gt;
+        &lt;/xsd:restriction&gt;
+      &lt;/xsd:simpleType&gt;
+    &lt;/xsd:attribute&gt;
+    &lt;xsd:anyAttribute namespace='##other' processContents='lax' /&gt;
+  &lt;/xsd:attributeGroup&gt;
+&lt;/xsd:schema&gt;
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->