public final class JAXBUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
JAXBUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
unmarshal(javax.xml.bind.JAXBContext context,
OMElement element,
boolean cache)
Unmarshal the given element.
|
public static java.lang.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 unmarshalling