com.opensymphony.xwork2.validator.metadata
Class DoubleRangeFieldValidatorDescription

java.lang.Object
  extended by com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
      extended by com.opensymphony.xwork2.validator.metadata.DoubleRangeFieldValidatorDescription
All Implemented Interfaces:
ValidatorDescription

public class DoubleRangeFieldValidatorDescription
extends AbstractFieldValidatorDescription

DoubleRangeFieldValidatorDescription

Version:
$Id: DoubleRangeFieldValidatorDescription.java 1833 2008-06-21 09:29:39Z rainerh $
Author:
Rainer Hermanns

Field Summary
 String max
           
 String min
           
 
Fields inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
fieldName, key, log, message, shortCircuit, simpleValidator
 
Constructor Summary
DoubleRangeFieldValidatorDescription()
           
DoubleRangeFieldValidatorDescription(String fieldName)
          Creates an DoubleRangeFieldValidatorDescription with the specified field name.
 
Method Summary
 String asFieldXml()
          Returns the field validator XML definition.
 String asSimpleXml()
          Returns the validator XML definition.
 void setMax(String max)
           
 void setMin(String min)
           
 
Methods inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
asXml, getFieldName, isSimpleValidator, setFieldName, setKey, setMessage, setShortCircuit, setSimpleValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

public String min

max

public String max
Constructor Detail

DoubleRangeFieldValidatorDescription

public DoubleRangeFieldValidatorDescription()

DoubleRangeFieldValidatorDescription

public DoubleRangeFieldValidatorDescription(String fieldName)
Creates an DoubleRangeFieldValidatorDescription with the specified field name.

Parameters:
fieldName -
Method Detail

setMin

public void setMin(String min)

setMax

public void setMax(String max)

asFieldXml

public String asFieldXml()
Returns the field validator XML definition.

Specified by:
asFieldXml in class AbstractFieldValidatorDescription
Returns:
the field validator XML definition.

asSimpleXml

public String asSimpleXml()
Returns the validator XML definition.

Specified by:
asSimpleXml in class AbstractFieldValidatorDescription
Returns:
the validator XML definition.


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.