org.apache.xerces.impl.xs

## Class XMLSchemaValidator.UniqueValueStore

- java.lang.Object
- - org.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreBase
  - - org.apache.xerces.impl.xs.XMLSchemaValidator.UniqueValueStore

- All Implemented Interfaces:
    ValueStore
  Enclosing class:
    XMLSchemaValidator

      protected class XMLSchemaValidator.UniqueValueStore
      extends XMLSchemaValidator.ValueStoreBase

  Unique value store.
  Author:
    Andy Clark, IBM

- - ### Field Summary

    - ### Fields inherited from class org.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreBase

      `fFieldCount, fFields, fHasValue, fIdentityConstraint, fItemValueTypes, fLocalItemValueTypes, fLocalValues, fLocalValueTypes, fValues, fValuesCount, fValueTypes`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLSchemaValidator.UniqueValueStore(UniqueOrKey unique)` Constructs a unique value store.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `checkDuplicateValues()` Called when a duplicate value is added.

    - ### Methods inherited from class org.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreBase

      `addValue, append, clear, contains, contains, endDocument, endDocumentFragment, endValueScope, reportError, startValueScope, toString, toString, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLSchemaValidator.UniqueValueStore

          public XMLSchemaValidator.UniqueValueStore(UniqueOrKey unique)

      Constructs a unique value store.

  - ### Method Detail

    - #### checkDuplicateValues

          protected void checkDuplicateValues()

      Called when a duplicate value is added.
      Overrides:
        `checkDuplicateValues` in class `XMLSchemaValidator.ValueStoreBase`

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.