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