org.apache.xpath.jaxp
Class JAXPExtensionsProvider
java.lang.Object
org.apache.xpath.jaxp.JAXPExtensionsProvider
- All Implemented Interfaces:
- ExtensionsProvider
public class JAXPExtensionsProvider
- extends java.lang.Object
- implements ExtensionsProvider
Method Summary |
boolean |
elementAvailable(java.lang.String ns,
java.lang.String elemName)
Is the extension element available? |
java.lang.Object |
extFunction(FuncExtFunction extFunction,
java.util.Vector argVec)
Execute the extension function. |
java.lang.Object |
extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey)
Execute the extension function. |
boolean |
functionAvailable(java.lang.String ns,
java.lang.String funcName)
Is the extension function available? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resolver
private final javax.xml.xpath.XPathFunctionResolver resolver
extensionInvocationDisabled
private boolean extensionInvocationDisabled
JAXPExtensionsProvider
public JAXPExtensionsProvider(javax.xml.xpath.XPathFunctionResolver resolver)
JAXPExtensionsProvider
public JAXPExtensionsProvider(javax.xml.xpath.XPathFunctionResolver resolver,
boolean featureSecureProcessing)
functionAvailable
public boolean functionAvailable(java.lang.String ns,
java.lang.String funcName)
throws javax.xml.transform.TransformerException
- Is the extension function available?
- Specified by:
functionAvailable
in interface ExtensionsProvider
- Throws:
javax.xml.transform.TransformerException
elementAvailable
public boolean elementAvailable(java.lang.String ns,
java.lang.String elemName)
throws javax.xml.transform.TransformerException
- Is the extension element available?
- Specified by:
elementAvailable
in interface ExtensionsProvider
- Throws:
javax.xml.transform.TransformerException
extFunction
public java.lang.Object extFunction(java.lang.String ns,
java.lang.String funcName,
java.util.Vector argVec,
java.lang.Object methodKey)
throws javax.xml.transform.TransformerException
- Execute the extension function.
- Specified by:
extFunction
in interface ExtensionsProvider
- Throws:
javax.xml.transform.TransformerException
extFunction
public java.lang.Object extFunction(FuncExtFunction extFunction,
java.util.Vector argVec)
throws javax.xml.transform.TransformerException
- Execute the extension function.
- Specified by:
extFunction
in interface ExtensionsProvider
- Throws:
javax.xml.transform.TransformerException