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> jakarta.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> jakarta.xml.bind.JAXBContext getContext(Class<?>... type) throws jakarta.xml.bind.JAXBException - Throws:
jakarta.xml.bind.JAXBException
-
marshal
-
marshal
-
marshal
-
unmarshal
-
unmarshalResult
-