org.merlotxml.util.xml.xerces
Class SchemaIdentityConstraintValidator.DynamicValueStore
java.lang.Object
org.merlotxml.util.xml.xerces.SchemaIdentityConstraintValidator.DynamicValueStore
- Enclosing class:
- SchemaIdentityConstraintValidator
- public class SchemaIdentityConstraintValidator.DynamicValueStore
- extends java.lang.Object
Similar to org.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreCache
except that the Xerces ValueStores are not dynamic - they were
intended to validate only once during parsing.
These ValueStores are used for identity constraints - to keep track of
the values of Keys, KeyRefs, and Uniques. It allows errors about
duplicate IDs to be obtained. It also gives the possible values that
may be inserted into a KeyRef field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_AN_IDVALUE
public final IDValue NOT_AN_IDVALUE
- Not a value (Unicode: #FFFF).
EMPTY_IDVALUE
public final IDValue EMPTY_IDVALUE
SchemaIdentityConstraintValidator.DynamicValueStore
public SchemaIdentityConstraintValidator.DynamicValueStore(org.apache.xerces.impl.xs.identity.IdentityConstraint constraint)
setValue
public void setValue(org.apache.xerces.impl.xs.identity.Field field,
FieldNode node,
java.lang.String value)
getErrorMessage
public java.lang.String getErrorMessage(FieldNode node)