public static interface ApacheValidatorConfiguration.Properties
ConfigurationImpl
Modifier and Type | Field and Description |
---|---|
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: jsr 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
- true (validate maps like beans, so that
you can use Maps to validate dynamic classes or
beans for which you have the MetaBean but no instances)
- false (default), validate maps like collections
(validating the values only)
default: false
|
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. |
static final String VALIDATION_XML_PATH
static final String ENABLE_INTROSPECTOR
static final String ENABLE_METABEANS_XML
static final String TREAT_MAPS_LIKE_BEANS
static final String VALIDATOR_FACTORY_CLASSNAME
ValidatorFactory
to use: this
class is presumed have a constructor that accepts a single
ConfigurationState
argument.static final String METABEAN_FACTORY_CLASSNAMES
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:
ApacheFactoryContext
ApacheValidatorFactory
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.