|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.xs.XMLSchemaValidator.ValueStoreCache
Value store cache. This class is used to store the values for identity constraints.
Field Summary | |
protected java.util.Hashtable |
fGlobalIDConstraintMap
|
protected java.util.Stack |
fGlobalMapStack
|
protected java.util.Hashtable |
fIdentityConstraint2ValueStoreMap
Values stores associated to specific identity constraints. |
protected java.util.Vector |
fValueStores
stores all global Values stores. |
Constructor Summary | |
XMLSchemaValidator.ValueStoreCache()
Default constructor. |
Method Summary | |
void |
endDocument()
Check identity constraints. |
void |
endElement()
endElement(): merges contents of fGlobalIDConstraintMap with the top of fGlobalMapStack into fGlobalIDConstraintMap. |
XMLSchemaValidator.ValueStoreBase |
getGlobalValueStoreFor(IdentityConstraint id)
Returns the global value store associated to the specified IdentityConstraint. |
XMLSchemaValidator.ValueStoreBase |
getValueStoreFor(IdentityConstraint id,
int initialDepth)
Returns the value store associated to the specified IdentityConstraint. |
void |
initValueStoresFor(XSElementDecl eDecl,
FieldActivator activator)
Initializes the value stores for the specified element declaration. |
void |
startDocument()
Resets the identity constraint cache. |
void |
startElement()
|
java.lang.String |
toString()
Returns a string representation of this object. |
void |
transplant(IdentityConstraint id,
int initialDepth)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final java.util.Vector fValueStores
protected final java.util.Hashtable fIdentityConstraint2ValueStoreMap
protected final java.util.Stack fGlobalMapStack
protected final java.util.Hashtable fGlobalIDConstraintMap
Constructor Detail |
public XMLSchemaValidator.ValueStoreCache()
Method Detail |
public void startDocument()
public void startElement()
public void endElement()
public void initValueStoresFor(XSElementDecl eDecl, FieldActivator activator)
public XMLSchemaValidator.ValueStoreBase getValueStoreFor(IdentityConstraint id, int initialDepth)
public XMLSchemaValidator.ValueStoreBase getGlobalValueStoreFor(IdentityConstraint id)
public void transplant(IdentityConstraint id, int initialDepth)
public void endDocument()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |