org.xfp.filters.jxpath
Class JXPathAbstractFilter
java.lang.Object
org.xfp.AttributeContainer
org.xfp.Filter
org.xfp.filters.jxpath.JXPathAbstractFilter
- Direct Known Subclasses:
- JXPathGetValue, JXPathIterate, JXPathSetValue
- public abstract class JXPathAbstractFilter
- extends Filter
Base class for filters performing JXPath operations.
- Version:
- $Id: JXPathAbstractFilter.java,v 1.1 2004/03/19 15:56:30 flaviotordini Exp $
- Author:
- Flavio Tordini
- JAR Dependency:
- Apache JXPath (Jakarta Commons)
Method Summary |
protected java.lang.String |
getXpath()
Returns the xpath. |
void |
reset()
Resets filter status after execution. |
void |
setXpath(java.lang.String xpath)
Sets the xpath. |
protected abstract void |
subreset()
Subclasses must reset their status within this method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JXPathAbstractFilter
public JXPathAbstractFilter()
reset
public final void reset()
- Description copied from class:
Filter
- Resets filter status after execution. This method is called after
execute(), even in case of exceptions. Since a Filter instance may be
reused (and actually is), you must use this method to reset all your
class members to their default value.
- Specified by:
reset
in class Filter
- See Also:
Filter.reset()
setXpath
public final void setXpath(java.lang.String xpath)
- Sets the xpath.
- Parameters:
xpath
- The xpath to set
subreset
protected abstract void subreset()
- Subclasses must reset their status within this method.
getXpath
protected final java.lang.String getXpath()
- Returns the xpath.
- Returns:
- String
Copyright © 2003-2004 XFP Team. All Rights Reserved.