|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.joost.stx.FunctionTable.RegexGroup
The regex-group
function.
Returns the captured substring that corresponds to a parenthized
sub-expression of a regular expression from an stx:match
element.
Constructor Summary | |
FunctionTable.RegexGroup()
|
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.RegexGroup()
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 |