com.opensymphony.xwork2.validator.metadata
Class ConversionErrorFieldValidatorDescription

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

public class ConversionErrorFieldValidatorDescription
extends AbstractFieldValidatorDescription

ConversionErrorFieldValidatorDescription

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

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
fieldName, key, log, message, shortCircuit, simpleValidator
 
Constructor Summary
ConversionErrorFieldValidatorDescription()
           
ConversionErrorFieldValidatorDescription(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.
 
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

ConversionErrorFieldValidatorDescription

public ConversionErrorFieldValidatorDescription()

ConversionErrorFieldValidatorDescription

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

Parameters:
fieldName -
Method Detail

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.