|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes simple data. Simple data objects are the building blocks for complex data. A simple data object is characterized by the feature that it corresponds to a unique (simple) string representation. This string representation is called the "canonical form" of the data.
The values of simple data objects are store internally either by primitive types or by simple reference types (like strings). These types are called simple storage types. In addition there are so called simple storage objects. A simple storage object is always a "real" Java object, i.e. the primitive types are wrapped by their corresponding wrapper classes.
Method Summary | |
java.lang.String |
getCanonicalForm_()
Gets the canonical form. |
java.lang.String |
getLexicalValue_()
Gets the lexical value. |
java.lang.String |
getNormalizedValue_()
Gets the normalized value. |
java.lang.Object |
getSimpleStorageObject()
Gets the simple storage object. |
void |
setLexicalValue_(java.lang.String aValue)
Sets the lexical value. |
boolean |
simpleStorageValueEquals(IAnyTypeData aData)
Checks if the simple storage value of this data object is equal to the simple storage object of the specified data objects. |
int |
simpleStorageValueHashCode()
Calculates a hash code based on the simple storage value. |
Methods inherited from interface org.jbind.xml.core.data.IAnyTypeData |
accept_, acceptImpl_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_ |
Methods inherited from interface org.jbind.xml.core.base.ITextContentProvider |
getTextContent_ |
Method Detail |
public java.lang.String getLexicalValue_()
public java.lang.String getNormalizedValue_()
public java.lang.String getCanonicalForm_()
public void setLexicalValue_(java.lang.String aValue) throws XmlException
aValue
- (required).
XmlException
public java.lang.Object getSimpleStorageObject()
public boolean simpleStorageValueEquals(IAnyTypeData aData)
true
iff the simple storage values are equal.public int simpleStorageValueHashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |