Class JAXBContextFactory
- java.lang.Object
-
- org.cip4.lib.xprinttalk.xml.internal.JAXBContextFactory
-
public class JAXBContextFactory extends java.lang.ObjectStatic Factory Class which is managing a JAXB2 Marshaller instance.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.xml.bind.JAXBContextgetInstance()Create and return a new Marshaller Instance.static voidinit()Initialize the marshaller instance.
-
-
-
Method Detail
-
init
public static void init() throws javax.xml.bind.JAXBExceptionInitialize the marshaller instance.- Throws:
javax.xml.bind.JAXBException
-
getInstance
public static javax.xml.bind.JAXBContext getInstance() throws javax.xml.bind.JAXBExceptionCreate and return a new Marshaller Instance.- Returns:
- New Marshaller instance.
- Throws:
javax.xml.bind.JAXBException
-
-