|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.stx.FunctionTable.StringLength
The string-length
function.
Returns the length of its string parameter.
Constructor Summary | |
FunctionTable.StringLength()
|
Method Summary | |
Value |
evaluate(Context context,
int top,
Tree args)
The evaluation method. |
int |
getMaxParCount()
Maximum number of parameters. |
int |
getMinParCount()
Minimum number of parameters. |
String |
getName()
Expanded name of the function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionTable.StringLength()
Method Detail |
public int getMinParCount()
FunctionTable.Instance
getMinParCount
in interface FunctionTable.Instance
public int getMaxParCount()
FunctionTable.Instance
getMaxParCount
in interface FunctionTable.Instance
public String getName()
FunctionTable.Instance
getName
in interface FunctionTable.Instance
public Value evaluate(Context context, int top, Tree args) throws SAXException, EvalException
FunctionTable.Instance
evaluate
in interface FunctionTable.Instance
context
- the Context objecttop
- the number of the upper most element on the stackargs
- the current parameters
Value
instance containing the result
EvalException
- if an error occurs while processing
SAXException
- if an error occurs while processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |