org.apache.xpath

Interface ExtensionsProvider

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.
Object
extFunction(FuncExtFunction extFunction, Vector argVec)
Execute the extension function.
boolean
functionAvailable(String ns, String funcName)
Is the extension function available?

Method Details

elementAvailable

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


extFunction

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


extFunction

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


functionAvailable

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


Copyright B) 2004 Apache XML Project. All Rights Reserved.