org.apache.xalan.xsltc.compiler

Interface Closure

public interface Closure

Author: Santiago Pericas-Geertsen

Method Summary
voidaddVariable(VariableRefBase variableRef)
Add new variable to the closure.
StringgetInnerClassName()
Returns the name of the auxiliary class or null if this predicate is compiled inside the Translet.
ClosuregetParentClosure()
Returns a reference to its parent closure or null if outermost.
booleaninInnerClass()
Returns true if this closure is compiled in an inner class (i.e. if this is a real closure).

Method Detail

addVariable

public void addVariable(VariableRefBase variableRef)
Add new variable to the closure.

getInnerClassName

public String getInnerClassName()
Returns the name of the auxiliary class or null if this predicate is compiled inside the Translet.

getParentClosure

public Closure getParentClosure()
Returns a reference to its parent closure or null if outermost.

inInnerClass

public boolean inInnerClass()
Returns true if this closure is compiled in an inner class (i.e. if this is a real closure).
Copyright B) 2005 Apache XML Project. All Rights Reserved.