fi.hut.tml.xsmiles.mlfc.xforms.instance
Interface PropertyInheriter

All Known Implementing Classes:
InstanceItem

public interface PropertyInheriter

The listener for property changes from the parent node


Field Summary
static short PROPERTY_BASE
           
static short READONLY_PROPERTY
           
static short RELEVANT_PROPERTY
           
 
Method Summary
 void inheritProperty(short property, boolean value)
          the parent's readonly status has changed Inheritance Rules: If any ancestor node evaluates to true, this value is treated as true.
 void inheritToChildren(short property, boolean value)
           
 

Field Detail

PROPERTY_BASE

public static final short PROPERTY_BASE
See Also:
Constant Field Values

RELEVANT_PROPERTY

public static final short RELEVANT_PROPERTY
See Also:
Constant Field Values

READONLY_PROPERTY

public static final short READONLY_PROPERTY
See Also:
Constant Field Values
Method Detail

inheritProperty

public void inheritProperty(short property,
                            boolean value)
the parent's readonly status has changed Inheritance Rules: If any ancestor node evaluates to true, this value is treated as true. Otherwise, the local value is used. Note: This is the equivalent of taking the logical OR of the evaluated readonly property on the local and every ancestor node. the parent's relevant status has changed Inheritance Rules: If any ancestor node evaluates to XPath false, this value is treated as false. Otherwise, the local value is used. Note: This is the equivalent of taking the logical AND of the evaluated relevant property on the local and every ancestor node.


inheritToChildren

public void inheritToChildren(short property,
                              boolean value)


X-Smiles 1.2