org.apache.xerces.impl.validation.identity
Interface ValueStore
- public interface ValueStore
Interface for storing values associated to an identity constraint.
Each value stored corresponds to a field declared for the identity
constraint. One instance of an object implementing this interface
is created for each identity constraint per element declaration in
the instance document to store the information for this identity
constraint.
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.1.2.2 2001/05/09 21:10:53 lehors Exp $
- Author:
- Andy Clark, IBM
Method Summary |
void |
addValue(java.lang.String value,
Field field)
Adds the specified value to the value store. |
addValue
public void addValue(java.lang.String value,
Field field)
throws org.apache.xerces.xni.XNIException
- Adds the specified value to the value store.
- Parameters:
value
- The value to add.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.
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.