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