org.xfp.filters.xml
Class XPathNodeList

java.lang.Object
  extended byorg.xfp.AttributeContainer
      extended byorg.xfp.Filter
          extended byorg.xfp.filters.xml.XPathAbstractFilter
              extended byorg.xfp.filters.xml.XPathNodeList

public class XPathNodeList
extends XPathAbstractFilter

Performs an XPath query and outputs a List of nodes. TODO sort nodes by XPath expression

Version:
$Id: XPathNodeList.java,v 1.1 2004/03/19 15:56:45 flaviotordini Exp $
Author:
Flavio Tordini
JAR Dependency:
Apache Xalan

Nested Class Summary
 
Nested classes inherited from class org.xfp.Filter
Filter.OnErrorEnum, Filter.OnLoopErrorEnum
 
Field Summary
 
Fields inherited from class org.xfp.filters.xml.XPathAbstractFilter
node, xpath, xpathapi
 
Fields inherited from class org.xfp.AttributeContainer
name, parentContainer
 
Constructor Summary
XPathNodeList()
           
 
Method Summary
 java.util.List execute()
          Executes this filter.
 java.util.List execute(org.w3c.dom.Node node)
          Executes this filter.
protected  void subreset()
          Subclasses must reset their status within this method.
 
Methods inherited from class org.xfp.filters.xml.XPathAbstractFilter
reset, setNode, setXpath
 
Methods inherited from class org.xfp.Filter
getOnError, initialize, log, newInstance, perform, toString
 
Methods inherited from class org.xfp.AttributeContainer
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathNodeList

public XPathNodeList()
Method Detail

execute

public java.util.List execute(org.w3c.dom.Node node)
                       throws java.lang.Exception
Executes this filter.

Throws:
java.lang.Exception

execute

public java.util.List execute()
                       throws java.lang.Exception
Executes this filter.

Throws:
java.lang.Exception

subreset

protected void subreset()
Description copied from class: XPathAbstractFilter
Subclasses must reset their status within this method.

Specified by:
subreset in class XPathAbstractFilter
See Also:
XPathAbstractFilter.subreset()


Copyright © 2003-2004 XFP Team. All Rights Reserved.