|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.exolab.adaptx.xpath.XPathFunction
|
+--org.exolab.adaptx.xslt.XSLTFunction
The base class for XSLT functions.
| Field Summary | |
|---|---|
static java.lang.String |
INVALID_NUMBER_PARAMS
|
static java.lang.String |
XSLT_NAMESPACE
The current (and ever changing) XSLT namespace |
| Constructor Summary | |
|---|---|
XSLTFunction(java.lang.String name)
Creates a new XSLTFunction with the given name. |
|
| Method Summary | |
|---|---|
abstract XPathResult |
call(XPathContext context,
XPathResult[] args)
Invokes the function and returns the XPath result. |
java.lang.String |
getFunctionName()
Returns the name of this function. |
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 |
| Field Detail |
public static final java.lang.String XSLT_NAMESPACE
public static final java.lang.String INVALID_NUMBER_PARAMS
| Constructor Detail |
public XSLTFunction(java.lang.String name)
name - the function name.| Method Detail |
public abstract XPathResult call(XPathContext context,
XPathResult[] args)
throws XPathException
call in class XPathFunctioncontext - The XPath context
XPathException - An error occured while invoking this functionpublic java.lang.String getNamespaceURI()
getNamespaceURI in class XPathFunctionpublic java.lang.String getFunctionName()
getFunctionName in class XPathFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||