org.apache.fop.area
Class AreaTreeObject
java.lang.Object
|
+--org.apache.fop.area.AreaTreeObject
- Direct Known Subclasses:
- Area, Page, PageViewport
- public abstract class AreaTreeObject
- extends java.lang.Object
Abstract base class for all area tree objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
foreignAttributes
protected java.util.Map foreignAttributes
- Foreign attributes
AreaTreeObject
public AreaTreeObject()
setForeignAttribute
public void setForeignAttribute(QName name,
java.lang.String value)
- Sets a foreign attribute.
- Parameters:
name
- the qualified name of the attributevalue
- the attribute value
setForeignAttributes
public void setForeignAttributes(java.util.Map atts)
- Set foreign attributes from a Map.
- Parameters:
atts
- a Map with attributes (keys: QName, values: String)
getForeignAttributeValue
public java.lang.String getForeignAttributeValue(QName name)
- Returns the value of a foreign attribute on the area.
- Parameters:
name
- the qualified name of the attribute- Returns:
- the attribute value or null if it isn't set
getForeignAttributes
public java.util.Map getForeignAttributes()
- Returns:
- the foreign attributes associated with this area
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.