public class ValidationState extends Object implements ValidationContext
Constructor and Description |
---|
ValidationState() |
Modifier and Type | Method and Description |
---|---|
void |
addId(String name) |
void |
addIdRef(String name) |
String |
checkIDRefID()
return null if all IDREF values have a corresponding ID value;
otherwise return the first IDREF value without a matching ID value.
|
Locale |
getLocale() |
String |
getSymbol(String symbol) |
String |
getURI(String prefix) |
boolean |
isEntityDeclared(String name) |
boolean |
isEntityUnparsed(String name) |
boolean |
isIdDeclared(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(Locale locale) |
void |
setNamespaceSupport(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(NamespaceContext namespace)
public void setSymbolTable(SymbolTable sTable)
public String 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(String name)
isEntityDeclared
in interface ValidationContext
public boolean isEntityUnparsed(String name)
isEntityUnparsed
in interface ValidationContext
public boolean isIdDeclared(String name)
isIdDeclared
in interface ValidationContext
public void addId(String name)
addId
in interface ValidationContext
public void addIdRef(String name)
addIdRef
in interface ValidationContext
public String getSymbol(String symbol)
getSymbol
in interface ValidationContext
public String getURI(String prefix)
getURI
in interface ValidationContext
public void setLocale(Locale locale)
public Locale getLocale()
getLocale
in interface ValidationContext
Copyright © 2017 JBoss by Red Hat. All rights reserved.