public class ValidationState extends java.lang.Object implements ValidationContext
Constructor and Description |
---|
ValidationState() |
Modifier and Type | Method and Description |
---|---|
void |
addId(java.lang.String name) |
void |
addIdRef(java.lang.String name) |
java.util.Iterator |
checkIDRefID()
return null if all IDREF values have a corresponding ID value;
otherwise return an iterator for all the IDREF values without
a matching ID value.
|
java.util.Locale |
getLocale() |
java.lang.String |
getSymbol(java.lang.String symbol) |
java.lang.String |
getURI(java.lang.String prefix) |
boolean |
isEntityDeclared(java.lang.String name) |
boolean |
isEntityUnparsed(java.lang.String name) |
boolean |
isIdDeclared(java.lang.String name) |
boolean |
needExtraChecking() |
boolean |
needFacetChecking() |
boolean |
needToNormalize() |
void |
reset() |
void |
resetIDTables()
The same validation state can be used to validate more than one (schema)
validation roots.
|
void |
setEntityState(EntityState state) |
void |
setExtraChecking(boolean newValue) |
void |
setFacetChecking(boolean newValue) |
void |
setLocale(java.util.Locale locale) |
void |
setNamespaceSupport(org.apache.xerces.xni.NamespaceContext namespace) |
void |
setNormalizationRequired(boolean newValue) |
void |
setSymbolTable(SymbolTable sTable) |
void |
setUsingNamespaces(boolean newValue) |
boolean |
useNamespaces() |
public void setExtraChecking(boolean newValue)
public void setFacetChecking(boolean newValue)
public void setNormalizationRequired(boolean newValue)
public void setUsingNamespaces(boolean newValue)
public void setEntityState(EntityState state)
public void setNamespaceSupport(org.apache.xerces.xni.NamespaceContext namespace)
public void setSymbolTable(SymbolTable sTable)
public java.util.Iterator checkIDRefID()
public void reset()
public void resetIDTables()
public boolean needExtraChecking()
needExtraChecking
in interface ValidationContext
public boolean needFacetChecking()
needFacetChecking
in interface ValidationContext
public boolean needToNormalize()
needToNormalize
in interface ValidationContext
public boolean useNamespaces()
useNamespaces
in interface ValidationContext
public boolean isEntityDeclared(java.lang.String name)
isEntityDeclared
in interface ValidationContext
public boolean isEntityUnparsed(java.lang.String name)
isEntityUnparsed
in interface ValidationContext
public boolean isIdDeclared(java.lang.String name)
isIdDeclared
in interface ValidationContext
public void addId(java.lang.String name)
addId
in interface ValidationContext
public void addIdRef(java.lang.String name)
addIdRef
in interface ValidationContext
public java.lang.String getSymbol(java.lang.String symbol)
getSymbol
in interface ValidationContext
public java.lang.String getURI(java.lang.String prefix)
getURI
in interface ValidationContext
public void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
getLocale
in interface ValidationContext
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.