public final class QNameNodeMap<K,V> extends org.alfresco.service.namespace.QNameMap implements Map, Cloneable, Serializable
Modifier | Constructor and Description |
---|---|
protected |
QNameNodeMap()
Serialization constructor
|
|
QNameNodeMap(org.alfresco.service.namespace.NamespacePrefixResolverProvider provider,
Node parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyResolver(String name,
NodePropertyResolver resolver)
Register a property resolver for the named property.
|
Object |
clone()
Shallow copy the map by copying keys and values into a new QNameNodeMap
|
boolean |
containsKey(Object key) |
boolean |
containsPropertyResolver(String name)
Returns if a property resolver with a specific name has been applied to the map
|
Object |
get(Object key) |
Object |
getRaw(Object key)
Perform a get without using property resolvers
|
clear, containsValue, entrySet, getMapOfQNames, getResolver, isEmpty, keySet, put, putAll, remove, size, toString, values
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public QNameNodeMap(org.alfresco.service.namespace.NamespacePrefixResolverProvider provider, Node parent)
parent
- Parent Node of the QNameNodeMapprotected QNameNodeMap()
public void addPropertyResolver(String name, NodePropertyResolver resolver)
name
- Name of the property this resolver is forresolver
- Property resolver to registerpublic boolean containsPropertyResolver(String name)
name
- of property resolver to look forpublic boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class org.alfresco.service.namespace.QNameMap
Map.containsKey(java.lang.Object)
public Object get(Object key)
get
in interface Map
get
in class org.alfresco.service.namespace.QNameMap
Map.get(java.lang.Object)
public Object getRaw(Object key)
key
- item keypublic Object clone()
clone
in class org.alfresco.service.namespace.QNameMap
Copyright © 2005–2017 Alfresco Software. All rights reserved.