Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.validator.metadata
Class VisitorFieldValidatorDescription

    java.lang.Object
      com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
          com.opensymphony.xwork2.validator.metadata.VisitorFieldValidatorDescription

All Implemented Interfaces:
  ValidatorDescription

    public class VisitorFieldValidatorDescription

extends AbstractFieldValidatorDescription

`VisitorFieldValidatorDescription`

Version:
  $Id: VisitorFieldValidatorDescription.java 1187 2006-11-13 09:05:32 +0100 (Mon, 13 Nov 2006) mrdon $
Author:
  Rainer Hermanns

Field Summary
`boolean` | `appendPrefix`
`String` | `context`

Fields inherited from class com.opensymphony.xwork2.validator.metadata.AbstractFieldValidatorDescription
`fieldName, key, log, message, shortCircuit, simpleValidator`

Constructor Summary
`VisitorFieldValidatorDescription()`
`VisitorFieldValidatorDescription(String fieldName)` Creates an AbstractFieldValidatorDescription with the specified field name.

Method Summary
`String` | `asFieldXml()` Returns the validator XML definition.
`String` | `asSimpleXml()` Returns the validator XML definition.
`void` | `setAppendPrefix(boolean appendPrefix)`
`void` | `setContext(String context)`

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

### context

    public String context

### appendPrefix

    public boolean appendPrefix

Constructor Detail

### VisitorFieldValidatorDescription

    public VisitorFieldValidatorDescription()

### VisitorFieldValidatorDescription

    public VisitorFieldValidatorDescription(String fieldName)

  Creates an AbstractFieldValidatorDescription with the specified field name.

  Parameters:
    `fieldName` -

Method Detail

### setContext

    public void setContext(String context)

### setAppendPrefix

    public void setAppendPrefix(boolean appendPrefix)

### asFieldXml

    public String asFieldXml()

  Returns the validator XML definition.

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

### asSimpleXml

    public String asSimpleXml()

  Returns the validator XML definition.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 OpenSymphony. All Rights Reserved.