org.apache.bval.jsr303
Interface ApacheValidatorConfiguration.Properties

Enclosing interface:
ApacheValidatorConfiguration

public static interface ApacheValidatorConfiguration.Properties

Proprietary property keys for ConfigurationImpl


Field Summary
static String ENABLE_INTROSPECTOR
          true/false.
static String ENABLE_METABEANS_XML
          Deprecated. we could decide to drop this feature in the future. we keep it as long as we support both: jsr303 and xstream-xml meta data at the same time (and potentially for the same domain classes)
static String METABEAN_FACTORY_CLASSNAMES
          Specifies the names, delimited by whitespace, of MetaBeanFactory classes that should be added to collaborate with an ApacheFactoryContext's MetaBeanFinder.
static String TREAT_MAPS_LIKE_BEANS
          BeanValidator.treatMapsLikeBeans.
static String VALIDATION_XML_PATH
          the location where to look for the validation.xml file.
static String VALIDATOR_FACTORY_CLASSNAME
          Specifies the classname of the ValidatorFactory to use: this class is presumed have a constructor that accepts a single ConfigurationState argument.
 

Field Detail

VALIDATION_XML_PATH

static final String VALIDATION_XML_PATH
the location where to look for the validation.xml file. default: "META-INF/validation.xml"

See Also:
Constant Field Values

ENABLE_INTROSPECTOR

static final String ENABLE_INTROSPECTOR
true/false. use Introspector (java beans) metadata additionally to build metadata with JSR303.
This means that all properties exist that are java-bean properties and and that some features (Hidden, Readonly) are taken from Introspector to create the meta data.
default: false

See Also:
Constant Field Values

ENABLE_METABEANS_XML

static final String ENABLE_METABEANS_XML
Deprecated. we could decide to drop this feature in the future. we keep it as long as we support both: jsr303 and xstream-xml meta data at the same time (and potentially for the same domain classes)
true/false. use Apache metaBeans xml format additionally to build metadata with JSR303. default: false

See Also:
Constant Field Values

TREAT_MAPS_LIKE_BEANS

static final String TREAT_MAPS_LIKE_BEANS
BeanValidator.treatMapsLikeBeans. default: false

See Also:
Constant Field Values

VALIDATOR_FACTORY_CLASSNAME

static final String VALIDATOR_FACTORY_CLASSNAME
Specifies the classname of the ValidatorFactory to use: this class is presumed have a constructor that accepts a single ConfigurationState argument.

See Also:
Constant Field Values

METABEAN_FACTORY_CLASSNAMES

static final String METABEAN_FACTORY_CLASSNAMES
Specifies the names, delimited by whitespace, of MetaBeanFactory classes that should be added to collaborate with an ApacheFactoryContext's MetaBeanFinder. These are instantiated per ValidatorContext, attempting to use constructor arguments of decreasing specificity:
  1. assignable from the creating ApacheFactoryContext
  2. assignable from the associated ApacheValidatorFactory
  3. default (no-args) constructor

See Also:
Constant Field Values


Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.