org.apache.fop.area

Class AreaTreeObject

Known Direct Subclasses:
Area, Page, PageViewport

public abstract class AreaTreeObject
extends java.lang.Object

Abstract base class for all area tree objects.

Field Summary

protected Map
foreignAttributes
Foreign attributes

Method Summary

String
getForeignAttributeValue(QName name)
Returns the value of a foreign attribute on the area.
Map
getForeignAttributes()
void
setForeignAttribute(QName name, String value)
Sets a foreign attribute.
void
setForeignAttributes(Map atts)
Set foreign attributes from a Map.

Field Details

foreignAttributes

protected Map foreignAttributes
Foreign attributes

Method Details

getForeignAttributeValue

public 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 Map getForeignAttributes()
Returns:
the foreign attributes associated with this area

setForeignAttribute

public void setForeignAttribute(QName name,
                                String value)
Sets a foreign attribute.
Parameters:
name - the qualified name of the attribute
value - the attribute value

setForeignAttributes

public void setForeignAttributes(Map atts)
Set foreign attributes from a Map.
Parameters:
atts - a Map with attributes (keys: QName, values: String)

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.