public class Part
extends java.lang.Object
Java class for CT_Part complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Part">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="xmlData" type="{http://schemas.microsoft.com/office/2006/xmlPackage}CT_XmlData"/>
<element name="binaryData" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
</choice>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="contentType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<pattern value="text/xml"/>
<pattern value="application/xml"/>
<pattern value="application/.+\+xml"/>
<pattern value=".+"/>
</restriction>
</simpleType>
</attribute>
<attribute name="compression" default="deflateSuperFast">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="store"/>
<enumeration value="deflateSuperFast"/>
<enumeration value="deflateFast"/>
<enumeration value="deflateNormal"/>
<enumeration value="deflateMaximum"/>
</restriction>
</simpleType>
</attribute>
<attribute name="padding" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
binaryData |
protected java.lang.String |
compression |
protected java.lang.String |
contentType |
protected java.lang.String |
name |
protected java.lang.Long |
padding |
protected XmlData |
xmlData |
| Constructor and Description |
|---|
Part() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinaryData()
Gets the value of the binaryData property.
|
java.lang.String |
getCompression()
Gets the value of the compression property.
|
java.lang.String |
getContentType()
Gets the value of the contentType property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
long |
getPadding()
Gets the value of the padding property.
|
XmlData |
getXmlData()
Gets the value of the xmlData property.
|
void |
setBinaryData(byte[] value)
Sets the value of the binaryData property.
|
void |
setCompression(java.lang.String value)
Sets the value of the compression property.
|
void |
setContentType(java.lang.String value)
Sets the value of the contentType property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setPadding(java.lang.Long value)
Sets the value of the padding property.
|
void |
setXmlData(XmlData value)
Sets the value of the xmlData property.
|
protected XmlData xmlData
protected byte[] binaryData
protected java.lang.String name
protected java.lang.String contentType
protected java.lang.String compression
protected java.lang.Long padding
public XmlData getXmlData()
XmlDatapublic void setXmlData(XmlData value)
value - allowed object is
XmlDatapublic byte[] getBinaryData()
public void setBinaryData(byte[] value)
value - allowed object is
byte[]public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getContentType()
Stringpublic void setContentType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCompression()
Stringpublic void setCompression(java.lang.String value)
value - allowed object is
Stringpublic long getPadding()
Longpublic void setPadding(java.lang.Long value)
value - allowed object is
LongCopyright © 2007–2025. All rights reserved.