com.sapportals.htmlb.validation

Class DateValidator

java.lang.Object
  extended bycom.sapportals.htmlb.validation.Validator
      extended bycom.sapportals.htmlb.validation.DataTypeValidator
          extended bycom.sapportals.htmlb.validation.RangeValidator
              extended bycom.sapportals.htmlb.validation.DateValidator

public class DateValidator
extends RangeValidator


Constructor Summary
DateValidator()
           
 
Method Summary
 String getErrorText(Locale locale)
          returns a locale specific error text
 String getJavascript(Locale locale)
          returns the java script function call that will be rendered into the html page
 
Methods inherited from class com.sapportals.htmlb.validation.RangeValidator
getJavascriptFuncThisParamMinMax, getMax, getMin
 
Methods inherited from class com.sapportals.htmlb.validation.DataTypeValidator
getValue, setValue
 
Methods inherited from class com.sapportals.htmlb.validation.Validator
getResourceBundle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateValidator

public DateValidator()
Method Detail

getJavascript

public String getJavascript(Locale locale)
returns the java script function call that will be rendered into the html page

Specified by:
getJavascript in class Validator
Parameters:
locale - the locale for which to format the value
Returns:
a String representation of Javascript

getErrorText

public String getErrorText(Locale locale)
returns a locale specific error text

Specified by:
getErrorText in class Validator
Parameters:
locale - the locale for which to format the value
Returns:
a String


Copyright 2006 SAP AG Complete Copyright Notice