info.rolandkrueger.roklib.webapps.urldispatching.urlparameters
Class SingleDateURLParameter

java.lang.Object
  extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter<V>
      extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractSingleURLParameter<Date>
          extended by info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.SingleDateURLParameter
All Implemented Interfaces:
IURLParameter<Date>, Serializable

public class SingleDateURLParameter
extends AbstractSingleURLParameter<Date>

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Fields inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter
mError, mValue
 
Constructor Summary
SingleDateURLParameter(String parameterName)
           
SingleDateURLParameter(String parameterName, Date defaultDate)
           
 
Method Summary
protected  boolean consumeImpl(Map<String,List<String>> parameters)
           
protected  boolean consumeListImpl(String[] values)
           
private  boolean consumeValue(String valueString)
           
 AbstractURLActionCommand getErrorCommandIfInvalid()
           
 
Methods inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractSingleURLParameter
getParameterName, getParameterNames, getSingleValueCount, parameterizeURLHandler, toString
 
Methods inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter
clearValue, consume, consumeList, getError, getValue, hasValue, isOptional, setDefaultValue, setError, setOptional, setValue, setValueAndParameterizeURLHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SingleDateURLParameter

public SingleDateURLParameter(String parameterName)

SingleDateURLParameter

public SingleDateURLParameter(String parameterName,
                              Date defaultDate)
Method Detail

consumeImpl

protected boolean consumeImpl(Map<String,List<String>> parameters)
Specified by:
consumeImpl in class AbstractURLParameter<Date>

consumeListImpl

protected boolean consumeListImpl(String[] values)
Specified by:
consumeListImpl in class AbstractURLParameter<Date>

consumeValue

private boolean consumeValue(String valueString)

getErrorCommandIfInvalid

public AbstractURLActionCommand getErrorCommandIfInvalid()


Copyright © 2007-2011. All Rights Reserved.