Class Properties

java.lang.Object
org.docx4j.docProps.custom.Properties

public class Properties extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="property" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vector"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}array"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}blob"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}oblob"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}empty"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}null"/>
                   <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}i8"/>
                   <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}ui8"/>
                   <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}lpstr"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}lpwstr"/>
                   <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}filetime"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bool"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cy"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}error"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}stream"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostream"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}storage"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostorage"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vstream"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}clsid"/>
                   <element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cf"/>
                 </choice>
                 <attribute name="fmtid" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ST_Clsid" />
                 <attribute name="pid" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="linkTarget" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Properties

      public Properties()
  • Method Details

    • getProperty

      public List<Properties.Property> getProperty()
      Gets the value of the property 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 property property.

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

          getProperty().add(newItem);
       

      Objects of the following type(s) are allowed in the list Properties.Property

    • getNextId

      public int getNextId()