public class PDUserProperty extends PDDictionaryWrapper
| Constructor and Description |
|---|
PDUserProperty(COSDictionary dictionary,
PDUserAttributeObject userAttributeObject)
Creates a user property with a given dictionary.
|
PDUserProperty(PDUserAttributeObject userAttributeObject)
Creates a new user property.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFormattedValue()
Returns the string for the property value.
|
String |
getName()
Returns the property name.
|
COSBase |
getValue()
Returns the property value.
|
int |
hashCode() |
boolean |
isHidden()
Shall the property be hidden?
|
void |
setFormattedValue(String formattedValue)
Sets the string for the property value.
|
void |
setHidden(boolean hidden)
Specifies whether the property shall be hidden.
|
void |
setName(String name)
Sets the property name.
|
void |
setValue(COSBase value)
Sets the property value.
|
String |
toString() |
getCOSObjectpublic PDUserProperty(PDUserAttributeObject userAttributeObject)
userAttributeObject - the user attribute objectpublic PDUserProperty(COSDictionary dictionary, PDUserAttributeObject userAttributeObject)
dictionary - the dictionaryuserAttributeObject - the user attribute objectpublic String getName()
public void setName(String name)
name - the property namepublic COSBase getValue()
public void setValue(COSBase value)
value - the property valuepublic String getFormattedValue()
public void setFormattedValue(String formattedValue)
formattedValue - the string for the property valuepublic boolean isHidden()
true if the property shall be hidden,
false otherwisepublic void setHidden(boolean hidden)
hidden - true if the property shall be hidden,
false otherwisepublic int hashCode()
hashCode in class PDDictionaryWrapperpublic boolean equals(Object obj)
equals in class PDDictionaryWrapperCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.