Class ObjectFactory

java.lang.Object
org.docx4j.docProps.variantTypes.ObjectFactory

public class ObjectFactory
extends java.lang.Object
This object contains factory methods for each Java content interface and Java element interface generated in the org.docx4j.docProps.variantTypes package.

An ObjectFactory allows you to programatically 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.

  • Constructor Summary

    Constructors 
    Constructor Description
    ObjectFactory()
    Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.docx4j.docProps.variantTypes
  • Method Summary

    Modifier and Type Method Description
    Array createArray()
    Create an instance of Array
    javax.xml.bind.JAXBElement<Array> createArray​(Array value)
    Create an instance of JAXBElement<Array>}
    javax.xml.bind.JAXBElement<byte[]> createBlob​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<java.lang.Boolean> createBool​(java.lang.Boolean value)
    Create an instance of JAXBElement<Boolean>}
    javax.xml.bind.JAXBElement<java.lang.String> createBstr​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    Cf createCf()
    Create an instance of Cf
    javax.xml.bind.JAXBElement<Cf> createCf​(Cf value)
    Create an instance of JAXBElement<Cf>}
    javax.xml.bind.JAXBElement<java.lang.String> createClsid​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    javax.xml.bind.JAXBElement<java.lang.String> createCy​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> createDate​(javax.xml.datatype.XMLGregorianCalendar value)
    Create an instance of JAXBElement<XMLGregorianCalendar>}
    javax.xml.bind.JAXBElement<java.math.BigDecimal> createDecimal​(java.math.BigDecimal value)
    Create an instance of JAXBElement<BigDecimal>}
    Empty createEmpty()
    Create an instance of Empty
    javax.xml.bind.JAXBElement<Empty> createEmpty​(Empty value)
    Create an instance of JAXBElement<Empty>}
    javax.xml.bind.JAXBElement<java.lang.String> createError​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> createFiletime​(javax.xml.datatype.XMLGregorianCalendar value)
    Create an instance of JAXBElement<XMLGregorianCalendar>}
    javax.xml.bind.JAXBElement<java.lang.Byte> createI1​(java.lang.Byte value)
    Create an instance of JAXBElement<Byte>}
    javax.xml.bind.JAXBElement<java.lang.Short> createI2​(java.lang.Short value)
    Create an instance of JAXBElement<Short>}
    javax.xml.bind.JAXBElement<java.lang.Integer> createI4​(java.lang.Integer value)
    Create an instance of JAXBElement<Integer>}
    javax.xml.bind.JAXBElement<java.lang.Long> createI8​(java.lang.Long value)
    Create an instance of JAXBElement<Long>}
    javax.xml.bind.JAXBElement<java.lang.Integer> createInt​(java.lang.Integer value)
    Create an instance of JAXBElement<Integer>}
    javax.xml.bind.JAXBElement<java.lang.String> createLpstr​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    javax.xml.bind.JAXBElement<java.lang.String> createLpwstr​(java.lang.String value)
    Create an instance of JAXBElement<String>}
    Null createNull()
    Create an instance of Null
    javax.xml.bind.JAXBElement<Null> createNull​(Null value)
    Create an instance of JAXBElement<Null>}
    javax.xml.bind.JAXBElement<byte[]> createOblob​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<byte[]> createOstorage​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<byte[]> createOstream​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<java.lang.Float> createR4​(java.lang.Float value)
    Create an instance of JAXBElement<Float>}
    javax.xml.bind.JAXBElement<java.lang.Double> createR8​(java.lang.Double value)
    Create an instance of JAXBElement<Double>}
    javax.xml.bind.JAXBElement<byte[]> createStorage​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<byte[]> createStream​(byte[] value)
    Create an instance of JAXBElement<byte>}
    javax.xml.bind.JAXBElement<java.lang.Short> createUi1​(java.lang.Short value)
    Create an instance of JAXBElement<Short>}
    javax.xml.bind.JAXBElement<java.lang.Integer> createUi2​(java.lang.Integer value)
    Create an instance of JAXBElement<Integer>}
    javax.xml.bind.JAXBElement<java.lang.Long> createUi4​(java.lang.Long value)
    Create an instance of JAXBElement<Long>}
    javax.xml.bind.JAXBElement<java.math.BigInteger> createUi8​(java.math.BigInteger value)
    Create an instance of JAXBElement<BigInteger>}
    javax.xml.bind.JAXBElement<java.lang.Long> createUint​(java.lang.Long value)
    Create an instance of JAXBElement<Long>}
    Variant createVariant()
    Create an instance of Variant
    javax.xml.bind.JAXBElement<Variant> createVariant​(Variant value)
    Create an instance of JAXBElement<Variant>}
    Vector createVector()
    Create an instance of Vector
    javax.xml.bind.JAXBElement<Vector> createVector​(Vector value)
    Create an instance of JAXBElement<Vector>}
    Vstream createVstream()
    Create an instance of Vstream
    javax.xml.bind.JAXBElement<Vstream> createVstream​(Vstream value)
    Create an instance of JAXBElement<Vstream>}

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectFactory

      public ObjectFactory()
      Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.docx4j.docProps.variantTypes
  • Method Details

    • createVstream

      public Vstream createVstream()
      Create an instance of Vstream
    • createVariant

      public Variant createVariant()
      Create an instance of Variant
    • createArray

      public Array createArray()
      Create an instance of Array
    • createVector

      public Vector createVector()
      Create an instance of Vector
    • createEmpty

      public Empty createEmpty()
      Create an instance of Empty
    • createCf

      public Cf createCf()
      Create an instance of Cf
    • createNull

      public Null createNull()
      Create an instance of Null
    • createOstream

      public javax.xml.bind.JAXBElement<byte[]> createOstream​(byte[] value)
      Create an instance of JAXBElement<byte>}
    • createDate

      public javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> createDate​(javax.xml.datatype.XMLGregorianCalendar value)
      Create an instance of JAXBElement<XMLGregorianCalendar>}
    • createVariant

      public javax.xml.bind.JAXBElement<Variant> createVariant​(Variant value)
      Create an instance of JAXBElement<Variant>}
    • createUi2

      public javax.xml.bind.JAXBElement<java.lang.Integer> createUi2​(java.lang.Integer value)
      Create an instance of JAXBElement<Integer>}
    • createUi1

      public javax.xml.bind.JAXBElement<java.lang.Short> createUi1​(java.lang.Short value)
      Create an instance of JAXBElement<Short>}
    • createLpstr

      public javax.xml.bind.JAXBElement<java.lang.String> createLpstr​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createOblob

      public javax.xml.bind.JAXBElement<byte[]> createOblob​(byte[] value)
      Create an instance of JAXBElement<byte>}
    • createStream

      public javax.xml.bind.JAXBElement<byte[]> createStream​(byte[] value)
      Create an instance of JAXBElement<byte>}
    • createNull

      public javax.xml.bind.JAXBElement<Null> createNull​(Null value)
      Create an instance of JAXBElement<Null>}
    • createEmpty

      public javax.xml.bind.JAXBElement<Empty> createEmpty​(Empty value)
      Create an instance of JAXBElement<Empty>}
    • createVector

      public javax.xml.bind.JAXBElement<Vector> createVector​(Vector value)
      Create an instance of JAXBElement<Vector>}
    • createOstorage

      public javax.xml.bind.JAXBElement<byte[]> createOstorage​(byte[] value)
      Create an instance of JAXBElement<byte>}
    • createDecimal

      public javax.xml.bind.JAXBElement<java.math.BigDecimal> createDecimal​(java.math.BigDecimal value)
      Create an instance of JAXBElement<BigDecimal>}
    • createCy

      public javax.xml.bind.JAXBElement<java.lang.String> createCy​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createInt

      public javax.xml.bind.JAXBElement<java.lang.Integer> createInt​(java.lang.Integer value)
      Create an instance of JAXBElement<Integer>}
    • createError

      public javax.xml.bind.JAXBElement<java.lang.String> createError​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createLpwstr

      public javax.xml.bind.JAXBElement<java.lang.String> createLpwstr​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createR4

      public javax.xml.bind.JAXBElement<java.lang.Float> createR4​(java.lang.Float value)
      Create an instance of JAXBElement<Float>}
    • createUint

      public javax.xml.bind.JAXBElement<java.lang.Long> createUint​(java.lang.Long value)
      Create an instance of JAXBElement<Long>}
    • createI2

      public javax.xml.bind.JAXBElement<java.lang.Short> createI2​(java.lang.Short value)
      Create an instance of JAXBElement<Short>}
    • createClsid

      public javax.xml.bind.JAXBElement<java.lang.String> createClsid​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createBstr

      public javax.xml.bind.JAXBElement<java.lang.String> createBstr​(java.lang.String value)
      Create an instance of JAXBElement<String>}
    • createArray

      public javax.xml.bind.JAXBElement<Array> createArray​(Array value)
      Create an instance of JAXBElement<Array>}
    • createI1

      public javax.xml.bind.JAXBElement<java.lang.Byte> createI1​(java.lang.Byte value)
      Create an instance of JAXBElement<Byte>}
    • createStorage

      public javax.xml.bind.JAXBElement<byte[]> createStorage​(byte[] value)
      Create an instance of JAXBElement<byte>}
    • createI4

      public javax.xml.bind.JAXBElement<java.lang.Integer> createI4​(java.lang.Integer value)
      Create an instance of JAXBElement<Integer>}
    • createCf

      public javax.xml.bind.JAXBElement<Cf> createCf​(Cf value)
      Create an instance of JAXBElement<Cf>}
    • createVstream

      public javax.xml.bind.JAXBElement<Vstream> createVstream​(Vstream value)
      Create an instance of JAXBElement<Vstream>}
    • createR8

      public javax.xml.bind.JAXBElement<java.lang.Double> createR8​(java.lang.Double value)
      Create an instance of JAXBElement<Double>}
    • createBool

      public javax.xml.bind.JAXBElement<java.lang.Boolean> createBool​(java.lang.Boolean value)
      Create an instance of JAXBElement<Boolean>}
    • createI8

      public javax.xml.bind.JAXBElement<java.lang.Long> createI8​(java.lang.Long value)
      Create an instance of JAXBElement<Long>}
    • createUi4

      public javax.xml.bind.JAXBElement<java.lang.Long> createUi4​(java.lang.Long value)
      Create an instance of JAXBElement<Long>}
    • createFiletime

      public javax.xml.bind.JAXBElement<javax.xml.datatype.XMLGregorianCalendar> createFiletime​(javax.xml.datatype.XMLGregorianCalendar value)
      Create an instance of JAXBElement<XMLGregorianCalendar>}
    • createUi8

      public javax.xml.bind.JAXBElement<java.math.BigInteger> createUi8​(java.math.BigInteger value)
      Create an instance of JAXBElement<BigInteger>}
    • createBlob

      public javax.xml.bind.JAXBElement<byte[]> createBlob​(byte[] value)
      Create an instance of JAXBElement<byte>}