public abstract class AreaTreeObject extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected List<ExtensionAttachment> |
extensionAttachments
Extension attachments
|
protected Map<org.apache.xmlgraphics.util.QName,String> |
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.
|
Object |
clone() |
List<ExtensionAttachment> |
getExtensionAttachments() |
Map<org.apache.xmlgraphics.util.QName,String> |
getForeignAttributes() |
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(List<ExtensionAttachment> extensionAttachments)
Set extension attachments from a List
|
void |
setForeignAttribute(org.apache.xmlgraphics.util.QName name,
String value)
Sets a foreign attribute.
|
void |
setForeignAttributes(Map<org.apache.xmlgraphics.util.QName,String> atts)
Add foreign attributes from a Map.
|
protected Map<org.apache.xmlgraphics.util.QName,String> foreignAttributes
protected List<ExtensionAttachment> extensionAttachments
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void setForeignAttribute(org.apache.xmlgraphics.util.QName name, String value)
name
- the qualified name of the attributevalue
- the attribute valuepublic void setForeignAttributes(Map<org.apache.xmlgraphics.util.QName,String> atts)
atts
- a Map with attributes (keys: QName, values: String)public String getForeignAttributeValue(org.apache.xmlgraphics.util.QName name)
name
- the qualified name of the attributepublic Map<org.apache.xmlgraphics.util.QName,String> getForeignAttributes()
public void addExtensionAttachment(ExtensionAttachment attachment)
attachment
- the ExtensionAttachmentpublic void setExtensionAttachments(List<ExtensionAttachment> extensionAttachments)
extensionAttachments
- a List with extension attachmentspublic List<ExtensionAttachment> getExtensionAttachments()
public boolean hasExtensionAttachments()
Copyright © 2025 Apache Software Foundation. All rights reserved.