org.apache.avalon.excalibur.xml.xpath
クラス JaxenProcessorImpl

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.avalon.excalibur.xml.xpath.JaxenProcessorImpl
すべての実装インタフェース:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.framework.thread.ThreadSafe, XPathProcessor

public class JaxenProcessorImpl
extends org.apache.avalon.framework.logger.AbstractLoggable
implements XPathProcessor, org.apache.avalon.framework.thread.ThreadSafe

This class defines the implementation of the XPathProcessor component. To configure it, add the following lines in the cocoon.xconf file:

 <xpath-processor class="org.apache.cocoon.components.xpath.JaxenProcessorImpl">
 </xpath-processor>
 

バージョン:
CVS $Revision: 1.5 $ $Date: 2002/01/08 07:57:40 $ $Author: cziegeler $
作成者:
Davanum Srinivas

インタフェース org.apache.avalon.excalibur.xml.xpath.XPathProcessor から継承したフィールド
ROLE
 
コンストラクタの概要
JaxenProcessorImpl()
           
 
メソッドの概要
 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.
 
クラス org.apache.avalon.framework.logger.AbstractLoggable から継承したメソッド
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JaxenProcessorImpl

public JaxenProcessorImpl()
メソッドの詳細

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).
定義:
インタフェース XPathProcessor 内の selectSingleNode
パラメータ:
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.
定義:
インタフェース XPathProcessor 内の selectNodeList
パラメータ:
contextNode - The node to start searching from.
str - A valid XPath string.
戻り値:
A NodeList, should never be null.


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."