org.apache.xerces.impl.validation

Class ValidationManager


public class ValidationManager
extends java.lang.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

Field Summary

protected boolean
fCachedDTD
protected boolean
fGrammarFound
protected Vector
fVSs

Method Summary

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 Details

fCachedDTD

protected boolean fCachedDTD

fGrammarFound

protected boolean fGrammarFound

fVSs

protected final Vector fVSs

Method Details

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.