|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface XPath functions must implement. Generally, new functions should be created by deriving
from com.virtualweaver.xotics.datamodel.xpath.function
.
Method Summary | |
XoDataType |
evaluate(XpContext ectx,
XpEvaluable[] arguments)
executes this function, with current XPath context and an array of arguments as XpEvaluable objects |
java.lang.String |
getLocalName()
Returns the local name of the function |
java.lang.String |
getNameSpace()
Returns the namespace of the function |
void |
setTokenPosition(int line,
int col)
This method is called by XPath engine to give positions of this in XPath request
string. |
Method Detail |
public java.lang.String getLocalName()
public java.lang.String getNameSpace()
public XoDataType evaluate(XpContext ectx, XpEvaluable[] arguments) throws XoException
ectx
- dynamic contextarguments
- function arguments, not resolved
XoException
- in some error occurs during evaluationpublic void setTokenPosition(int line, int col)
this
in XPath request
string.
line
- line position of this function in XPath requestcol
- column position of this function in XPath request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |