public abstract class AnnotationValidatorFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected ActionManagerFactory |
actionFact |
protected Map<String,Class<? extends AnnotationValidator>> |
validatorClasses |
Constructor and Description |
---|
AnnotationValidatorFactory() |
AnnotationValidatorFactory(ActionManagerFactory actionFact) |
Modifier and Type | Method and Description |
---|---|
AnnotationValidator |
getAnnotationValidator(PreflightContext ctx,
COSDictionary annotDic)
Return an instance of AnnotationValidator.
|
protected abstract void |
initializeClasses()
Initialize the map of Validation classes used to create a validation object according to the Annotation subtype.
|
void |
setActionFact(ActionManagerFactory _actionFact) |
protected ActionManagerFactory actionFact
protected Map<String,Class<? extends AnnotationValidator>> validatorClasses
public AnnotationValidatorFactory()
public AnnotationValidatorFactory(ActionManagerFactory actionFact)
public final void setActionFact(ActionManagerFactory _actionFact)
protected abstract void initializeClasses()
public final AnnotationValidator getAnnotationValidator(PreflightContext ctx, COSDictionary annotDic) throws ValidationException
ctx
- the preflight context.annotDic
- the annotation dictionary.ValidationException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.