Package no.digipost.api.client.util
Class JAXBContextUtils
- java.lang.Object
-
- no.digipost.api.client.util.JAXBContextUtils
-
public class JAXBContextUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static javax.xml.bind.JAXBContext
jaxbContext
-
Constructor Summary
Constructors Constructor Description JAXBContextUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
marshal(javax.xml.bind.JAXBContext context, Object objectToMarshall, OutputStream outputStream)
static <T> T
unmarshal(javax.xml.bind.JAXBContext context, InputStream inputStream, Class<T> type)
-
-
-
Method Detail
-
marshal
public static void marshal(javax.xml.bind.JAXBContext context, Object objectToMarshall, OutputStream outputStream)
-
unmarshal
public static <T> T unmarshal(javax.xml.bind.JAXBContext context, InputStream inputStream, Class<T> type)
-
-