Interface PrimitiveXNode<T>
-
- All Superinterfaces:
Cloneable
,Copyable<XNode>
,DebugDumpable
,Freezable
,MetadataAware
,Serializable
,Visitable<XNode>
,XNode
public interface PrimitiveXNode<T> extends XNode, MetadataAware
-
-
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 PrimitiveXNode<T>
copy()
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.MetadataAware
addMetadataNode, getMetadataNodes, setMetadataNodes
-
Methods inherited from interface com.evolveum.midpoint.prism.xnode.XNode
clone, frozen, getMaxOccurs, getTypeQName, hasMetadata, isEmpty, isExplicitTypeDeclaration, namespaceContext, 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()
-
-