public class JAXBUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JAXBUtils.DateAdapter |
static class |
JAXBUtils.DateTimeAdapter |
static class |
JAXBUtils.LocalDateAdapter |
static class |
JAXBUtils.PeriodAdapter |
static class |
JAXBUtils.PeriodWithTimeAdapter |
static class |
JAXBUtils.SummaAdapter |
Constructor and Description |
---|
JAXBUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> javax.xml.bind.JAXBContext |
getContext(java.lang.Class<?>... type) |
static void |
marshal(java.lang.Object jaxbObject,
org.w3c.dom.Node node) |
static void |
marshal(java.lang.Object jaxbObject,
javax.xml.transform.Result result) |
static <T> void |
marshal(Result<T> jaxbObject,
java.lang.Class<T> clazz,
org.w3c.dom.Node node) |
static <T> T |
unmarshal(org.w3c.dom.Node node,
java.lang.String expression,
java.lang.Class<T> clazz) |
static <T> Result<T> |
unmarshalResult(org.w3c.dom.Document doc,
java.lang.Class<T> clazz) |
public static <T> javax.xml.bind.JAXBContext getContext(java.lang.Class<?>... type) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public static void marshal(java.lang.Object jaxbObject, javax.xml.transform.Result result)
public static void marshal(java.lang.Object jaxbObject, org.w3c.dom.Node node)
public static <T> void marshal(Result<T> jaxbObject, java.lang.Class<T> clazz, org.w3c.dom.Node node)
public static <T> T unmarshal(org.w3c.dom.Node node, java.lang.String expression, java.lang.Class<T> clazz)
public static <T> Result<T> unmarshalResult(org.w3c.dom.Document doc, java.lang.Class<T> clazz)