public final class JAXBUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
unmarshal(javax.xml.bind.JAXBContext context,
OMElement element,
boolean cache)
Unmarshal the given element.
|
public static Object unmarshal(javax.xml.bind.JAXBContext context, OMElement element, boolean cache) throws javax.xml.bind.JAXBException
context
- the JAXB contextelement
- the element to unmarshalcache
- true
if the element must be preserved; false
if it may
be consumed during unmarshallingjavax.xml.bind.JAXBException
- if an error occurs while unmarshallingCopyright © The Apache Software Foundation. All Rights Reserved.