|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.validators.common.XMLValidator.ValueStoreBase
Value store implementation base class. There are specific subclasses for handling unique, key, and keyref.
Field Summary | |
protected IdentityConstraint |
fIdentityConstraint
Identity constraint. |
protected weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable |
fValues
Current data values. |
protected int |
fValuesCount
Current data value count. |
protected java.util.Vector |
fValueTuples
Data value tuples. |
protected java.lang.String |
NOT_A_VALUE
Not a value (Unicode: #FFFF). |
Constructor Summary | |
protected |
XMLValidator.ValueStoreBase(IdentityConstraint identityConstraint)
Constructs a value store for the specified identity constraint. |
Method Summary | |
void |
addValue(Field field,
java.lang.String value)
Adds the specified value to the value store. |
boolean |
contains(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple)
Returns true if this value store contains the specified values tuple. |
protected void |
duplicateValue(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple)
Called when a duplicate value is added. |
void |
endDocument()
Signals the end of the document. |
void |
endValueScope()
Ends scope for value store. |
void |
startValueScope()
Start scope for value store. |
java.lang.String |
toString()
Returns a string representation of this object. |
protected java.lang.String |
toString(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple)
Returns a string of the specified values. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected final java.lang.String NOT_A_VALUE
protected IdentityConstraint fIdentityConstraint
protected final weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable fValues
protected int fValuesCount
protected final java.util.Vector fValueTuples
Constructor Detail |
protected XMLValidator.ValueStoreBase(IdentityConstraint identityConstraint)
Method Detail |
public void startValueScope() throws java.lang.Exception
public void endValueScope() throws java.lang.Exception
public void endDocument() throws java.lang.Exception
public void addValue(Field field, java.lang.String value) throws java.lang.Exception
value
- The value to add.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.public boolean contains(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple)
protected void duplicateValue(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple) throws java.lang.Exception
tuple
- The duplicate value tuple.protected java.lang.String toString(weblogic.apache.xerces.validators.common.XMLValidator.OrderedHashtable tuple)
public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |