protected class XMLSchemaValidator.ValueStoreCache
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.util.HashMap |
fGlobalIDConstraintMap |
|
protected java.util.Stack |
fGlobalMapStack |
|
protected java.util.HashMap |
fIdentityConstraint2ValueStoreMap |
Values stores associated to specific identity constraints.
|
protected java.util.ArrayList |
fValueStores |
stores all global Values stores.
|
Constructor | Description |
---|---|
ValueStoreCache() |
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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) |
protected final java.util.ArrayList fValueStores
protected final java.util.HashMap fIdentityConstraint2ValueStoreMap
protected final java.util.Stack fGlobalMapStack
protected final java.util.HashMap fGlobalIDConstraintMap
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
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.