org.apache.xerces.impl.xs
protected abstract class XMLSchemaValidator.ValueStoreBase extends Object implements ValueStore
Field Summary | |
---|---|
protected int | fFieldCount |
protected Field[] | fFields |
protected IdentityConstraint | fIdentityConstraint Identity constraint. |
Vector | fItemValueTypes |
protected ShortList[] | fLocalItemValueTypes |
protected Object[] | fLocalValues current data |
protected short[] | fLocalValueTypes |
Vector | fValues global data |
protected int | fValuesCount Current data value count. |
XMLSchemaValidator.ShortVector | fValueTypes |
Constructor Summary | |
---|---|
protected | ValueStoreBase(IdentityConstraint identityConstraint) Constructs a value store for the specified identity constraint. |
Method Summary | |
---|---|
void | addValue(Field field, Object actualValue, short valueType, ShortList itemValueType)
Adds the specified value to the value store.
|
void | append(XMLSchemaValidator.ValueStoreBase newVal) |
protected void | checkDuplicateValues() Check whether this set is contained in the value store. |
void | clear() |
boolean | contains()
Returns true if this value store contains the locally scoped value stores |
int | contains(XMLSchemaValidator.ValueStoreBase vsb)
Returns -1 if this value store contains the specified
values, otherwise the index of the first field in the
key sequence. |
void | endDocument()
Signals the end of the document. |
void | endDocumentFragment() |
void | endValueScope() Ends scope for value store. |
void | reportError(String key, Object[] args) |
void | startValueScope() Start scope for value store. |
protected String | toString(Object[] values) Returns a string of the specified values. |
protected String | toString(Vector values, int start, int length) Returns a string of the specified values. |
String | toString() Returns a string representation of this object. |
Parameters: field The field associated to the value. This reference is used to ensure that each field only adds a value once within a selection scope. actualValue The value to add.