Class CTTypes

java.lang.Object
org.docx4j.openpackaging.contenttype.CTTypes

public class CTTypes
extends java.lang.Object

Java class for CT_Types complex type.

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

 <complexType name="CT_Types">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{http://schemas.openxmlformats.org/package/2006/content-types}Default"/>
         <element ref="{http://schemas.openxmlformats.org/package/2006/content-types}Override"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> defaultOrOverride  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTTypes()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.Object> getDefaultOrOverride()
    Gets the value of the defaultOrOverride property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getDefaultOrOverride

      public java.util.List<java.lang.Object> getDefaultOrOverride()
      Gets the value of the defaultOrOverride 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 defaultOrOverride property.

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

          getDefaultOrOverride().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTDefault CTOverride