org.apache.avalon.excalibur.xml.xpath
インタフェース XPathProcessor
- すべてのスーパーインタフェース:
- org.apache.avalon.framework.component.Component
- 既知の実装クラスの一覧:
- JaxenProcessorImpl, XPathProcessorImpl
- public interface XPathProcessor
- extends org.apache.avalon.framework.component.Component
This is the interface of the XPath processor.
- バージョン:
- CVS $Revision: 1.5 $ $Date: 2001/12/11 09:53:32 $ $Author: jefft $
- 作成者:
- Davanum Srinivas
フィールドの概要 |
static java.lang.String |
ROLE
The role implemented by an XSLTProcessor . |
メソッドの概要 |
org.w3c.dom.NodeList |
selectNodeList(org.w3c.dom.Node contextNode,
java.lang.String str)
Use an XPath string to select a nodelist.
|
org.w3c.dom.Node |
selectSingleNode(org.w3c.dom.Node contextNode,
java.lang.String str)
Use an XPath string to select a single node. |
ROLE
public static final java.lang.String ROLE
- The role implemented by an
XSLTProcessor
.
selectSingleNode
public org.w3c.dom.Node selectSingleNode(org.w3c.dom.Node contextNode,
java.lang.String str)
- Use an XPath string to select a single node. XPath namespace
prefixes are resolved from the context node, which may not
be what you want (see the next method).
- パラメータ:
contextNode
- The node to start searching from.str
- A valid XPath string.- 戻り値:
- The first node found that matches the XPath, or null.
selectNodeList
public org.w3c.dom.NodeList selectNodeList(org.w3c.dom.Node contextNode,
java.lang.String str)
- Use an XPath string to select a nodelist.
XPath namespace prefixes are resolved from the contextNode.
- パラメータ:
contextNode
- The node to start searching from.str
- A valid XPath string.- 戻り値:
- A List, should never be null.
"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."