You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2014/07/21 14:46:57 UTC
svn commit: r916951 - in /websites/production/cxf/content:
cache/docs.pageCache docs/transformationfeature.html
Author: buildbot
Date: Mon Jul 21 12:46:57 2014
New Revision: 916951
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/transformationfeature.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/transformationfeature.html
==============================================================================
--- websites/production/cxf/content/docs/transformationfeature.html (original)
+++ websites/production/cxf/content/docs/transformationfeature.html Mon Jul 21 12:46:57 2014
@@ -118,14 +118,14 @@ Apache CXF -- TransformationFeature
<!-- Content -->
<div class="wiki-content">
<div id="ConfluenceContent"><h1 id="TransformationFeature-TransformationFeature">Transformation Feature</h1><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1396468200275 {padding: 0px;}
-div.rbtoc1396468200275 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1396468200275 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1405946789260 {padding: 0px;}
+div.rbtoc1405946789260 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1405946789260 li {margin-left: 0px;padding-left: 0px;}
-/*]]>*/</style></p><div class="toc-macro rbtoc1396468200275">
+/*]]>*/</style></p><div class="toc-macro rbtoc1405946789260">
<ul class="toc-indentation"><li><a shape="rect" href="#TransformationFeature-TransformationFeature">Transformation Feature</a></li><li><a shape="rect" href="#TransformationFeature-Springconfiguration">Spring configuration</a>
<ul class="toc-indentation"><li><a shape="rect" href="#TransformationFeature-Changinginputandoutputelementnamesandnamespaces">Changing input and output element names and namespaces</a></li><li><a shape="rect" href="#TransformationFeature-Appendingnewinputandoutputelements">Appending new input and output elements</a>
-<ul class="toc-indentation"><li><a shape="rect" href="#TransformationFeature-Append-Pre-Wrap">Append-Pre-Wrap</a></li><li><a shape="rect" href="#TransformationFeature-Append-Post-Wrap">Append-Post-Wrap</a></li><li><a shape="rect" href="#TransformationFeature-Append-Pre-Include">Append-Pre-Include</a></li><li><a shape="rect" href="#TransformationFeature-Append-Post-Include">Append-Post-Include</a></li></ul>
+<ul class="toc-indentation"><li><a shape="rect" href="#TransformationFeature-Append-Pre-Wrap">Append-Pre-Wrap</a></li><li><a shape="rect" href="#TransformationFeature-Append-Post-Wrap">Append-Post-Wrap</a></li><li><a shape="rect" href="#TransformationFeature-Append-Pre-Include">Append-Pre-Include</a></li><li><a shape="rect" href="#TransformationFeature-Append-Post-Include">Append-Post-Include</a></li><li><a shape="rect" href="#TransformationFeature-Comparingfourappendmodes">Comparing four append modes</a></li></ul>
</li><li><a shape="rect" href="#TransformationFeature-Replacingtextcontent">Replacing text content</a></li><li><a shape="rect" href="#TransformationFeature-Droppingoutputandinputelements">Dropping output and input elements</a></li><li><a shape="rect" href="#TransformationFeature-Convertingattributestoelements">Converting attributes to elements</a></li></ul>
</li><li><a shape="rect" href="#TransformationFeature-InputTransformationandRedirection">Input Transformation and Redirection</a></li><li><a shape="rect" href="#TransformationFeature-Configuringthefeaturefromthecode">Configuring the feature from the code</a>
<ul class="toc-indentation"><li><a shape="rect" href="#TransformationFeature-JAX-WS">JAX-WS</a></li><li><a shape="rect" href="#TransformationFeature-JAX-RS">JAX-RS</a></li></ul>
@@ -186,7 +186,7 @@ div.rbtoc1396468200275 li {margin-left:
<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature">
<property name="inAppendElements">
<map>
- <!-- append new simple "thebook" element with a text value '2' before "the book" -->
+ <!-- append new simple "thebook" element with a text value '2' before the "book" element -->
<entry key="book" value="thebook=2"/>
</map>
</property>
@@ -196,13 +196,12 @@ div.rbtoc1396468200275 li {margin-left:
<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature">
<property name="inAppendElements">
<map>
- <!-- append new simple "thebook" element with a text value '2' after "the book", using a '/' convention -->
+ <!-- append new simple "thebook" element with a text value '2' using the "/" convention as the last child element within the "book" element -->
<entry key="book/" value="thebook=2"/>
</map>
</property>
-</bean>
-]]></script>
-</div></div><h2 id="TransformationFeature-Replacingtextcontent">Replacing text content</h2><p>It's possible to replace the text content of a given simple element only on the input and output, for example:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</bean> ]]></script>
+</div></div><h3 id="TransformationFeature-Comparingfourappendmodes">Comparing four append modes</h3><pre> </pre><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh">input</th><th colspan="1" rowspan="1" class="confluenceTh"><p>append-pre-wrap</p><p> </p></th><th colspan="1" rowspan="1" class="confluenceTh">append-post-wrap</th><th colspan="1" rowspan="1" class="confluenceTh">append-pre-include</th><th colspan="1" rowspan="1" class="confluenceTh">append-post-include</th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> </td><td colspan="1" rowspan="1" class="confluenceTd">key="book" value="thebook"</td><td colspan="1" rowspan="1" class="confluenceTd">key="book/" value="thebook"</td><td colspan="1" rowspan="1" class="confluenceTd">key="book" value="thebook=2"</td><td colspan="1" rowspan="1" class="confluenceTd">key="book/" value="thebook=2"</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd
"><pre><sales><br clear="none"> <book><br clear="none"> <title>CXF ...</title><br clear="none"> <price>38.68</price><br clear="none"> </book><br clear="none"></sales></pre></td><td colspan="1" rowspan="1" class="confluenceTd"><pre><sales><br clear="none"> <thebook><br clear="none"> <book><br clear="none"> <title>CXF ...</title><br clear="none"> <price>38.68</price><br clear="none"> </book><br clear="none"> </thebook><br clear="none"></sales></pre></td><td colspan="1" rowspan="1" class="confluenceTd"><pre><sales><br clear="none"> <book><br clear="none"> <thebook><br clear="none"> <title>CXF ...</title><br clear="none"> <price>38.68</price><br clear="none"> </thebook><br clear="none"> </book><br clear="none"></sales></pre></td><td colspan="1" rowspan="1" class="confluenceTd"><pre><sales><br clear="no
ne"> <thebook>2</thebook><br clear="none"> <book><br clear="none"> <title>CXF ...</title><br clear="none"> <price>38.68</price><br clear="none"> </book><br clear="none"></sales></pre></td><td colspan="1" rowspan="1" class="confluenceTd"><pre><sales><br clear="none"> <book><br clear="none"> <title>CXF ...</title><br clear="none"> <price>38.68</price><br clear="none"> <thebook>2</thebook><br clear="none"> </book><br clear="none"></sales></pre></td></tr></tbody></table></div><h2 id="TransformationFeature-Replacingtextcontent">Replacing text content</h2><p>It's possible to replace the text content of a given simple element only on the input and output, for example:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[<bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature">
<property name="inAppendElements">
<map>