|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.saxonica.codegen.JavaDeclaration
public class JavaDeclaration
A return action that assigns the value of the expression to a variable supplied by the caller
| Constructor Summary | |
|---|---|
JavaDeclaration(Class theClass,
String varName)
Create a JavaDeclaration |
|
| Method Summary | |
|---|---|
Class |
getVariableClass()
Get the class of the variable |
String |
getVariableName()
Get the name of the variable holding the result |
String |
output(CompilerService compiler,
String expression)
Generate the return text |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaDeclaration(Class theClass,
String varName)
theClass - the class of variable to be declared, currently always boolean.classvarName - the name of the variable to be declared| Method Detail |
|---|
public Class getVariableClass()
public String output(CompilerService compiler,
String expression)
output in interface ReturnActioncompiler - the compiler serviceexpression - the Java expression that computes the return value
public String getVariableName()
getVariableName in interface ReturnAction
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||