Package org.alfresco.repo.template
Class NamePathResultsMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap
-
- org.alfresco.repo.template.BaseTemplateMap
-
- org.alfresco.repo.template.BasePathResultsMap
-
- org.alfresco.repo.template.NamePathResultsMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map
public class NamePathResultsMap extends BasePathResultsMap
A special Map that executes an XPath against the parent Node as part of the get() Map interface implementation.- Author:
- Kevin Roast
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.template.BasePathResultsMap
logger
-
Fields inherited from class org.alfresco.repo.template.BaseTemplateMap
parent, services
-
-
Constructor Summary
Constructors Constructor Description NamePathResultsMap(TemplateNode parent, ServiceRegistry services)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.Object key)-
Methods inherited from class org.alfresco.repo.template.BasePathResultsMap
getChildrenByXPath
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Constructor Detail
-
NamePathResultsMap
public NamePathResultsMap(TemplateNode parent, ServiceRegistry services)
Constructor- Parameters:
parent- The parent TemplateNode to execute searches fromservices- The ServiceRegistry to use
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map- Specified by:
getin classBaseTemplateMap- See Also:
Map.get(java.lang.Object)
-
-