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

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

public class SingleDoubleURLParameter
extends AbstractSingleURLParameter<Double>

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
SingleDoubleURLParameter(String parameterName)
           
SingleDoubleURLParameter(String parameterName, Double defaultValue)
           
 
Method Summary
protected  boolean consumeImpl(Map<String,List<String>> parameters)
           
protected  boolean consumeListImpl(String[] values)
           
private  boolean consumeValue(String stringValue)
           
 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

SingleDoubleURLParameter

public SingleDoubleURLParameter(String parameterName)

SingleDoubleURLParameter

public SingleDoubleURLParameter(String parameterName,
                                Double defaultValue)
Method Detail

consumeImpl

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

consumeListImpl

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

consumeValue

private boolean consumeValue(String stringValue)

getErrorCommandIfInvalid

public AbstractURLActionCommand getErrorCommandIfInvalid()


Copyright © 2007-2011. All Rights Reserved.