org.apache.xpath
Interface ExtensionsProvider

All Known Implementing Classes:
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(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

public boolean functionAvailable(String ns,
                                 String funcName)
                          throws javax.xml.transform.TransformerException
Is the extension function available?

Throws:
javax.xml.transform.TransformerException

elementAvailable

public boolean elementAvailable(String ns,
                                String elemName)
                         throws javax.xml.transform.TransformerException
Is the extension element available?

Throws:
javax.xml.transform.TransformerException

extFunction

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

Throws:
javax.xml.transform.TransformerException