Top Description Fields Constructors Methods
org.apache.xerces.impl.validation

public Class ValidationManager

extends Object
Class Inheritance
Imports
java.util.ArrayList

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.
Author
Elena Litani, IBM
Version
$Id: ValidationManager.java 606491 2007-12-22 21:00:53Z mrglavas $

Field Summary

Modifier and TypeField and Description
protected boolean
protected boolean
protected final ArrayList<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
addValidationState(ValidationState vs)

Each validator should call this method to add its ValidationState into the validation manager.

public final boolean
public final boolean
public final void
public final void
setCachedDTD(boolean cachedDTD)

public final void
setEntityState(EntityState state)

Set the information required to validate entity values.

public final void
setGrammarFound(boolean grammar)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fCachedDTDback to summary
protected boolean fCachedDTD
fGrammarFoundback to summary
protected boolean fGrammarFound
fVSsback to summary
protected final ArrayList<E> fVSs

Constructor Detail

ValidationManagerback to summary
public ValidationManager()

Method Detail

addValidationStateback to summary
public final void addValidationState(ValidationState vs)

Each validator should call this method to add its ValidationState into the validation manager.

isCachedDTDback to summary
public final boolean isCachedDTD()
isGrammarFoundback to summary
public final boolean isGrammarFound()
resetback to summary
public final void reset()
setCachedDTDback to summary
public final void setCachedDTD(boolean cachedDTD)
setEntityStateback to summary
public final void setEntityState(EntityState state)

Set the information required to validate entity values.

setGrammarFoundback to summary
public final void setGrammarFound(boolean grammar)