|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.AreaTreeObject
public abstract class AreaTreeObject
Abstract base class for all area tree objects.
Field Summary | |
---|---|
protected java.util.List<ExtensionAttachment> |
extensionAttachments
Extension attachments |
protected java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> |
foreignAttributes
Foreign attributes |
Constructor Summary | |
---|---|
AreaTreeObject()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<org.apache.xmlgraphics.util.QName,java.lang.String> foreignAttributes
protected java.util.List<ExtensionAttachment> extensionAttachments
Constructor Detail |
---|
public AreaTreeObject()
Method Detail |
---|
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 attribute
public 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()
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |