protected class XMLSchemaValidator.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 |
---|
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.
|
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() |
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 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()
Copyright © 2018 JBoss by Red Hat. All rights reserved.