Class ValidationManager
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.validation.ValidationManager
-
public class ValidationManager extends Object
ValidationManager is a coordinator property for validators in the pipeline. Each validator must know how to interact with this property. Validators are not required to know what kind of other validators present in the pipeline, but should understand that there are others and that some coordination is required.- Version:
- $Id$
- Author:
- Elena Litani, IBM
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
fCachedDTD
protected boolean
fGrammarFound
protected ArrayList
fVSs
-
Constructor Summary
Constructors Constructor Description ValidationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValidationState(ValidationState vs)
Each validator should call this method to add its ValidationState into the validation manager.boolean
isCachedDTD()
boolean
isGrammarFound()
void
reset()
void
setCachedDTD(boolean cachedDTD)
void
setEntityState(EntityState state)
Set the information required to validate entity values.void
setGrammarFound(boolean grammar)
-
-
-
Field Detail
-
fVSs
protected final ArrayList fVSs
-
fGrammarFound
protected boolean fGrammarFound
-
fCachedDTD
protected boolean fCachedDTD
-
-
Method Detail
-
addValidationState
public final void addValidationState(ValidationState vs)
Each validator should call this method to add its ValidationState into the validation manager.
-
setEntityState
public final void setEntityState(EntityState state)
Set the information required to validate entity values.
-
setGrammarFound
public final void setGrammarFound(boolean grammar)
-
isGrammarFound
public final boolean isGrammarFound()
-
setCachedDTD
public final void setCachedDTD(boolean cachedDTD)
-
isCachedDTD
public final boolean isCachedDTD()
-
reset
public final void reset()
-
-