net.sourceforge.stripes.controller
Class DefaultActionBeanPropertyBinder.Row

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<ParameterName,String[]>
          extended by net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.Row
All Implemented Interfaces:
Serializable, Cloneable, Map<ParameterName,String[]>
Enclosing class:
DefaultActionBeanPropertyBinder

protected static class DefaultActionBeanPropertyBinder.Row
extends HashMap<ParameterName,String[]>

An inner class that represents a "row" of form properties that all have the same index so that we can validate all those properties together.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
protected DefaultActionBeanPropertyBinder.Row()
           
 
Method Summary
 boolean hasNonEmptyValues()
          Returns true if the row had any non-empty values in it, otherwise false.
 String[] put(ParameterName key, String[] values)
          Adds the value to the map, along the way checking to see if there are any non-null values for the row so far.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

DefaultActionBeanPropertyBinder.Row

protected DefaultActionBeanPropertyBinder.Row()
Method Detail

put

public String[] put(ParameterName key,
                    String[] values)
Adds the value to the map, along the way checking to see if there are any non-null values for the row so far.

Specified by:
put in interface Map<ParameterName,String[]>
Overrides:
put in class HashMap<ParameterName,String[]>

hasNonEmptyValues

public boolean hasNonEmptyValues()
Returns true if the row had any non-empty values in it, otherwise false.



? Copyright 2005-2006, Stripes Development Team.