Class CTDefault
java.lang.Object
org.docx4j.openpackaging.contenttype.CTDefault
Java class for CT_Default complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Default">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="Extension" use="required" type="{http://schemas.openxmlformats.org/package/2006/content-types}ST_Extension" />
<attribute name="ContentType" use="required" type="{http://schemas.openxmlformats.org/package/2006/content-types}ST_ContentType" />
</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 extension property.voidsetContentType(String value) Sets the value of the contentType property.voidsetExtension(String value) Sets the value of the extension property.
-
Field Details
-
extension
-
contentType
-
-
Constructor Details
-
CTDefault
public CTDefault()
-
-
Method Details
-
getExtension
Gets the value of the extension property.- Returns:
- possible object is
String
-
setExtension
Sets the value of the extension property.- Parameters:
value- allowed object isString
-
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
-