java.lang.Cloneable
Area
, Page
, PageSequence
, PageViewport
public abstract class AreaTreeObject
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<ExtensionAttachment> |
extensionAttachments |
Extension attachments
|
protected java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> |
foreignAttributes |
Foreign attributes
|
Constructor | Description |
---|---|
AreaTreeObject() |
Modifier and Type | Method | Description |
---|---|---|
void |
addExtensionAttachment(ExtensionAttachment attachment) |
Adds a new ExtensionAttachment instance to this page.
|
java.lang.Object |
clone() |
|
java.util.List<ExtensionAttachment> |
getExtensionAttachments() |
|
java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> |
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<ExtensionAttachment> 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<org.apache.xmlgraphics.util.QName,java.lang.String> atts) |
Add foreign attributes from a Map.
|
protected java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes
protected java.util.List<ExtensionAttachment> extensionAttachments
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
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<org.apache.xmlgraphics.util.QName,java.lang.String> 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<org.apache.xmlgraphics.util.QName,java.lang.String> getForeignAttributes()
public void addExtensionAttachment(ExtensionAttachment attachment)
attachment
- the ExtensionAttachmentpublic void setExtensionAttachments(java.util.List<ExtensionAttachment> extensionAttachments)
extensionAttachments
- a List with extension attachmentspublic java.util.List<ExtensionAttachment> getExtensionAttachments()
public boolean hasExtensionAttachments()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.