protected class SchemaValidatorHelper.ValueStoreCache extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap |
fGlobalIDConstraintMap |
protected Stack |
fGlobalMapStack |
protected HashMap |
fIdentityConstraint2ValueStoreMap
Values stores associated to specific identity constraints.
|
protected ArrayList |
fValueStores
stores all global Values stores.
|
| Constructor and Description |
|---|
SchemaValidatorHelper.ValueStoreCache()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument()
Check identity constraints.
|
void |
endElement()
endElement(): merges contents of fGlobalIDConstraintMap with the
top of fGlobalMapStack into fGlobalIDConstraintMap.
|
SchemaValidatorHelper.ValueStoreBase |
getGlobalValueStoreFor(IdentityConstraint id)
Returns the global value store associated to the specified IdentityConstraint.
|
SchemaValidatorHelper.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() |
String |
toString()
Returns a string representation of this object.
|
void |
transplant(IdentityConstraint id,
int initialDepth) |
protected final ArrayList fValueStores
protected final HashMap fIdentityConstraint2ValueStoreMap
protected final Stack fGlobalMapStack
protected final HashMap fGlobalIDConstraintMap
public SchemaValidatorHelper.ValueStoreCache()
public void startDocument()
public void startElement()
public void endElement()
public void initValueStoresFor(XSElementDecl eDecl, FieldActivator activator)
public SchemaValidatorHelper.ValueStoreBase getValueStoreFor(IdentityConstraint id, int initialDepth)
public SchemaValidatorHelper.ValueStoreBase getGlobalValueStoreFor(IdentityConstraint id)
public void transplant(IdentityConstraint id, int initialDepth)
public void endDocument()
Copyright © 2013. All rights reserved.