Package ru.bitel.common.xml
Class JAXBUtils
java.lang.Object
ru.bitel.common.xml.JAXBUtils
public class JAXBUtils
extends java.lang.Object
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJAXBUtils.DateAdapterstatic classJAXBUtils.DateTimeAdapterstatic classJAXBUtils.LocalDateAdapterstatic classJAXBUtils.PeriodAdapterstatic classJAXBUtils.PeriodWithTimeAdapterstatic classJAXBUtils.SummaAdapter - 
Constructor Summary
Constructors Constructor Description JAXBUtils() - 
Method Summary
Modifier and Type Method Description static <T> javax.xml.bind.JAXBContextgetContext(java.lang.Class<?>... type)static voidmarshal(java.lang.Object jaxbObject, javax.xml.transform.Result result)static voidmarshal(java.lang.Object jaxbObject, org.w3c.dom.Node node)static <T> voidmarshal(Result<T> jaxbObject, java.lang.Class<T> clazz, org.w3c.dom.Node node)static <T> Tunmarshal(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)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Constructor Details
- 
JAXBUtils
public JAXBUtils() 
 - 
 - 
Method Details
- 
getContext
public static <T> javax.xml.bind.JAXBContext getContext(java.lang.Class<?>... type) throws javax.xml.bind.JAXBException- Throws:
 javax.xml.bind.JAXBException
 - 
marshal
public static void marshal(java.lang.Object jaxbObject, javax.xml.transform.Result result) - 
marshal
public static void marshal(java.lang.Object jaxbObject, org.w3c.dom.Node node) - 
marshal
public static <T> void marshal(Result<T> jaxbObject, java.lang.Class<T> clazz, org.w3c.dom.Node node) - 
unmarshal
public static <T> T unmarshal(org.w3c.dom.Node node, java.lang.String expression, java.lang.Class<T> clazz) - 
unmarshalResult
 
 -