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 ValidationContextpublic boolean needFacetChecking()
needFacetChecking in interface ValidationContextpublic boolean needToNormalize()
needToNormalize in interface ValidationContextpublic boolean useNamespaces()
useNamespaces in interface ValidationContextpublic boolean isEntityDeclared(java.lang.String name)
isEntityDeclared in interface ValidationContextpublic boolean isEntityUnparsed(java.lang.String name)
isEntityUnparsed in interface ValidationContextpublic boolean isIdDeclared(java.lang.String name)
isIdDeclared in interface ValidationContextpublic void addId(java.lang.String name)
addId in interface ValidationContextpublic void addIdRef(java.lang.String name)
addIdRef in interface ValidationContextpublic java.lang.String getSymbol(java.lang.String symbol)
getSymbol in interface ValidationContextpublic java.lang.String getURI(java.lang.String prefix)
getURI in interface ValidationContextpublic void setLocale(java.util.Locale locale)
public java.util.Locale getLocale()
getLocale in interface ValidationContextCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.