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
Class ValidatorConfig.Builder

    java.lang.Object
      com.opensymphony.xwork2.validator.ValidatorConfig.Builder

Enclosing class:
  ValidatorConfig

    public static final class ValidatorConfig.Builder

extends Object

Builds a ValidatorConfig

Constructor Summary
`ValidatorConfig.Builder(String validatorType)`
`ValidatorConfig.Builder(ValidatorConfig config)`

Method Summary
`ValidatorConfig.Builder` | `addParam(String name, Object value)`
`ValidatorConfig.Builder` | `addParams(Map<String,Object> params)`
`ValidatorConfig` | `build()`
`ValidatorConfig.Builder` | `defaultMessage(String msg)`
`ValidatorConfig.Builder` | `location(Location loc)`
`ValidatorConfig.Builder` | `messageKey(String key)`
`ValidatorConfig.Builder` | `messageParams(String[] msgParams)`
`ValidatorConfig.Builder` | `removeParam(String key)`
`ValidatorConfig.Builder` | `shortCircuit(boolean shortCircuit)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ValidatorConfig.Builder

    public ValidatorConfig.Builder(String validatorType)

### ValidatorConfig.Builder

    public ValidatorConfig.Builder(ValidatorConfig config)

Method Detail

### shortCircuit

    public ValidatorConfig.Builder shortCircuit(boolean shortCircuit)

### defaultMessage

    public ValidatorConfig.Builder defaultMessage(String msg)

### messageParams

    public ValidatorConfig.Builder messageParams(String[] msgParams)

### messageKey

    public ValidatorConfig.Builder messageKey(String key)

### addParam

    public ValidatorConfig.Builder addParam(String name,
                                            Object value)

### addParams

    public ValidatorConfig.Builder addParams(Map<String,Object> params)

### location

    public ValidatorConfig.Builder location(Location loc)

### build

    public ValidatorConfig build()

### removeParam

    public ValidatorConfig.Builder removeParam(String key)

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 © 2000–2017 Apache Software Foundation. All rights reserved.