|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class provides services that must be implemented by the hosting environment, in other words, stuff that is external to XPath. At this point, it is likely that this interface should be folded into XPathSupport.
Method Summary | |
void |
associateXLocatorToNode(Node node,
XLocator xlocator)
Associate an XLocator provider to a node based on the root of the tree that the node is parented by. |
void |
deassociateXLocatorToNode(Node node)
Deassociate an XLocator provider to a node based on the root of the tree that the node is parented by. |
boolean |
elementAvailable(java.lang.String namespace,
java.lang.String extensionName)
Execute the element-available() function. |
java.lang.Object |
extFunction(java.lang.String namespace,
java.lang.String extensionName,
java.util.Vector argVec,
java.lang.Object methodKey)
Handle an extension function. |
java.lang.String |
findURIFromDoc(Document owner)
Given a DOM Document, tell what URI was used to parse it. |
boolean |
functionAvailable(java.lang.String namespace,
java.lang.String extensionName)
Execute the function-available() function. |
Document |
getDOMFactory()
Get a DOM document, primarily for creating result tree fragments. |
NodeList |
getNodeSetByKey(Node doc,
java.lang.String name,
java.lang.String ref,
PrefixResolver nscontext)
Given a valid element key, return the corresponding node list. |
java.util.Hashtable |
getSourceDocsTable()
Get table of source tree documents. |
XObject |
getVariable(QName name)
Given a name, locate a variable in the current context, and return the Object. |
XLocator |
getXLocatorFromNode(Node node)
Get an XLocator provider keyed by node. |
void |
setDOMFactory(Document domFactory)
Get the factory object required to create DOM nodes in the result tree. |
boolean |
shouldStripSourceNode(Node textNode)
Determine whether extra whitespace should be stripped from the node. |
Method Detail |
public NodeList getNodeSetByKey(Node doc, java.lang.String name, java.lang.String ref, PrefixResolver nscontext) throws SAXException
public XObject getVariable(QName name) throws SAXException
public java.util.Hashtable getSourceDocsTable()
public java.lang.String findURIFromDoc(Document owner)
public void setDOMFactory(Document domFactory)
public Document getDOMFactory()
public boolean functionAvailable(java.lang.String namespace, java.lang.String extensionName)
public boolean elementAvailable(java.lang.String namespace, java.lang.String extensionName)
public java.lang.Object extFunction(java.lang.String namespace, java.lang.String extensionName, java.util.Vector argVec, java.lang.Object methodKey) throws SAXException
public XLocator getXLocatorFromNode(Node node)
public void associateXLocatorToNode(Node node, XLocator xlocator)
public void deassociateXLocatorToNode(Node node)
public boolean shouldStripSourceNode(Node textNode) throws SAXException
textNode
- A text node from the source tree.
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |