|
BEA Systems, Inc. | ||||||||||
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.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Method Summary | |
XNodeSet |
connectToNodes(XPath xpath,
XPathSupport execContext,
org.w3c.dom.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,
org.w3c.dom.Node context,
int opPos,
NodeCallback callback,
java.lang.Object callbackInfo,
boolean stopAtFirst)
Execute a location path. |
double |
locationPathPattern(XPath xpath,
XPathSupport execContext,
org.w3c.dom.Node context,
int opPos)
Execute a location path pattern. |
XNodeSet |
union(XPath xpath,
XPathSupport execContext,
org.w3c.dom.Node context,
int opPos,
NodeCallback callback,
java.lang.Object callbackInfo)
Execute a union. |
Method Detail |
public XNodeSet connectToNodes(XPath xpath, XPathSupport execContext, org.w3c.dom.Node context, int opPos, java.util.Vector connectArgs) throws org.xml.sax.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, org.w3c.dom.Node context, int opPos, NodeCallback callback, java.lang.Object callbackInfo) throws org.xml.sax.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, org.w3c.dom.Node context, int opPos, NodeCallback callback, java.lang.Object callbackInfo, boolean stopAtFirst) throws org.xml.sax.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, org.w3c.dom.Node context, int opPos) throws org.xml.sax.SAXException
xpath
- The xpath that is executing.context
- The current source tree context node.opPos
- The current position in the xpath.m_opMap array.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |