org.hippoecm.hst.core.linking
Class LocationMapTreeItemImpl

java.lang.Object
  extended by org.hippoecm.hst.core.linking.LocationMapTreeItemImpl
All Implemented Interfaces:
LocationMapTreeItem

public class LocationMapTreeItemImpl
extends Object
implements LocationMapTreeItem


Constructor Summary
LocationMapTreeItemImpl()
           
 
Method Summary
 void addSiteMapItem(List<String> pathFragment, HstSiteMapItem hstSiteMapItem)
           
 LocationMapTreeItem getChild(String name)
           
 List<HstSiteMapItem> getHstSiteMapItems()
           
 LocationMapTreeItem getParentItem()
           
 boolean isAny()
           
 boolean isWildCard()
           
 void setIsAny(boolean isAny)
           
 void setIsWildCard(boolean isWildCard)
           
 void setParentItem(LocationMapTreeItem parentItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationMapTreeItemImpl

public LocationMapTreeItemImpl()
Method Detail

addSiteMapItem

public void addSiteMapItem(List<String> pathFragment,
                           HstSiteMapItem hstSiteMapItem)

getHstSiteMapItems

public List<HstSiteMapItem> getHstSiteMapItems()
Specified by:
getHstSiteMapItems in interface LocationMapTreeItem
Returns:
List of HstSiteMapItem's belonging to this LocationMapTreeItem. When no HstSiteMapItem belong to this item, an empty list is returned

getChild

public LocationMapTreeItem getChild(String name)
Specified by:
getChild in interface LocationMapTreeItem
Parameters:
name - the name of the child LocationMapTreeItem
Returns:
The child LocationMapTreeItem with this name or null if there exists no child with this name

getParentItem

public LocationMapTreeItem getParentItem()
Specified by:
getParentItem in interface LocationMapTreeItem
Returns:
the parent LocationMapTreeItem of this item or null when it is a root LocationMapTreeItem

setParentItem

public void setParentItem(LocationMapTreeItem parentItem)

isAny

public boolean isAny()

isWildCard

public boolean isWildCard()

setIsAny

public void setIsAny(boolean isAny)

setIsWildCard

public void setIsWildCard(boolean isWildCard)


Copyright © 2008-2012 Hippo. All Rights Reserved.