Interface PrimitiveXNode<T>
-
- All Superinterfaces:
Cloneable
,DebugDumpable
,Serializable
,Visitable
,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()
T
getParsedValue(QName typeName, Class<T> 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.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
T getParsedValue(@NotNull QName typeName, @Nullable Class<T> expectedClass) throws SchemaException
- Throws:
SchemaException
-
getValue
T getValue()
-
getValueParser
ValueParser<T> getValueParser()
-
isParsed
boolean isParsed()
-
-