Constructor and Description |
---|
Property(PropertyId id)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
byte value)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
byte[] value)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
long value)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
PropertySet value)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
PrtArrayOfPropertyValues value)
Initializes a new instance of the
Property class. |
Property(PropertyId id,
PrtFourBytesOfLengthFollowedByData value)
Initializes a new instance of the
Property class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
equals(Property other)
The equals.
|
boolean |
getBoolValue()
Gets the value of a Boolean property.
|
byte[] |
getBytesValue()
Gets the value of a byte array property.
|
PropertyId |
getId()
Gets the id.
|
long |
getIntegerValue()
Gets the value of a UInt32 property.
|
PropertySet |
getPropertySetValue()
Gets the value of a PropertySet property.
|
PrtArrayOfPropertyValues |
getPrtArrayOfPropertyValue()
Gets the value of a PrtArrayOfPropertyValues property.
|
PrtFourBytesOfLengthFollowedByData |
getPrtFourBytesOfLengthFollowedByDataValue()
Gets the value of a byte array property.
|
long |
getStructSize()
Gets the struct size.
|
int |
hashCode() |
boolean |
isArrayOfCompactIdsValue()
Checks if the property contains an array of CompactIDs.
|
boolean |
isBytesValue()
The is bytes value.
|
boolean |
isContextIdValue()
The is context id value.
|
boolean |
isLongBytesValue()
The is long bytes value.
|
boolean |
isObjectIDsValue()
The is object i ds value.
|
boolean |
isObjectSpaceValue()
The is object space value.
|
String |
toString()
The to string.
|
public Property(PropertyId id)
Initializes a new instance of the Property
class.
id
- The id.public Property(PropertyId id, byte value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public Property(PropertyId id, byte[] value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public Property(PropertyId id, PrtFourBytesOfLengthFollowedByData value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public Property(PropertyId id, PrtArrayOfPropertyValues value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public Property(PropertyId id, PropertySet value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public Property(PropertyId id, long value)
Initializes a new instance of the Property
class.
id
- The id.value
- The value.public PropertyId getId()
Gets the id.
public boolean getBoolValue()
Gets the value of a Boolean property. Must be false if the value of the type field is not equal to 0x2.
public byte[] getBytesValue()
Gets the value of a byte array property. Must be null if the value of the type field is not equal to 0x3, 0x4, 0x5, 0x6.
public PrtFourBytesOfLengthFollowedByData getPrtFourBytesOfLengthFollowedByDataValue()
Gets the value of a byte array property. Must be null if the value of the type field is not equal to 0x7.
public PrtArrayOfPropertyValues getPrtArrayOfPropertyValue()
Gets the value of a PrtArrayOfPropertyValues property. Must be null if the value of the type field is not equal to 0x10.
public PropertySet getPropertySetValue()
Gets the value of a PropertySet property. Must be null if the value of the type field is not equal to 0x10.
public long getIntegerValue()
Gets the value of a UInt32 property.
public boolean isBytesValue()
The is bytes value.
bool
.public boolean isLongBytesValue()
The is long bytes value.
bool
.public boolean isObjectIDsValue()
The is object i ds value.
bool
.public boolean isObjectSpaceValue()
The is object space value.
bool
.public boolean isContextIdValue()
The is context id value.
bool
.public boolean isArrayOfCompactIdsValue()
Checks if the property contains an array of CompactIDs.
public long getStructSize()
Gets the struct size.
public boolean equals(Property other)
The equals.
other
- The other.bool
.public boolean equals(Object obj)
Copyright (c) 2016 Aspose. All Rights Reserved.