|
||||||||||
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.PDAttributeObject
public abstract class PDAttributeObject
An attribute object.
Constructor Summary | |
---|---|
PDAttributeObject()
Default constructor. |
|
PDAttributeObject(COSDictionary dictionary)
Creates a new attribute object with a given dictionary. |
Method Summary | |
---|---|
protected static String |
arrayToString(float[] array)
Creates a String representation of a float array. |
protected static String |
arrayToString(Object[] array)
Creates a String representation of an Object array. |
static PDAttributeObject |
create(COSDictionary dictionary)
Creates an attribute object. |
String |
getOwner()
Returns the owner of the attributes. |
boolean |
isEmpty()
Detects whether there are no properties in the attribute object. |
protected void |
notifyChanged()
Notifies the attribute object change listeners about a change in this attribute object. |
protected void |
potentiallyNotifyChanged(COSBase oldBase,
COSBase newBase)
Notifies the attribute object change listeners if the attribute is changed. |
protected void |
setOwner(String owner)
Sets the owner of the attributes. |
protected void |
setStructureElement(PDStructureElement structureElement)
Sets the structure element. |
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 PDAttributeObject()
public PDAttributeObject(COSDictionary dictionary)
dictionary
- the dictionaryMethod Detail |
---|
public static PDAttributeObject create(COSDictionary dictionary)
dictionary
- the dictionary
protected void setStructureElement(PDStructureElement structureElement)
structureElement
- the structure elementpublic String getOwner()
protected void setOwner(String owner)
owner
- the owner of the attributespublic boolean isEmpty()
true
if the attribute object is empty,
false
otherwiseprotected void potentiallyNotifyChanged(COSBase oldBase, COSBase newBase)
oldBase
- old valuenewBase
- new valueprotected void notifyChanged()
public String toString()
toString
in class Object
protected static String arrayToString(Object[] array)
array
- the Object array
protected static String arrayToString(float[] array)
array
- the float array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |