fi.hut.tml.xsmiles.mlfc.xforms.constraint
Interface DynamicDependencyListener

All Superinterfaces:
ExpressionContainer
All Known Implementing Classes:
DynBoundElementImpl

public interface DynamicDependencyListener
extends ExpressionContainer

The listener for dynamic binding

Author:
Mikko Honkala

Method Summary
 void bindingMaybeDirty()
          the refresh processing notifies, that the binding might have changed, and it needs to be re-evaluated
 org.w3c.dom.NodeList getBoundNodeset()
           
 InstanceItemListener getInstanceItemListener()
           
 InstanceNode getRefNode()
           
 XPathExpr getXPath()
          get the XPath string to listen to
 boolean isSingleNodeBinding()
           
 void notifyBindingChanged(org.w3c.dom.NodeList newBinding)
          notifies the listener that the binding and the value changed
 
Methods inherited from interface fi.hut.tml.xsmiles.mlfc.xforms.constraint.ExpressionContainer
getContextNode, getContextNodeList, getModelContext, getNamespaceContextNode, getXPathEngine
 

Method Detail

isSingleNodeBinding

public boolean isSingleNodeBinding()
Returns:
true if single node binding expression

getRefNode

public InstanceNode getRefNode()
Returns:
the currently bound instance node in single node binding

getBoundNodeset

public org.w3c.dom.NodeList getBoundNodeset()
Returns:
the currently bound instance nodes in multinode binding

bindingMaybeDirty

public void bindingMaybeDirty()
the refresh processing notifies, that the binding might have changed, and it needs to be re-evaluated


notifyBindingChanged

public void notifyBindingChanged(org.w3c.dom.NodeList newBinding)
notifies the listener that the binding and the value changed


getXPath

public XPathExpr getXPath()
get the XPath string to listen to


getInstanceItemListener

public InstanceItemListener getInstanceItemListener()
Returns:
the instanceItemListener for the referred nodes, for value changes without binding change


X-Smiles 1.2