org.apache.xerces.impl.xs

## Class XMLSchemaValidatorBase.UniqueValueStore

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

- All Implemented Interfaces:
    ValueStore
  Enclosing class:
    XMLSchemaValidatorBase

      protected class XMLSchemaValidatorBase.UniqueValueStore
      extends XMLSchemaValidatorBase.ValueStoreBase

  Unique value store.

- - ### Field Summary

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

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMLSchemaValidatorBase.UniqueValueStore(UniqueOrKey unique, java.lang.String elementName)` 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.XMLSchemaValidatorBase.ValueStoreBase

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

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

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

- - ### Constructor Detail

    - #### XMLSchemaValidatorBase.UniqueValueStore

          public XMLSchemaValidatorBase.UniqueValueStore(UniqueOrKey unique,
                                                 java.lang.String elementName)

      Constructs a unique value store.

  - ### Method Detail

    - #### checkDuplicateValues

          protected void checkDuplicateValues()

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

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