org.docx4j.docProps.variantTypes
Class Array

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

public class Array
extends java.lang.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>
 


Constructor Summary
Array()
           
 
Method Summary
 java.lang.String getBaseType()
          Gets the value of the baseType property.
 int getLBounds()
          Gets the value of the lBounds property.
 int getUBounds()
          Gets the value of the uBounds property.
 java.util.List<javax.xml.bind.JAXBElement<?>> getVariantOrI1OrI2()
          Gets the value of the variantOrI1OrI2 property.
 void setBaseType(java.lang.String value)
          Sets the value of the baseType property.
 void setLBounds(int value)
          Sets the value of the lBounds property.
 void setUBounds(int value)
          Sets the value of the uBounds property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Array

public Array()
Method Detail

getBaseType

public java.lang.String getBaseType()
Gets the value of the baseType property.

Returns:
possible object is String

getLBounds

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


getUBounds

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


getVariantOrI1OrI2

public java.util.List<javax.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>


setBaseType

public void setBaseType(java.lang.String value)
Sets the value of the baseType property.

Parameters:
value - allowed object is String

setLBounds

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


setUBounds

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