public abstract class PDAttributeObject extends PDDictionaryWrapper
| Constructor and Description |
|---|
PDAttributeObject()
Default constructor.
|
PDAttributeObject(COSDictionary dictionary)
Creates a new attribute object with a given dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
equals, getCOSObject, hashCodepublic PDAttributeObject()
public PDAttributeObject(COSDictionary dictionary)
dictionary - the dictionarypublic static PDAttributeObject create(COSDictionary dictionary)
dictionary - the dictionaryprotected 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()
protected static String arrayToString(Object[] array)
array - the Object arrayprotected static String arrayToString(float[] array)
array - the float arrayCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.