public final class NodeCounterGenerator extends ClassGenerator
TRANSLET_INDEX
Constructor and Description |
---|
NodeCounterGenerator(String className,
String superClassName,
String fileName,
int accessFlags,
String[] interfaces,
Stylesheet stylesheet) |
Modifier and Type | Method and Description |
---|---|
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.
|
addMethod, getApplyTemplatesSig, getApplyTemplatesSigForImport, getClassName, getDOMClass, getDOMClassSig, getParser, getStylesheet
public NodeCounterGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet)
public void setTransletIndex(int index)
public Instruction loadTranslet()
loadTranslet
in class ClassGenerator
public boolean isExternal()
isExternal
in class ClassGenerator
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.