com.opensymphony.xwork2.validator.metadata
Class DateRangeFieldValidatorDescription

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

public class DateRangeFieldValidatorDescription
extends AbstractFieldValidatorDescription

DateRangeFieldValidatorDescription

Version:
$Id: DateRangeFieldValidatorDescription.java 894090 2009-12-27 18:18:29Z martinc $
Author:
Rainer Hermanns

Field Summary
 java.lang.String max
           
 java.lang.String min
           
 
Fields inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
fieldName, key, log, message, shortCircuit, simpleValidator
 
Constructor Summary
DateRangeFieldValidatorDescription()
           
DateRangeFieldValidatorDescription(java.lang.String fieldName)
          Creates an AbstractFieldValidatorDescription with the specified field name.
 
Method Summary
 java.lang.String asFieldXml()
          Returns the field validator XML definition.
 java.lang.String asSimpleXml()
          Returns the validator XML definition.
 void setMax(java.lang.String max)
           
 void setMin(java.lang.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 java.lang.String min

max

public java.lang.String max
Constructor Detail

DateRangeFieldValidatorDescription

public DateRangeFieldValidatorDescription()

DateRangeFieldValidatorDescription

public DateRangeFieldValidatorDescription(java.lang.String fieldName)
Creates an AbstractFieldValidatorDescription with the specified field name.

Parameters:
fieldName -
Method Detail

setMin

public void setMin(java.lang.String min)

setMax

public void setMax(java.lang.String max)

asFieldXml

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

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

asSimpleXml

public java.lang.String asSimpleXml()
Returns the validator XML definition.

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


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