org.xfp.filters.jxpath
Class JXPathSetValue

java.lang.Object
  extended byorg.xfp.AttributeContainer
      extended byorg.xfp.Filter
          extended byorg.xfp.filters.jxpath.JXPathAbstractFilter
              extended byorg.xfp.filters.jxpath.JXPathSetValue

public class JXPathSetValue
extends JXPathAbstractFilter

Modifies the value of the property described by the supplied xpath. Will throw an exception if one of the following conditions occurs:

Version:
$Id: JXPathSetValue.java,v 1.1 2004/03/19 15:56:31 flaviotordini Exp $
Author:
Flavio Tordini
JAR Dependency:
Apache JXPath (Jakarta Commons)

Nested Class Summary
 
Nested classes inherited from class org.xfp.Filter
Filter.OnErrorEnum, Filter.OnLoopErrorEnum
 
Field Summary
 
Fields inherited from class org.xfp.AttributeContainer
name, parentContainer
 
Constructor Summary
JXPathSetValue()
           
 
Method Summary
 void execute(java.lang.Object bean)
          Executes this filter.
 void setValue(java.lang.Object value)
          Sets the value.
protected  void subreset()
          Subclasses must reset their status within this method.
 
Methods inherited from class org.xfp.filters.jxpath.JXPathAbstractFilter
getXpath, reset, 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

JXPathSetValue

public JXPathSetValue()
Method Detail

execute

public void execute(java.lang.Object bean)
Executes this filter.

Parameters:
bean - The context bean
Returns:
the result object.

subreset

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

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

setValue

public void setValue(java.lang.Object value)
Sets the value.

Parameters:
value - The value to set


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