org.apache.fop.fo
Class PropertyList

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--org.apache.fop.fo.PropertyList

public class PropertyList
extends Hashtable


Field Summary
 (package private) Stringelement
           
 (package private) FObjfobj
           
 (package private) Stringnamespace
           

Constructor Summary
PropertyList(PropertyList parentPropertyList, String space, String el)
           

Method Summary
 Propertyget(String propertyName)
          Return the property on the current FlowObject.
 StringgetElement()
           
 PropertygetExplicit(String propertyName)
          Return the value explicitly specified on this FO.
 FObjgetFObj()
           
 PropertygetFromParent(String propertyName)
          Return the value of this property on the parent of this FO.
 PropertygetInherited(String propertyName)
          Return the value of this property inherited by this FO.
 StringgetNameSpace()
           
 PropertygetNearestSpecified(String propertyName)
          Return the "nearest" specified value for the given property.
 FObjgetParentFObj()
           
 voidsetBuilder(PropertyListBuilder builder)
           
 voidsetFObj(FObj fobj)
           

Methods inherited from class java.util.Hashtable
size, isEmpty, keys, elements, contains, containsValue, containsKey, get, put, remove, putAll, clear, clone, toString, keySet, entrySet, values, equals, hashCode

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Field Detail

element

String element

fobj

FObj fobj

namespace

String namespace
Constructor Detail

PropertyList

public PropertyList(PropertyList parentPropertyList, String space, String el)
Method Detail

get

public Property get(String propertyName)
Return the property on the current FlowObject. If it isn't set explicitly, this will try to compute it based on other properties, or if it is inheritable, to return the inherited value. If all else fails, it returns the default value.

getElement

public String getElement()

getExplicit

public Property getExplicit(String propertyName)
Return the value explicitly specified on this FO.
Parameters:
propertyName - The name of the property whose value is desired.
Returns: The value if the property is explicitly set, otherwise null.

getFObj

public FObj getFObj()

getFromParent

public Property getFromParent(String propertyName)
Return the value of this property on the parent of this FO. Implements the from-parent function.
Parameters:
propertyName - The name of the property whose value is desired.
Returns: The computed value on the parent or the initial value if this FO is the root or is in a different namespace from its parent.

getInherited

public Property getInherited(String propertyName)
Return the value of this property inherited by this FO. Implements the inherited-property-value function. The property must be inheritable!
Parameters:
propertyName - The name of the property whose value is desired.
Returns: The inherited value, otherwise null.

getNameSpace

public String getNameSpace()

getNearestSpecified

public Property getNearestSpecified(String propertyName)
Return the "nearest" specified value for the given property. Implements the from-nearest-specified-value function.
Parameters:
propertyName - The name of the property whose value is desired.
Returns: The computed value if the property is explicitly set on some ancestor of the current FO, else the initial value.

getParentFObj

public FObj getParentFObj()

setBuilder

public void setBuilder(PropertyListBuilder builder)

setFObj

public void setFObj(FObj fobj)

Association Links

to Class org.apache.fop.fo.PropertyListBuilder

to Class org.apache.fop.fo.PropertyList

to Class java.lang.String

to Class java.lang.String

to Class org.apache.fop.fo.FObj