jd.xml.xslt.parser
Class VariableSorter

java.lang.Object
  extended byjd.xml.xslt.parser.VariableSorter

class VariableSorter
extends Object

VariableSort sorts a set of variables according their dependency.


Constructor Summary
(package private) VariableSorter()
           
 
Method Summary
 int firstUnClassifiedGlobalVar()
           
 Variable[] getSortedVariables()
           
 void sort(XsltParseContext context, Variable[] variables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableSorter

VariableSorter()
Method Detail

sort

public void sort(XsltParseContext context,
                 Variable[] variables)
          throws XsltParseException
Throws:
XsltParseException

getSortedVariables

public Variable[] getSortedVariables()

firstUnClassifiedGlobalVar

public int firstUnClassifiedGlobalVar()