public final class ContextJAXBUtils extends Object
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
getJAXBContext()
Retrieve a JAXBContext for marshalling and unmarshalling JAXB generated
types.
|
static void |
setJAXBContext(JAXBContext ctx)
Set the encapsulated JAXBContext (used by unit tests).
|
public static JAXBContext getJAXBContext() throws JAXBException
JAXBException
public static void setJAXBContext(JAXBContext ctx)
ctx
- JAXBContextApache CXF