Class CTOverride
java.lang.Object
org.docx4j.openpackaging.contenttype.CTOverride
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the contentType property.Gets the value of the partName property.voidsetContentType(String value) Sets the value of the contentType property.voidsetPartName(String value) Sets the value of the partName property.
-
Field Details
-
contentType
-
partName
-
-
Constructor Details
-
CTOverride
public CTOverride()
-
-
Method Details
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
String
-
setContentType
Sets the value of the contentType property.- Parameters:
value- allowed object isString
-
getPartName
Gets the value of the partName property.- Returns:
- possible object is
String
-
setPartName
Sets the value of the partName property.- Parameters:
value- allowed object isString
-