|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.adaptx.xpath.XPathFunction
org.exolab.adaptx.xslt.XSLTFunction
public abstract class 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 org.exolab.adaptx.xpath.XPathFunction |
---|
call |
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 XPathFunction
context
- The XPath contextparams
- A list of zero or more arguments
XPathException
- An error occured while invoking this functionpublic java.lang.String getNamespaceURI()
getNamespaceURI
in class XPathFunction
public java.lang.String getFunctionName()
getFunctionName
in class XPathFunction
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |