Class MapXNodeImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
-
- com.evolveum.midpoint.prism.impl.xnode.MapXNodeImpl
-
- All Implemented Interfaces:
Freezable
,Visitable<XNode>
,MapXNode
,XNode
,DebugDumpable
,Serializable
,Cloneable
public class MapXNodeImpl extends XNodeImpl implements MapXNode
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
DUMMY_NAME, elementName, immutable, KEY_CONTAINER_ID, KEY_OID, KEY_REFERENCE_DESCRIPTION, KEY_REFERENCE_FILTER, KEY_REFERENCE_OBJECT, KEY_REFERENCE_OID, KEY_REFERENCE_REFERENTIAL_INTEGRITY, KEY_REFERENCE_RELATION, KEY_REFERENCE_RESOLUTION_TIME, KEY_REFERENCE_TARGET_NAME, KEY_REFERENCE_TYPE, KEY_VERSION, maxOccurs, parent, typeQName
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description MapXNodeImpl()
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
cloneTransformKeys, copyCommonAttributesFrom, dumpSuffix, getComment, getElementName, getLineNumber, getMaxOccurs, getOriginDescription, getOriginFile, getParent, getTypeQName, isExplicitTypeDeclaration, isHeterogeneousList, isSingleEntryMap, setComment, setElementName, setExplicitTypeDeclaration, setLineNumber, setMaxOccurs, setOriginDescription, setOriginFile, setParent, setTypeQName, toRootXNode
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, isImmutable, isMutable
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
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
getMaxOccurs, getTypeQName, isExplicitTypeDeclaration, toRootXNode
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
containsKey
public boolean containsKey(QName key)
- Specified by:
containsKey
in interfaceMapXNode
-
getSingleSubEntry
public Map.Entry<QName,XNodeImpl> getSingleSubEntry(String errorContext) throws SchemaException
- Specified by:
getSingleSubEntry
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleSubEntryAsRoot
public RootXNode getSingleSubEntryAsRoot(String errorContext) throws SchemaException
- Specified by:
getSingleSubEntryAsRoot
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleEntryThatDoesNotMatch
public Map.Entry<QName,XNodeImpl> getSingleEntryThatDoesNotMatch(QName... excludedKeys) throws SchemaException
- Throws:
SchemaException
-
getParsedPrimitiveValue
public <T> T getParsedPrimitiveValue(QName key, QName typeName) throws SchemaException
- Throws:
SchemaException
-
merge
public void merge(@NotNull @NotNull MapXNodeImpl other)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getEntryAsRoot
public RootXNodeImpl getEntryAsRoot(@NotNull @NotNull QName key)
- Specified by:
getEntryAsRoot
in interfaceMapXNode
-
clone
@NotNull public @NotNull MapXNodeImpl clone()
-
performFreeze
public void performFreeze()
- Overrides:
performFreeze
in classAbstractFreezable
-
replaceDefaultNamespaceMarkers
public void replaceDefaultNamespaceMarkers(String marker, String defaultNamespace)
-
setHasDefaultNamespaceMarkers
public void setHasDefaultNamespaceMarkers()
-
-