Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.apache.xerces.impl.xs
Class XMLSchemaValidator.ValueStoreCache

    java.lang.Object
      weblogic.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreCache

Enclosing class:
  XMLSchemaValidator

    protected class XMLSchemaValidator.ValueStoreCache

extends Object

Value store cache. This class is used to store the values for identity constraints.

Field Summary
`protected Hashtable` | `fGlobalIDConstraintMap`
`protected Stack` | `fGlobalMapStack`
`protected Hashtable` | `fIdentityConstraint2ValueStoreMap` Values stores associated to specific identity constraints.
`protected Vector` | `fValueStores` stores all global Values stores.

Constructor Summary
`XMLSchemaValidator.ValueStoreCache()` Default constructor.

Method Summary
`void` | `endDocument()` Check identity constraints.
`void` | `endElement()`
`XMLSchemaValidator.ValueStoreBase` | `getGlobalValueStoreFor(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id)` Returns the global value store associated to the specified IdentityConstraint.
`XMLSchemaValidator.ValueStoreBase` | `getValueStoreFor(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id, int initialDepth)` Returns the value store associated to the specified IdentityConstraint.
`void` | `initValueStoresFor(XSElementDecl eDecl)` Initializes the value stores for the specified element declaration.
`void` | `startDocument()` Resets the identity constraint cache.
`void` | `startElement()`
`String` | `toString()` Returns a string representation of this object.
`void` | `transplant(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id, int initialDepth)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### fValueStores

    protected final Vector fValueStores

  stores all global Values stores.

### fIdentityConstraint2ValueStoreMap

    protected final Hashtable fIdentityConstraint2ValueStoreMap

  Values stores associated to specific identity constraints. This hashtable maps IdentityConstraints and the 0-based element on which their selectors first matched to a corresponding ValueStore. This should take care of all cases, including where ID constraints with descendant-or-self axes occur on recursively-defined elements.

### fGlobalMapStack

    protected final Stack fGlobalMapStack

### fGlobalIDConstraintMap

    protected final Hashtable fGlobalIDConstraintMap

Constructor Detail

### XMLSchemaValidator.ValueStoreCache

    public XMLSchemaValidator.ValueStoreCache()

  Default constructor.

Method Detail

### startDocument

    public void startDocument()
                       throws XNIException

  Resets the identity constraint cache.

  Throws:
    `XNIException`

### startElement

    public void startElement()

### endElement

    public void endElement()

### initValueStoresFor

    public void initValueStoresFor(XSElementDecl eDecl)

  Initializes the value stores for the specified element declaration.

### getValueStoreFor

    public XMLSchemaValidator.ValueStoreBase getValueStoreFor(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id,
                                                              int initialDepth)

  Returns the value store associated to the specified IdentityConstraint.

### getGlobalValueStoreFor

    public XMLSchemaValidator.ValueStoreBase getGlobalValueStoreFor(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id)

  Returns the global value store associated to the specified IdentityConstraint.

### transplant

    public void transplant(weblogic.apache.xerces.impl.xs.identity.IdentityConstraint id,
                           int initialDepth)

### endDocument

    public void endDocument()

  Check identity constraints.

### toString

    public String toString()

  Returns a string representation of this object.

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs92 Copyright 2006 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD