Package org.cip4.lib.xjdf.xml.internal
Class JAXBContextFactory
java.lang.Object
org.cip4.lib.xjdf.xml.internal.JAXBContextFactory
Static Factory Class which is managing a JAXB2 Marshaller instance.
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.xml.bind.JAXBContextCreate and return a new Marshaller Instance.static voidinit()Initialize the marshaller instance.
-
Method Details
-
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
-