com.opensymphony.xwork2.validator.metadata
Class URLValidatorDescription

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

public class URLValidatorDescription
extends AbstractFieldValidatorDescription

URLValidatorDescription

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

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
fieldName, key, log, message, shortCircuit, simpleValidator
 
Constructor Summary
URLValidatorDescription()
           
URLValidatorDescription(String fieldName)
          Creates an AbstractFieldValidatorDescription with the specified aliasNames.
 
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

URLValidatorDescription

public URLValidatorDescription()

URLValidatorDescription

public URLValidatorDescription(String fieldName)
Creates an AbstractFieldValidatorDescription with the specified aliasNames.

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 © 2009 OpenSymphony. All Rights Reserved.