Class CTOverride

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

public class CTOverride
extends java.lang.Object

Java class for CT_Override complex type.

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

 <complexType name="CT_Override">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="ContentType" use="required" type="{http://schemas.openxmlformats.org/package/2006/content-types}ST_ContentType" />
       <attribute name="PartName" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String contentType  
    protected java.lang.String partName  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTOverride()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getContentType()
    Gets the value of the contentType property.
    java.lang.String getPartName()
    Gets the value of the partName property.
    void setContentType​(java.lang.String value)
    Sets the value of the contentType property.
    void setPartName​(java.lang.String value)
    Sets the value of the partName property.

    Methods inherited from class java.lang.Object

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

    • contentType

      protected java.lang.String contentType
    • partName

      protected java.lang.String partName
  • Constructor Details

  • Method Details

    • getContentType

      public java.lang.String getContentType()
      Gets the value of the contentType property.
      Returns:
      possible object is String
    • setContentType

      public void setContentType​(java.lang.String value)
      Sets the value of the contentType property.
      Parameters:
      value - allowed object is String
    • getPartName

      public java.lang.String getPartName()
      Gets the value of the partName property.
      Returns:
      possible object is String
    • setPartName

      public void setPartName​(java.lang.String value)
      Sets the value of the partName property.
      Parameters:
      value - allowed object is String