org.apache.commons.betwixt.expression
Interface Updater

All Known Implementing Classes:
CollectionUpdater, DynaBeanUpdater, MethodUpdater, TypedUpdater

public interface Updater

Updater acts like an lvalue which updates the current context bean from some text from an XML attribute or element.

Version:
$Revision: 438373 $
Author:
James Strachan

Method Summary
 void update(Context context, java.lang.Object newValue)
          Updates the current bean context with a new String value.
 

Method Detail

update

void update(Context context,
            java.lang.Object newValue)
Updates the current bean context with a new String value. This is typically used when parsing XML and updating a bean value from XML

Parameters:
context - update the bean in this Context
newValue - set value to this Object


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.