Class JAXBContextFactory

java.lang.Object
org.cip4.lib.xjdf.xml.internal.JAXBContextFactory

public class JAXBContextFactory extends Object
Static Factory Class which is managing a JAXB2 Marshaller instance.
  • Method Details

    • init

      public static void init() throws javax.xml.bind.JAXBException
      Initialize the marshaller instance.
      Throws:
      javax.xml.bind.JAXBException
    • getInstance

      public static javax.xml.bind.JAXBContext getInstance() throws javax.xml.bind.JAXBException
      Create and return a new Marshaller Instance.
      Returns:
      New Marshaller instance.
      Throws:
      javax.xml.bind.JAXBException