org.apache.xerces.impl.validation
Class ValidationState
java.lang.Object
org.apache.xerces.impl.validation.ValidationState
- ValidationContext
public class ValidationState
extends java.lang.Object
Implementation of ValidationContext inteface. Used to establish an
environment for simple type validation.
$Id: ValidationState.java 320091 2004-10-04 22:07:41Z mrglavas $
checkIDRefID
public String checkIDRefID()
return null if all IDREF values have a corresponding ID value;
otherwise return the first IDREF value without a matching ID value.
resetIDTables
public void resetIDTables()
The same validation state can be used to validate more than one (schema)
validation roots. Entity/Namespace/Symbol are shared, but each validation
root needs its own id/idref tables. So we need this method to reset only
the two tables.
setEntityState
public void setEntityState(EntityState state)
setExtraChecking
public void setExtraChecking(boolean newValue)
setFacetChecking
public void setFacetChecking(boolean newValue)
setNamespaceSupport
public void setNamespaceSupport(org.apache.xerces.xni.NamespaceContext namespace)
setNormalizationRequired
public void setNormalizationRequired(boolean newValue)
setSymbolTable
public void setSymbolTable(SymbolTable sTable)
setUsingNamespaces
public void setUsingNamespaces(boolean newValue)
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.