BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.apache.xerces.validators.common
Class XMLValidator.ValueStoreCache

java.lang.Object
  |
  +--weblogic.apache.xerces.validators.common.XMLValidator.ValueStoreCache

protected class XMLValidator.ValueStoreCache
extends java.lang.Object

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

Author:
Andy Clark, IBM

Field Summary
protected  java.util.Hashtable fIdentityConstraint2ValueStoreMap
          Values stores associated to specific identity constraints.
protected  java.util.Vector fValueStores
          Values stores.
 
Constructor Summary
XMLValidator.ValueStoreCache()
          Default constructor.
 
Method Summary
 void endDocument()
          Check identity constraints.
 XMLValidator.ValueStoreBase getValueStoreFor(Field field)
          Returns the value store associated to the specified field.
 void initValueStoresFor(XMLElementDecl edecl)
          Initializes the value stores for the specified element declaration.
 void startDocument()
          Resets the identity constraint cache.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fValueStores

protected final java.util.Vector fValueStores
Values stores.

fIdentityConstraint2ValueStoreMap

protected final java.util.Hashtable fIdentityConstraint2ValueStoreMap
Values stores associated to specific identity constraints.
Constructor Detail

XMLValidator.ValueStoreCache

public XMLValidator.ValueStoreCache()
Default constructor.
Method Detail

startDocument

public void startDocument()
                   throws java.lang.Exception
Resets the identity constraint cache.

initValueStoresFor

public void initValueStoresFor(XMLElementDecl edecl)
                        throws java.lang.Exception
Initializes the value stores for the specified element declaration.

getValueStoreFor

public XMLValidator.ValueStoreBase getValueStoreFor(Field field)
Returns the value store associated to the specified field.

endDocument

public void endDocument()
                 throws java.lang.Exception
Check identity constraints.

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.