|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValueHolder<T>
Method Summary | |
---|---|
java.lang.String |
getCanonicalLexicalRepresentation()
Get the canonical lexical representation of this value according to it's datatype. |
java.lang.Object |
getRawValue()
Get the raw data that this value holder holds. |
javax.xml.namespace.QName |
getType()
The type of data this value holder holds. |
T |
getValue()
Get the data that this value holder holds. |
boolean |
hasValue()
Check if this value holder currently holds data or not. |
Method Detail |
---|
javax.xml.namespace.QName getType()
boolean hasValue()
true
if the data holder holds data,
or false
otherwise.T getValue()
Implementations MUST ensure that multiple calls to this method will return values that equal each other.
java.lang.Object getRawValue()
java.lang.String getCanonicalLexicalRepresentation()
null
if such a representation does not exist (e.g. if hasValue()
returns false
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |