Package org.cip4.lib.xjdf.xml.internal
Class JAXBContextFactory
- java.lang.Object
-
- org.cip4.lib.xjdf.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 jakarta.xml.bind.JAXBContextgetInstance()Create and return a new Marshaller Instance.static voidinit()Initialize the marshaller instance.
-
-
-
Method Detail
-
init
public static void init() throws XJdfInitExceptionInitialize the marshaller instance.- Throws:
XJdfInitException
-
getInstance
public static jakarta.xml.bind.JAXBContext getInstance() throws XJdfInitExceptionCreate and return a new Marshaller Instance.- Returns:
- New Marshaller instance.
- Throws:
XJdfInitException
-
-