fi.hut.tml.xsmiles.mlfc.xforms.constraint
Class MainDependencyGraph
java.lang.Object
fi.hut.tml.xsmiles.mlfc.xforms.constraint.DependencyGraph
fi.hut.tml.xsmiles.mlfc.xforms.constraint.MainDependencyGraph
- public class MainDependencyGraph
- extends DependencyGraph
The dependency graph for the calculation algorithm
- Author:
- Mikko Honkala
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xform
protected ModelElementImpl xform
calculated
public boolean calculated
result
protected LookupResult result
MainDependencyGraph
public MainDependencyGraph()
addBindToGraph
public void addBindToGraph(BindElement bind,
ModelContext modelContext)
throws XFormsBindingException,
java.lang.Exception
- Adds a single bind's ref nodes to the Main Graph
called by MainDependencyGraph.constructMainGraph()
- Throws:
XFormsBindingException
java.lang.Exception
createExpression
protected XPathExpr createExpression(java.lang.String s,
ModelContext m)
addTypeToInstanceNode
protected void addTypeToInstanceNode(InstanceNode n,
BindElement bind)
- this method checks for xforms: type attributes and
adds type information to the relevant node.
Note that type is not calculated property, so it is not
added as an vertex!
addRefNodeToGraph
public void addRefNodeToGraph(InstanceNode n,
ExpressionContainer container,
XPathExpr xpath,
short type,
ModelContext modelContext)
throws java.lang.Exception,
XFormsBindingException
- Adds a single bind's ref node to the Main Graph
called by MainDependencyGraph.addBindToGraph()
- Throws:
java.lang.Exception
XFormsBindingException
recalculate
public void recalculate()
- Extends DependencyGraph.recalculate(). Restores the vertices vector after recalc
- Overrides:
recalculate in class DependencyGraph
X-Smiles 1.2