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

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

public class SingleLongWithIgnoredTextURLParameter
extends SingleLongURLParameter

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
private static Pattern sPattern
           
 
Fields inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.AbstractURLParameter
mError, mValue
 
Constructor Summary
SingleLongWithIgnoredTextURLParameter(String parameterName)
           
SingleLongWithIgnoredTextURLParameter(String parameterName, Long defaultValue)
           
 
Method Summary
protected  boolean consumeImpl(Map<String,List<String>> parameters)
           
 boolean consumeList(String[] values)
           
private  String convertValue(String value)
           
 
Methods inherited from class info.rolandkrueger.roklib.webapps.urldispatching.urlparameters.SingleLongURLParameter
consumeListImpl, 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, 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

sPattern

private static final Pattern sPattern
Constructor Detail

SingleLongWithIgnoredTextURLParameter

public SingleLongWithIgnoredTextURLParameter(String parameterName,
                                             Long defaultValue)

SingleLongWithIgnoredTextURLParameter

public SingleLongWithIgnoredTextURLParameter(String parameterName)
Method Detail

consumeImpl

protected boolean consumeImpl(Map<String,List<String>> parameters)
Overrides:
consumeImpl in class SingleLongURLParameter

convertValue

private String convertValue(String value)

consumeList

public boolean consumeList(String[] values)
Specified by:
consumeList in interface IURLParameter<Long>
Overrides:
consumeList in class AbstractURLParameter<Long>


Copyright © 2007-2011. All Rights Reserved.