Package ru.bitel.common.xml
Class JAXBUtils
java.lang.Object
ru.bitel.common.xml.JAXBUtils
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> javax.xml.bind.JAXBContext
getContext
(Class<?>... type) static void
static void
static <T> void
static <T> T
static <T> Result<T>
unmarshalResult
(Document doc, Class<T> clazz)
-
Constructor Details
-
JAXBUtils
public JAXBUtils()
-
-
Method Details
-
getContext
public static <T> javax.xml.bind.JAXBContext getContext(Class<?>... type) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
-
marshal
-
marshal
-
unmarshal
-
unmarshalResult
-