Package org.docx4j.docProps.custom
Class Properties.Property
java.lang.Object
org.docx4j.docProps.custom.Properties.Property
- Enclosing class:
- Properties
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vector"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}array"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}blob"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}oblob"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}empty"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}null"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i1"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i2"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}i8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}int"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui1"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui2"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ui8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}uint"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r4"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}r8"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}decimal"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}lpstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}lpwstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bstr"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}date"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}filetime"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}bool"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cy"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}error"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}stream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}storage"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ostorage"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}vstream"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}clsid"/>
<element ref="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}cf"/>
</choice>
<attribute name="fmtid" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes}ST_Clsid" />
<attribute name="pid" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="linkTarget" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Integerprotected Nullprotected Arrayprotected byte[]protected Booleanprotected Stringprotected Cfprotected Stringprotected Stringprotected XMLGregorianCalendarprotected BigDecimalprotected Emptyprotected Stringprotected XMLGregorianCalendarprotected Stringprotected Byteprotected Shortprotected Integerprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected byte[]protected byte[]protected byte[]protected intprotected Floatprotected Doubleprotected byte[]protected byte[]protected Shortprotected Integerprotected Longprotected BigIntegerprotected Longprotected Vectorprotected Vstream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArray()Arraybyte[]getBlob()Binary BlobgetBstr()Basic StringgetCf()Clipboard DatagetClsid()Class IDgetCy()CurrencygetDate()Date and TimeDecimalgetEmpty()EmptygetError()Error Status CodeFile TimegetFmtid()Gets the value of the fmtid property.getI1()1-Byte Signed IntegergetI2()2-Byte Signed IntegergetI4()4-Byte Signed IntegergetI8()8-Byte Signed IntegergetInt()IntegerGets the value of the linkTarget property.getLpstr()LPSTRLPWSTRgetName()Gets the value of the name property.getNull()Nullbyte[]getOblob()Binary Blob Objectbyte[]Binary Storage Objectbyte[]Binary Stream ObjectintgetPid()Gets the value of the pid property.getR4()4-Byte Real NumbergetR8()8-Byte Real Numberbyte[]Binary Storagebyte[]Binary StreamgetUi1()1-Byte Unsigned IntegergetUi2()2-Byte Unsigned IntegergetUi4()4-Byte Unsigned IntegergetUi8()8-Byte Unsigned IntegergetUint()Unsigned IntegerVectorBinary Versioned StreamisBool()BooleanvoidSets the value of the array property.voidsetBlob(byte[] value) Sets the value of the blob property.voidSets the value of the bool property.voidSets the value of the bstr property.voidSets the value of the cf property.voidSets the value of the clsid property.voidSets the value of the cy property.voidsetDate(XMLGregorianCalendar value) Sets the value of the date property.voidsetDecimal(BigDecimal value) Sets the value of the decimal property.voidSets the value of the empty property.voidSets the value of the error property.voidsetFiletime(XMLGregorianCalendar value) Sets the value of the filetime property.voidSets the value of the fmtid property.voidSets the value of the i1 property.voidSets the value of the i2 property.voidSets the value of the i4 property.voidSets the value of the i8 property.voidSets the value of the int property.voidsetLinkTarget(String value) Sets the value of the linkTarget property.voidSets the value of the lpstr property.voidSets the value of the lpwstr property.voidSets the value of the name property.voidSets the value of the null property.voidsetOblob(byte[] value) Sets the value of the oblob property.voidsetOstorage(byte[] value) Sets the value of the ostorage property.voidsetOstream(byte[] value) Sets the value of the ostream property.voidsetPid(int value) Sets the value of the pid property.voidSets the value of the r4 property.voidSets the value of the r8 property.voidsetStorage(byte[] value) Sets the value of the storage property.voidsetStream(byte[] value) Sets the value of the stream property.voidSets the value of the ui1 property.voidSets the value of the ui2 property.voidSets the value of the ui4 property.voidsetUi8(BigInteger value) Sets the value of the ui8 property.voidSets the value of the uint property.voidSets the value of the vector property.voidsetVstream(Vstream value) Sets the value of the vstream property.
-
Field Details
-
vector
-
array
-
blob
protected byte[] blob -
oblob
protected byte[] oblob -
empty
-
_null
-
i1
-
i2
-
i4
-
i8
-
_int
-
ui1
-
ui2
-
ui4
-
ui8
-
uint
-
r4
-
r8
-
decimal
-
lpstr
-
lpwstr
-
bstr
-
date
-
filetime
-
bool
-
cy
-
error
-
stream
protected byte[] stream -
ostream
protected byte[] ostream -
storage
protected byte[] storage -
ostorage
protected byte[] ostorage -
vstream
-
clsid
-
cf
-
fmtid
-
pid
protected int pid -
name
-
linkTarget
-
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
getVector
Vector- Returns:
- possible object is
Vector
-
setVector
Sets the value of the vector property.- Parameters:
value- allowed object isVector
-
getArray
Array- Returns:
- possible object is
Array
-
setArray
Sets the value of the array property.- Parameters:
value- allowed object isArray
-
getBlob
public byte[] getBlob()Binary Blob- Returns:
- possible object is byte[]
-
setBlob
public void setBlob(byte[] value) Sets the value of the blob property.- Parameters:
value- allowed object is byte[]
-
getOblob
public byte[] getOblob()Binary Blob Object- Returns:
- possible object is byte[]
-
setOblob
public void setOblob(byte[] value) Sets the value of the oblob property.- Parameters:
value- allowed object is byte[]
-
getEmpty
Empty- Returns:
- possible object is
Empty
-
setEmpty
Sets the value of the empty property.- Parameters:
value- allowed object isEmpty
-
getNull
Null- Returns:
- possible object is
Null
-
setNull
Sets the value of the null property.- Parameters:
value- allowed object isNull
-
getI1
1-Byte Signed Integer- Returns:
- possible object is
Byte
-
setI1
Sets the value of the i1 property.- Parameters:
value- allowed object isByte
-
getI2
2-Byte Signed Integer- Returns:
- possible object is
Short
-
setI2
Sets the value of the i2 property.- Parameters:
value- allowed object isShort
-
getI4
4-Byte Signed Integer- Returns:
- possible object is
Integer
-
setI4
Sets the value of the i4 property.- Parameters:
value- allowed object isInteger
-
getI8
8-Byte Signed Integer- Returns:
- possible object is
Long
-
setI8
Sets the value of the i8 property.- Parameters:
value- allowed object isLong
-
getInt
Integer- Returns:
- possible object is
Integer
-
setInt
Sets the value of the int property.- Parameters:
value- allowed object isInteger
-
getUi1
1-Byte Unsigned Integer- Returns:
- possible object is
Short
-
setUi1
Sets the value of the ui1 property.- Parameters:
value- allowed object isShort
-
getUi2
2-Byte Unsigned Integer- Returns:
- possible object is
Integer
-
setUi2
Sets the value of the ui2 property.- Parameters:
value- allowed object isInteger
-
getUi4
4-Byte Unsigned Integer- Returns:
- possible object is
Long
-
setUi4
Sets the value of the ui4 property.- Parameters:
value- allowed object isLong
-
getUi8
8-Byte Unsigned Integer- Returns:
- possible object is
BigInteger
-
setUi8
Sets the value of the ui8 property.- Parameters:
value- allowed object isBigInteger
-
getUint
Unsigned Integer- Returns:
- possible object is
Long
-
setUint
Sets the value of the uint property.- Parameters:
value- allowed object isLong
-
getR4
4-Byte Real Number- Returns:
- possible object is
Float
-
setR4
Sets the value of the r4 property.- Parameters:
value- allowed object isFloat
-
getR8
8-Byte Real Number- Returns:
- possible object is
Double
-
setR8
Sets the value of the r8 property.- Parameters:
value- allowed object isDouble
-
getDecimal
Decimal- Returns:
- possible object is
BigDecimal
-
setDecimal
Sets the value of the decimal property.- Parameters:
value- allowed object isBigDecimal
-
getLpstr
LPSTR- Returns:
- possible object is
String
-
setLpstr
Sets the value of the lpstr property.- Parameters:
value- allowed object isString
-
getLpwstr
LPWSTR- Returns:
- possible object is
String
-
setLpwstr
Sets the value of the lpwstr property.- Parameters:
value- allowed object isString
-
getBstr
Basic String- Returns:
- possible object is
String
-
setBstr
Sets the value of the bstr property.- Parameters:
value- allowed object isString
-
getDate
Date and Time- Returns:
- possible object is
XMLGregorianCalendar
-
setDate
Sets the value of the date property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getFiletime
File Time- Returns:
- possible object is
XMLGregorianCalendar
-
setFiletime
Sets the value of the filetime property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
isBool
Boolean- Returns:
- possible object is
Boolean
-
setBool
Sets the value of the bool property.- Parameters:
value- allowed object isBoolean
-
getCy
Currency- Returns:
- possible object is
String
-
setCy
Sets the value of the cy property.- Parameters:
value- allowed object isString
-
getError
Error Status Code- Returns:
- possible object is
String
-
setError
Sets the value of the error property.- Parameters:
value- allowed object isString
-
getStream
public byte[] getStream()Binary Stream- Returns:
- possible object is byte[]
-
setStream
public void setStream(byte[] value) Sets the value of the stream property.- Parameters:
value- allowed object is byte[]
-
getOstream
public byte[] getOstream()Binary Stream Object- Returns:
- possible object is byte[]
-
setOstream
public void setOstream(byte[] value) Sets the value of the ostream property.- Parameters:
value- allowed object is byte[]
-
getStorage
public byte[] getStorage()Binary Storage- Returns:
- possible object is byte[]
-
setStorage
public void setStorage(byte[] value) Sets the value of the storage property.- Parameters:
value- allowed object is byte[]
-
getOstorage
public byte[] getOstorage()Binary Storage Object- Returns:
- possible object is byte[]
-
setOstorage
public void setOstorage(byte[] value) Sets the value of the ostorage property.- Parameters:
value- allowed object is byte[]
-
getVstream
Binary Versioned Stream- Returns:
- possible object is
Vstream
-
setVstream
Sets the value of the vstream property.- Parameters:
value- allowed object isVstream
-
getClsid
Class ID- Returns:
- possible object is
String
-
setClsid
Sets the value of the clsid property.- Parameters:
value- allowed object isString
-
getCf
Clipboard Data- Returns:
- possible object is
Cf
-
setCf
Sets the value of the cf property.- Parameters:
value- allowed object isCf
-
getFmtid
Gets the value of the fmtid property.- Returns:
- possible object is
String
-
setFmtid
Sets the value of the fmtid property.- Parameters:
value- allowed object isString
-
getPid
public int getPid()Gets the value of the pid property. -
setPid
public void setPid(int value) Sets the value of the pid property. -
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getLinkTarget
Gets the value of the linkTarget property.- Returns:
- possible object is
String
-
setLinkTarget
Sets the value of the linkTarget property.- Parameters:
value- allowed object isString
-