org.alfresco.repo.template
Class XPathResultsMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by org.alfresco.repo.template.BaseTemplateMap
              extended by org.alfresco.repo.template.BasePathResultsMap
                  extended by org.alfresco.repo.template.XPathResultsMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class XPathResultsMap
extends BasePathResultsMap

A special Map that executes an XPath against the parent Node as part of the get() Map interface implementation.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry, java.util.AbstractMap.SimpleImmutableEntry
 
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
XPathResultsMap(TemplateNode parent, ServiceRegistry services)
          Constructor
 
Method Summary
 java.lang.Object get(java.lang.Object key)
           
 
Methods inherited from class org.alfresco.repo.template.BasePathResultsMap
getChildrenByXPath
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

XPathResultsMap

public XPathResultsMap(TemplateNode parent,
                       ServiceRegistry services)
Constructor

Parameters:
parent - The parent TemplateNode to execute searches from
services - The ServiceRegistry to use
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map
Specified by:
get in class BaseTemplateMap
See Also:
Map.get(java.lang.Object)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.