Module org.apache.jena.core
Class ValidationManager
java.lang.Object
org.apache.jena.ext.xerces.impl.validation.ValidationManager
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.
@xerces.internal
- Version:
- $Id: ValidationManager.java 606491 2007-12-22 21:00:53Z mrglavas $
- Author:
- Elena Litani, IBM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidEach validator should call this method to add its ValidationState into the validation manager.final booleanfinal booleanfinal voidreset()final voidsetCachedDTD(boolean cachedDTD) final voidsetEntityState(EntityState state) Set the information required to validate entity values.final voidsetGrammarFound(boolean grammar)
-
Constructor Details
-
ValidationManager
public ValidationManager()
-
-
Method Details
-
addValidationState
Each validator should call this method to add its ValidationState into the validation manager. -
setEntityState
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()
-