org.apache.xpath
Interface ExtensionsProvider

All Known Implementing Classes:
JAXPExtensionsProvider, TransformerImpl

public interface ExtensionsProvider

Interface that XPath objects can call to obtain access to an ExtensionsTable.


Method Summary
 boolean elementAvailable(String ns, String elemName)
          Is the extension element available?
 Object extFunction(FuncExtFunction extFunction, Vector argVec)
          Execute the extension function.
 Object extFunction(String ns, String funcName, Vector argVec, Object methodKey)
          Execute the extension function.
 boolean functionAvailable(String ns, String funcName)
          Is the extension function available?
 

Method Detail

functionAvailable

boolean functionAvailable(String ns,
                          String funcName)
                          throws TransformerException
Is the extension function available?

Throws:
TransformerException

elementAvailable

boolean elementAvailable(String ns,
                         String elemName)
                         throws TransformerException
Is the extension element available?

Throws:
TransformerException

extFunction

Object extFunction(String ns,
                   String funcName,
                   Vector argVec,
                   Object methodKey)
                   throws TransformerException
Execute the extension function.

Throws:
TransformerException

extFunction

Object extFunction(FuncExtFunction extFunction,
                   Vector argVec)
                   throws TransformerException
Execute the extension function.

Throws:
TransformerException


Copyright ? 2006 Apache XML Project. All Rights Reserved.