Class Array

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

public class Array extends Object

Java class for CT_Array complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Array">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}variant"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i1"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i2"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i4"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}int"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui1"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui2"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui4"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}uint"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r4"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r8"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}decimal"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bstr"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}date"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bool"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}error"/>
         <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cy"/>
       </choice>
       <attribute name="lBounds" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="uBounds" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="baseType" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="variant"/>
             <enumeration value="i1"/>
             <enumeration value="i2"/>
             <enumeration value="i4"/>
             <enumeration value="int"/>
             <enumeration value="ui1"/>
             <enumeration value="ui2"/>
             <enumeration value="ui4"/>
             <enumeration value="uint"/>
             <enumeration value="r4"/>
             <enumeration value="r8"/>
             <enumeration value="decimal"/>
             <enumeration value="bstr"/>
             <enumeration value="date"/>
             <enumeration value="bool"/>
             <enumeration value="cy"/>
             <enumeration value="error"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • variantOrI1OrI2

      protected List<jakarta.xml.bind.JAXBElement<?>> variantOrI1OrI2
    • lBounds

      protected int lBounds
    • uBounds

      protected int uBounds
    • baseType

      protected String baseType
  • Constructor Details

    • Array

      public Array()
  • Method Details

    • getVariantOrI1OrI2

      public List<jakarta.xml.bind.JAXBElement<?>> getVariantOrI1OrI2()
      Gets the value of the variantOrI1OrI2 property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the variantOrI1OrI2 property.

      For example, to add a new item, do as follows:

          getVariantOrI1OrI2().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<Integer> JAXBElement<Float> JAXBElement<Byte> JAXBElement<Integer> JAXBElement<Long> JAXBElement<String> JAXBElement<Integer> JAXBElement<XMLGregorianCalendar> JAXBElement<Variant> JAXBElement<Short> JAXBElement<BigDecimal> JAXBElement<String> JAXBElement<Long> JAXBElement<Boolean> JAXBElement<Double> JAXBElement<String> JAXBElement<Short>

    • getLBounds

      public int getLBounds()
      Gets the value of the lBounds property.
    • setLBounds

      public void setLBounds(int value)
      Sets the value of the lBounds property.
    • getUBounds

      public int getUBounds()
      Gets the value of the uBounds property.
    • setUBounds

      public void setUBounds(int value)
      Sets the value of the uBounds property.
    • getBaseType

      public String getBaseType()
      Gets the value of the baseType property.
      Returns:
      possible object is String
    • setBaseType

      public void setBaseType(String value)
      Sets the value of the baseType property.
      Parameters:
      value - allowed object is String