Interface PrimitiveXNode<T>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Freezable
,Serializable
,Visitable<XNode>
,XNode
- All Known Implementing Classes:
PrimitiveXNodeImpl
public interface PrimitiveXNode<T> extends XNode
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getGuessedFormattedValue()
<X> X
getParsedValue(@NotNull QName typeName, @Nullable Class<X> expectedClass)
String
getStringValue()
Returns the value represented as string - in the best format that we can.T
getValue()
ValueParser<T>
getValueParser()
boolean
isParsed()
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.xnode.XNode
clone, getMaxOccurs, getTypeQName, isEmpty, isExplicitTypeDeclaration, toRootXNode
-
-
-
-
Method Detail
-
getGuessedFormattedValue
String getGuessedFormattedValue() throws SchemaException
- Throws:
SchemaException
-
getStringValue
String getStringValue()
Returns the value represented as string - in the best format that we can. There is no guarantee that the returned value will be precise. This method is used as a "last instance" if everything else fails. Invocation of this method will not change the state of this xnode, e.g. it will NOT cause it to be parsed.
-
getParsedValue
<X> X getParsedValue(@NotNull @NotNull QName typeName, @Nullable @Nullable Class<X> expectedClass) throws SchemaException
- Throws:
SchemaException
-
getValue
T getValue()
-
getValueParser
ValueParser<T> getValueParser()
-
isParsed
boolean isParsed()
-
-