org.apache.xalan.xsltc.compiler.util
Class NodeCounterGenerator
public final class NodeCounterGenerator
This class implements auxiliary classes needed to compile
patterns in xsl:number. These classes inherit from
{Any,Single,Multiple}NodeCounter and override the
matchFrom and matchCount methods.
- Jacek Ambroziak
- Santiago Pericas-Geertsen
boolean | isExternal() - Returns true since this class is external to the
translet.
|
Instruction | loadTranslet() - The index of the translet pointer within the execution of
matchFrom or matchCount.
|
void | setTransletIndex(int index) - Set the index of the register where "this" (the pointer to
the translet) is stored.
|
NodeCounterGenerator
public NodeCounterGenerator(String className,
String superClassName,
String fileName,
int accessFlags,
String[] interfaces,
Stylesheet stylesheet)
isExternal
public boolean isExternal()
Returns true since this class is external to the
translet.
- isExternal in interface ClassGenerator
loadTranslet
public Instruction loadTranslet()
The index of the translet pointer within the execution of
matchFrom or matchCount.
Overridden from ClassGenerator.
- loadTranslet in interface ClassGenerator
setTransletIndex
public void setTransletIndex(int index)
Set the index of the register where "this" (the pointer to
the translet) is stored.
Copyright B) 2005 Apache XML Project. All Rights Reserved.