|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides services for processing a XPath LocationPath. Either the default implementation (SimpleNodeLocator) will be used to implement this interface, or an extension function that serves as a factory method can be used that returns an XLocator.
Method Summary | |
XNodeSet |
connectToNodes(XPath xpath,
XPathSupport execContext,
Node context,
int opPos,
java.util.Vector connectArgs)
Execute a connection (if it was not executed by the static connect method) and process the following LocationPath, if it is present. |
XNodeSet |
locationPath(XPath xpath,
XPathSupport execContext,
Node context,
int opPos,
NodeCallback callback,
java.lang.Object callbackInfo,
boolean stopAtFirst)
Execute a location path. |
double |
locationPathPattern(XPath xpath,
XPathSupport execContext,
Node context,
int opPos)
Execute a location path pattern. |
XNodeSet |
union(XPath xpath,
XPathSupport execContext,
Node context,
int opPos,
NodeCallback callback,
java.lang.Object callbackInfo)
Execute a union. |
Method Detail |
public XNodeSet connectToNodes(XPath xpath, XPathSupport execContext, Node context, int opPos, java.util.Vector connectArgs) throws SAXException
xpath
- The xpath that is executing.context
- The current source tree context node.opPos
- The current position in the xpath.m_opMap array.connectArgs
- The same arguments that were passed to the
static connect function.public XNodeSet union(XPath xpath, XPathSupport execContext, Node context, int opPos, NodeCallback callback, java.lang.Object callbackInfo) throws SAXException
xpath
- The xpath that is executing.execContext
- The execution context.context
- The current source tree context node.opPos
- The current position in the xpath.m_opMap array.callback
- Interface that implements the processLocatedNode method.callbackInfo
- Object that will be passed to the processLocatedNode method.public XNodeSet locationPath(XPath xpath, XPathSupport execContext, Node context, int opPos, NodeCallback callback, java.lang.Object callbackInfo, boolean stopAtFirst) throws SAXException
xpath
- The xpath that is executing.context
- The current source tree context node.opPos
- The current position in the xpath.m_opMap array.callback
- Interface that implements the processLocatedNode method.callbackInfo
- Object that will be passed to the processLocatedNode method.stopAtFirst
- True if only the first found node in doc order is needed.public double locationPathPattern(XPath xpath, XPathSupport execContext, Node context, int opPos) throws SAXException
xpath
- The xpath that is executing.context
- The current source tree context node.opPos
- The current position in the xpath.m_opMap array.
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |