com.opensymphony.xwork2.validator.metadata
Class EmailValidatorDescription

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

public class EmailValidatorDescription
extends AbstractFieldValidatorDescription

EmailValidatorDescription

Version:
$Id: EmailValidatorDescription.java 1187 2006-11-13 08:05:32Z mrdon $
Author:
Rainer Hermanns

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

Constructor Detail

EmailValidatorDescription

public EmailValidatorDescription()

EmailValidatorDescription

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

Parameters:
fieldName -
Method Detail

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-2008 Apache Software Foundation. All Rights Reserved.