|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.common.PDDictionaryWrapper
org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDUserProperty
public class PDUserProperty
A user property.
Constructor Summary | |
---|---|
PDUserProperty(COSDictionary dictionary,
PDUserAttributeObject userAttributeObject)
Creates a user property with a given dictionary. |
|
PDUserProperty(PDUserAttributeObject userAttributeObject)
Creates a new user property. |
Method Summary | |
---|---|
java.lang.String |
getFormattedValue()
Returns the string for the property value. |
java.lang.String |
getName()
Returns the property name. |
COSBase |
getValue()
Returns the property value. |
boolean |
isHidden()
Shall the property be hidden? |
void |
setFormattedValue(java.lang.String formattedValue)
Sets the string for the property value. |
void |
setHidden(boolean hidden)
Specifies whether the property shall be hidden. |
void |
setName(java.lang.String name)
Sets the property name. |
void |
setValue(COSBase value)
Sets the property value. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.pdfbox.pdmodel.common.PDDictionaryWrapper |
---|
equals, getCOSDictionary, getCOSObject, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDUserProperty(PDUserAttributeObject userAttributeObject)
the
- user attribute objectpublic PDUserProperty(COSDictionary dictionary, PDUserAttributeObject userAttributeObject)
dictionary
- the dictionarythe
- user attribute objectMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the property namepublic COSBase getValue()
public void setValue(COSBase value)
value
- the property valuepublic java.lang.String getFormattedValue()
public void setFormattedValue(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |