org.apache.xerces.impl.xs.identity
public interface ValueStore
Note: The component performing identity constraint collection and validation is responsible for providing an implementation of this interface. The component is also responsible for performing the necessary checks required by each type of identity constraint.
Version: $Id: ValueStore.java,v 1.9 2005/05/09 21:03:33 ankitp Exp $
Method Summary | |
---|---|
void | addValue(Field field, Object actualValue, short valueType, ShortList itemValueType)
Adds the specified value to the value store.
|
void | reportError(String key, Object[] args)
Since the valueStore will have access to an error reporter, this
allows it to be called appropriately. |
Parameters: field The field associated to the value. This reference is used to ensure that each field only adds a value once within a selection scope. actualValue The value to add.
Parameters: key the key of the localized error message args the list of arguments for substitution.