|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.caucho.xpath.XPathFun | +--com.caucho.xsl.KeyFun
The key(...) function.
Constructor Summary | |
KeyFun()
|
Method Summary | |
void |
add(java.lang.String name,
Pattern match,
Expr use)
Add a new key. |
java.lang.Object |
eval(Node node,
Env env,
Node context,
Pattern pattern,
java.util.ArrayList args)
Evaluate the function. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public KeyFun()
Method Detail |
public void add(java.lang.String name, Pattern match, Expr use)
name
- name of the keymatch
- the key's match patternuse
- the key's use expressionpublic java.lang.Object eval(Node node, Env env, Node context, Pattern pattern, java.util.ArrayList args)
pattern
- The context pattern.args
- The evaluated arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |