Class ObjectFactory

java.lang.Object
com.helger.peppol.sbdh.spec12.ObjectFactory

@CodingStyleguideUnaware public class ObjectFactory extends Object
This object contains factory methods for each Java content interface and Java element interface generated in the com.helger.peppol.sbdh.spec12 package.

An ObjectFactory allows you to programmatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.

This class was annotated by ph-jaxb-plugin -Xph-annotate

  • Field Details

    • _BinaryContent_QNAME

      public static final QName _BinaryContent_QNAME
    • _TextContent_QNAME

      public static final QName _TextContent_QNAME
  • Constructor Details

    • ObjectFactory

      public ObjectFactory()
      Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.helger.peppol.sbdh.spec12
  • Method Details

    • createBinaryContentType

      public @NonNull BinaryContentType createBinaryContentType()
      Create an instance of BinaryContentType
      Returns:
      the new instance of BinaryContentType The created BinaryContentType object and never null.
    • createTextContentType

      public @NonNull TextContentType createTextContentType()
      Create an instance of TextContentType
      Returns:
      the new instance of TextContentType The created TextContentType object and never null.
    • createBinaryContent

      public @NonNull jakarta.xml.bind.JAXBElement<BinaryContentType> createBinaryContent(@Nullable BinaryContentType value)
      Create an instance of JAXBElement<BinaryContentType>
      Parameters:
      value - Java instance representing xml element's value.
      Returns:
      the new instance of JAXBElement<BinaryContentType> The created JAXBElement and never null.
    • createTextContent

      public @NonNull jakarta.xml.bind.JAXBElement<TextContentType> createTextContent(@Nullable TextContentType value)
      Create an instance of JAXBElement<TextContentType>
      Parameters:
      value - Java instance representing xml element's value.
      Returns:
      the new instance of JAXBElement<TextContentType> The created JAXBElement and never null.