org.apache.xerces.impl.validation

Class 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: ValidationManager.java,v 1.10 2004/10/04 22:07:41 mrglavas Exp $

Author: Elena Litani, IBM

UNKNOWN:

Field Summary
protected booleanfCachedDTD
protected booleanfGrammarFound
protected VectorfVSs
Method Summary
voidaddValidationState(ValidationState vs)
Each validator should call this method to add its ValidationState into the validation manager.
booleanisCachedDTD()
booleanisGrammarFound()
voidreset()
voidsetCachedDTD(boolean cachedDTD)
voidsetEntityState(EntityState state)
Set the information required to validate entity values.
voidsetGrammarFound(boolean grammar)

Field Detail

fCachedDTD

protected boolean fCachedDTD

fGrammarFound

protected boolean fGrammarFound

fVSs

protected final Vector fVSs

Method Detail

addValidationState

public final void addValidationState(ValidationState vs)
Each validator should call this method to add its ValidationState into the validation manager.

isCachedDTD

public final boolean isCachedDTD()

isGrammarFound

public final boolean isGrammarFound()

reset

public final void reset()

setCachedDTD

public final void setCachedDTD(boolean cachedDTD)

setEntityState

public final void setEntityState(EntityState state)
Set the information required to validate entity values.

setGrammarFound

public final void setGrammarFound(boolean grammar)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.