public abstract class AreaTreeObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
extensionAttachments
Extension attachments
|
protected java.util.Map |
foreignAttributes
Foreign attributes
|
Constructor and Description |
---|
AreaTreeObject() |
Modifier and Type | Method and Description |
---|---|
void |
addExtensionAttachment(ExtensionAttachment attachment)
Adds a new ExtensionAttachment instance to this page.
|
java.util.List |
getExtensionAttachments() |
java.util.Map |
getForeignAttributes() |
java.lang.String |
getForeignAttributeValue(org.apache.xmlgraphics.util.QName name)
Returns the value of a foreign attribute on the area.
|
boolean |
hasExtensionAttachments()
Indicates whether this area tree object has any extension attachments.
|
void |
setExtensionAttachments(java.util.List extensionAttachments)
Set extension attachments from a List
|
void |
setForeignAttribute(org.apache.xmlgraphics.util.QName name,
java.lang.String value)
Sets a foreign attribute.
|
void |
setForeignAttributes(java.util.Map atts)
Set foreign attributes from a Map.
|
protected java.util.Map foreignAttributes
protected java.util.List extensionAttachments
public void setForeignAttribute(org.apache.xmlgraphics.util.QName name, java.lang.String value)
name
- the qualified name of the attributevalue
- the attribute valuepublic void setForeignAttributes(java.util.Map atts)
atts
- a Map with attributes (keys: QName, values: String)public java.lang.String getForeignAttributeValue(org.apache.xmlgraphics.util.QName name)
name
- the qualified name of the attributepublic java.util.Map getForeignAttributes()
public void addExtensionAttachment(ExtensionAttachment attachment)
attachment
- the ExtensionAttachmentpublic void setExtensionAttachments(java.util.List extensionAttachments)
extensionAttachments
- a List with extension attachmentspublic java.util.List getExtensionAttachments()
public boolean hasExtensionAttachments()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.