Interface IValueHolder<T>
-
- All Known Subinterfaces:
IAccessDeniedValueHolder
,IBooleanValueHolder
,IDateTimeValueHolder
,IDoubleValueHolder
,IFileValueHolder
,ILongValueHolder
,IOperationFileValueHolder
,IStringValueHolder
- All Known Implementing Classes:
AbstractOperationFileValueHolder
,AccessDeniedValueHolder
,BooleanValueHolder
,CanonicalLexicalRepresentationValueHolder
,ChimeraDate
,DateTimeValueHolder
,DoubleValueHolder
,FileContentValueHolder
,FileValueHolder
,LongValueHolder
,NewGuidValueHolder
,NowValueHolder
,NullValueHolder
,ObjectValueHolder
,OperationFileAppendFirstValueHolder
,OperationFileDeleteValueHolder
,OperationFileMergeValueHolder
,OperationFileRefreshValueHolder
,OperationFileReplaceValueHolder
,ReaderValueHolder
,StringValueHolder
,XmlSchemaDatatypeValueHolder
public interface IValueHolder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCanonicalLexicalRepresentation()
Get the canonical lexical representation of this value according to it's datatype.Object
getRawValue()
Get the raw data that this value holder holds.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
-
getType
QName getType()
The type of data this value holder holds.
-
hasValue
boolean hasValue()
Check if this value holder currently holds data or not.- Returns:
true
if the data holder holds data, orfalse
otherwise.
-
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.
- Returns:
- The data.
-
getRawValue
Object getRawValue()
Get the raw data that this value holder holds.- Returns:
- The raw data.
-
getCanonicalLexicalRepresentation
String getCanonicalLexicalRepresentation()
Get the canonical lexical representation of this value according to it's datatype.- Returns:
- The canonical lexical representation, or
null
if such a representation does not exist (e.g. ifhasValue()
returnsfalse
).
-
-