org.apache.fop.area
Class AreaTreeObject
java.lang.Object
org.apache.fop.area.AreaTreeObject
public abstract class AreaTreeObject
extends java.lang.Object
Abstract base class for all area tree objects.
foreignAttributes
protected Map foreignAttributes
Foreign attributes
getForeignAttributeValue
public String getForeignAttributeValue(QName name)
Returns the value of a foreign attribute on the area.
name
- the qualified name of the attribute
- the attribute value or null if it isn't set
getForeignAttributes
public Map getForeignAttributes()
- the foreign attributes associated with this area
setForeignAttribute
public void setForeignAttribute(QName name,
String value)
Sets a foreign attribute.
name
- the qualified name of the attributevalue
- the attribute value
setForeignAttributes
public void setForeignAttributes(Map atts)
Set foreign attributes from a Map.
atts
- a Map with attributes (keys: QName, values: String)
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.