Interface MapXNode
- All Superinterfaces:
Cloneable
,Copyable<XNode>
,DebugDumpable
,Freezable
,MetadataAware
,Serializable
,Visitable<XNode>
,XNode
- All Known Implementing Classes:
MapXNodeImpl
Note we cannot use "extends Map" here, because in that case we would have to declare XNodeImpl as map value parameter.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescription@NotNull MapXNode
clone()
boolean
containsKey
(QName key) copy()
getEntryAsRoot
(@NotNull QName key) getSingleSubEntry
(String errorContext) getSingleSubEntryAsRoot
(String errorContext) boolean
isEmpty()
keySet()
int
size()
toMap()
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
frozen, getDefinition, getMaxOccurs, getTypeQName, hasMetadata, isExplicitTypeDeclaration, namespaceContext, setDefinition, toRootXNode
-
Method Details
-
containsKey
-
get
-
isEmpty
boolean isEmpty() -
clone
-
size
int size() -
keySet
- Returns:
- Immutable set of keys.
-
getEntryAsRoot
-
getSingleSubEntry
- Throws:
SchemaException
-
getSingleSubEntryAsRoot
- Throws:
SchemaException
-
toMap
- Returns:
- Shallow clone of the node in the form of a map.
-
copy
MapXNode copy()
-