org.springjutsu.validation.executors.impl
Class NumericRuleExecutor

java.lang.Object
  extended by org.springjutsu.validation.executors.ValidWhenEmptyRuleExecutor
      extended by org.springjutsu.validation.executors.RegexMatchRuleExecutor
          extended by org.springjutsu.validation.executors.impl.NumericRuleExecutor
All Implemented Interfaces:
RuleExecutor

public class NumericRuleExecutor
extends RegexMatchRuleExecutor

Asserts that the model is in fact numeric.

Author:
Clark Duplichien, Taylor Wicksell

Field Summary
static String NUMERIC_PATTERN
          A strict numeric pattern.
 
Constructor Summary
NumericRuleExecutor()
           
 
Method Summary
 String getRegularExpression()
           
 
Methods inherited from class org.springjutsu.validation.executors.RegexMatchRuleExecutor
doValidate
 
Methods inherited from class org.springjutsu.validation.executors.ValidWhenEmptyRuleExecutor
validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMERIC_PATTERN

public static final String NUMERIC_PATTERN
A strict numeric pattern.

See Also:
Constant Field Values
Constructor Detail

NumericRuleExecutor

public NumericRuleExecutor()
Method Detail

getRegularExpression

public String getRegularExpression()
Specified by:
getRegularExpression in class RegexMatchRuleExecutor


Copyright © 2013 Spring Jutsu. All Rights Reserved.