|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.centrasite.appl.framework.validation.impl.ValidationDefaults
public class ValidationDefaults
This object provides defaults to the validation frameworks. The object
is typically created by parsing one or more XML documents, which are
compliant to the validationDefaults.xsd
file. The validation
framework itself provides a default object, but the framework user
(aka application programmer) may override these settings.
Obtaining ValidationDefaults
objects is typically a comparatively
expensive operation. It is therefore recommended to obtain these objects
when the application comes up and store them in a singleton object or
in a static variable.
Nested Class Summary | |
---|---|
static class |
ValidationDefaults.ConditionFactory
An instance of this class specifies the frameworks ConditionFactory . |
static class |
ValidationDefaults.ConstraintFactory
An instance of this class specifies the frameworks ConstraintFactory . |
static class |
ValidationDefaults.ErrorCodeFactory
An instance of this class specifies the frameworks ErrorCodeFactory . |
static class |
ValidationDefaults.Implementation<T>
Default class for deriving instances of "instantiation". |
static class |
ValidationDefaults.Instantiation
This enumeration is used to specify the various instantiation types. |
static class |
ValidationDefaults.ScopeFactory
An instance of this class specifies the frameworks ScopeFactory . |
Constructor Summary | |
---|---|
ValidationDefaults()
|
Method Summary | |
---|---|
java.lang.ClassLoader |
getClassLoader()
Returns the validation factories classloader. |
ValidationDefaults.ConditionFactory |
getConditionFactory()
Returns the specification of the ConditionFactory |
ValidationDefaults.ConstraintFactory |
getConstraintFactory()
Returns the specification of the ConstraintFactory |
ValidationDefaults.ErrorCodeFactory |
getErrorCodeFactory()
Returns the specification of the ErrorCodeFactory |
ValidationDefaults.ScopeFactory |
getScopeFactory()
Returns the specification of the ScopeFactory |
ValidatableClasses |
getValidatableClasses()
Returns the specification of the possible Validatable classes. |
void |
setClassLoader(java.lang.ClassLoader pClassLoader)
Sets the validation factories classloader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationDefaults()
Method Detail |
---|
public ValidatableClasses getValidatableClasses()
Validatable
classes.
public ValidationDefaults.ScopeFactory getScopeFactory()
ScopeFactory
public ValidationDefaults.ConditionFactory getConditionFactory()
ConditionFactory
public ValidationDefaults.ConstraintFactory getConstraintFactory()
ConstraintFactory
public ValidationDefaults.ErrorCodeFactory getErrorCodeFactory()
ErrorCodeFactory
public java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader pClassLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |