|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.adaptx.xpath.XPathFunction
public abstract class XPathFunction
Abstract class representing an XPath function.
| Constructor Summary | |
|---|---|
XPathFunction()
|
|
| Method Summary | |
|---|---|
abstract XPathResult |
call(XPathContext context,
XPathResult[] args)
Invokes the function and returns the XPath result. |
XPathResult |
call(XPathContext context,
XPathResult[] args,
FunctionState state)
Invokes the function and returns the XPath result. |
abstract java.lang.String |
getFunctionName()
Returns the name of this function. |
abstract java.lang.String |
getNamespaceURI()
Returns the namespace URI of this function. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathFunction()
| Method Detail |
|---|
public abstract XPathResult call(XPathContext context,
XPathResult[] args)
throws XPathException
context - The XPath contextparams - A list of zero or more arguments
XPathException - if an error occured while invoking this function
public XPathResult call(XPathContext context,
XPathResult[] args,
FunctionState state)
throws XPathException
context - The XPath contextparams - A list of zero or more argumentsstate - the FunctionState for obtaining additional
information about the Function call, such as the actual
parameter expressions.
XPathException - if an error occured while invoking this functionpublic abstract java.lang.String getNamespaceURI()
public abstract java.lang.String getFunctionName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||