Class JAXBContextUtils


  • public class JAXBContextUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static javax.xml.bind.JAXBContext jaxbContext  
    • Method Summary

      Modifier and Type Method Description
      static void marshal​(javax.xml.bind.JAXBContext context, java.lang.Object objectToMarshall, java.io.OutputStream outputStream)  
      static <T> T unmarshal​(javax.xml.bind.JAXBContext context, java.io.InputStream inputStream, java.lang.Class<T> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jaxbContext

        public static final javax.xml.bind.JAXBContext jaxbContext
    • Constructor Detail

      • JAXBContextUtils

        public JAXBContextUtils()
    • Method Detail

      • marshal

        public static void marshal​(javax.xml.bind.JAXBContext context,
                                   java.lang.Object objectToMarshall,
                                   java.io.OutputStream outputStream)
      • unmarshal

        public static <T> T unmarshal​(javax.xml.bind.JAXBContext context,
                                      java.io.InputStream inputStream,
                                      java.lang.Class<T> type)