blob: 0beb63028b95480acd97c7c6e5756c6d8bbecd4e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>JAXBWrapperTool (Apache Axis2)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JAXBWrapperTool (Apache Axis2)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JAXBWrapperTool.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html" target="_top">Frames</a></li>
<li><a href="JAXBWrapperTool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.axis2.jaxws.wrapper</div>
<h2 title="Interface JAXBWrapperTool" class="title">Interface JAXBWrapperTool</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperToolImpl.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperToolImpl</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">JAXBWrapperTool</span></pre>
<div class="block">The JAXBWrapper tool is used to create a JAXB Object from a series of child objects (wrap) or get
the child objects from a JAXB Object (unwrap)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#unWrap(java.lang.Object, java.util.List)">unWrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames)</code>
<div class="block">unwrap Returns the list of child objects of the jaxb object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#unWrap(java.lang.Object, java.util.List, java.util.Map)">unWrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&gt;&nbsp;pdMap)</code>
<div class="block">unwrap Returns the list of child objects of the jaxb object</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#unWrap(java.lang.Object, java.lang.String, org.apache.axis2.jaxws.utility.PropertyDescriptorPlus)">unWrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childName,
<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&nbsp;pd)</code>
<div class="block">Short cut if there is only one Object in the JAXB Object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#wrap(java.lang.Class, java.util.List, java.util.Map)">wrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;childObjects)</code>
<div class="block">wrap Creates a jaxb object that is initialized with the child objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#wrap(java.lang.Class, java.util.List, java.util.Map, java.util.Map, java.util.Map)">wrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;childObjects,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&gt;&nbsp;declaredClassMap,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&gt;&nbsp;pdMap)</code>
<div class="block">wrap Creates a jaxb object that is initialized with the child objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html#wrap(java.lang.Class, java.lang.String, java.lang.Object, java.lang.Class, org.apache.axis2.jaxws.utility.PropertyDescriptorPlus)">wrap</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;childObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;declaredClass,
<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&nbsp;pd)</code>
<div class="block">Short Cut for JAXB objects with one child
wrap Creates a jaxb object that is initialized with one child object.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="unWrap(java.lang.Object, java.util.List, java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unWrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;unWrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&gt;&nbsp;pdMap)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">unwrap Returns the list of child objects of the jaxb object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbObject</code> - that represents the type</dd><dd><code>childNames</code> - list of xml child names as String</dd><dd><code>pdMap</code> - PropertyDescriptorMap describing the jaxbObject</dd>
<dt><span class="strong">Returns:</span></dt><dd>list of Objects in the same order as the element names.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
<a name="unWrap(java.lang.Object, java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unWrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;unWrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">unwrap Returns the list of child objects of the jaxb object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbObject</code> - that represents the type</dd><dd><code>childNames</code> - list of xml child names as String</dd>
<dt><span class="strong">Returns:</span></dt><dd>list of Objects in the same order as the element names. Note: This method creates a
PropertyDescriptor map; thus it is less performant than the other unWrap method</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
<a name="unWrap(java.lang.Object, java.lang.String, org.apache.axis2.jaxws.utility.PropertyDescriptorPlus)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unWrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;unWrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;jaxbObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childName,
<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&nbsp;pd)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">Short cut if there is only one Object in the JAXB Object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbObject</code> - that represents the type</dd><dd><code>childName</code> - xml child names as String</dd><dd><code>pd</code> - PropertyDescriptor</dd>
<dt><span class="strong">Returns:</span></dt><dd>child Object value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
<a name="wrap(java.lang.Class, java.util.List, java.util.Map, java.util.Map, java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;wrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;childObjects,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&gt;&nbsp;declaredClassMap,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&gt;&nbsp;pdMap)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">wrap Creates a jaxb object that is initialized with the child objects.
<p/>
Note that the jaxbClass must be the class the represents the complexType. (It should never be
JAXBElement)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbClass</code> - </dd><dd><code>childNames</code> - list of xml child names as String</dd><dd><code>childObjects,</code> - component type objects</dd><dd><code>pdMap</code> - PropertyDescriptorMap describing the jaxbObject</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
<a name="wrap(java.lang.Class, java.util.List, java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;wrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;childNames,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;childObjects)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">wrap Creates a jaxb object that is initialized with the child objects.
<p/>
Note that the jaxbClass must be the class the represents the complexType. (It should never be
JAXBElement)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbClass</code> - </dd><dd><code>childNames</code> - list of xml child names as String</dd><dd><code>childObjects,</code> - component type objects</dd><dd><code>pdMap</code> - PropertyDescriptorMap describing the jaxbObject Note: This method
creates a PropertyDescriptor map; thus it is less performant than the
other unWrap method</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
<a name="wrap(java.lang.Class, java.lang.String, java.lang.Object, java.lang.Class, org.apache.axis2.jaxws.utility.PropertyDescriptorPlus)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>wrap</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;wrap(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;jaxbClass,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childName,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;childObject,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&nbsp;declaredClass,
<a href="../../../../../org/apache/axis2/jaxws/utility/PropertyDescriptorPlus.html" title="class in org.apache.axis2.jaxws.utility">PropertyDescriptorPlus</a>&nbsp;pd)
throws <a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></pre>
<div class="block">Short Cut for JAXB objects with one child
wrap Creates a jaxb object that is initialized with one child object.
<p/>
Note that the jaxbClass must be the class the represents the complexType. (It should never be
JAXBElement)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jaxbClass</code> - </dd><dd><code>childName</code> - xml child name as String or null if no child</dd><dd><code>childObject</code> - component type object</dd><dd><code>declaredClass</code> - declared class</dd><dd><code>pd</code> - PropertyDescriptor for this jaxbObject</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/axis2/jaxws/wrapper/impl/JAXBWrapperException.html" title="class in org.apache.axis2.jaxws.wrapper.impl">JAXBWrapperException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JAXBWrapperTool.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li>Next Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/axis2/jaxws/wrapper/JAXBWrapperTool.html" target="_top">Frames</a></li>
<li><a href="JAXBWrapperTool.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>