Schnittstelle IValueHolder<T>
- Alle bekannten Implementierungsklassen:
CalendarAwareDate,ChimeraDate,NowValueHolder
public interface IValueHolder<T>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the canonical lexical representation of this value according to it's datatype.Get the raw data that this value holder holds.getType()The type of data this value holder holds.getValue()Get the data that this value holder holds.booleanhasValue()Check if this value holder currently holds data or not.
-
Methodendetails
-
getType
QName getType()The type of data this value holder holds. -
hasValue
boolean hasValue()Check if this value holder currently holds data or not.- Gibt zurück:
trueif the data holder holds data, orfalseotherwise.
-
getValue
T getValue()Get the data that this value holder holds.Implementations MUST ensure that multiple calls to this method will return values that equal each other.
- Gibt zurück:
- The data.
-
getRawValue
Object getRawValue()Get the raw data that this value holder holds.- Gibt zurück:
- The raw data.
-
getCanonicalLexicalRepresentation
String getCanonicalLexicalRepresentation()Get the canonical lexical representation of this value according to it's datatype.- Gibt zurück:
- The canonical lexical representation, or
nullif such a representation does not exist (e.g. ifhasValue()returnsfalse).
-