org.hippoecm.hst.util
Class HstSiteMapUtils

java.lang.Object
  extended by org.hippoecm.hst.util.HstSiteMapUtils

public class HstSiteMapUtils
extends Object


Method Summary
static String getPath(HstSiteMapItem siteMapItem)
          Returns string representation of the sitemap item path
static String getPath(HstSiteMapItem siteMapItem, String relPath)
          Returns string representation of the child sitemap item specified by the relPath from the specified sitemap item
static String getPath(Mount mount, HstSiteMapItem siteMapItem, String refIdOrRelPath)
          Returns string representation of the sitemap item which is specified by either refId or path If refIdOrRelPath doesn't represent a refId, then its return will be equivalent to getPath(HstSiteMapItem siteMapItem, String relPath).
static String getPath(Mount mount, String refIdOrPath)
          Returns string representation of the sitemap item which is specified by either refId or path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public static String getPath(HstSiteMapItem siteMapItem)
Returns string representation of the sitemap item path

Parameters:
siteMapItem -
Returns:
String representation of the path

getPath

public static String getPath(HstSiteMapItem siteMapItem,
                             String relPath)
Returns string representation of the child sitemap item specified by the relPath from the specified sitemap item

Parameters:
siteMapItem -
relPath -
Returns:
String representation of the path

getPath

public static String getPath(Mount mount,
                             String refIdOrPath)
Returns string representation of the sitemap item which is specified by either refId or path. If refIdOrPath doesn't represent a refId, then it returns the refIdOrPath as sitemap item path.

Parameters:
mount -
refIdOrPath -
Returns:

getPath

public static String getPath(Mount mount,
                             HstSiteMapItem siteMapItem,
                             String refIdOrRelPath)
Returns string representation of the sitemap item which is specified by either refId or path If refIdOrRelPath doesn't represent a refId, then its return will be equivalent to getPath(HstSiteMapItem siteMapItem, String relPath).

Parameters:
mount -
refIdOrPath -
Returns:


Copyright © 2008-2012 Hippo. All Rights Reserved.