public class HstSiteMapUtils extends Object
Modifier and Type | Method and Description |
---|---|
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 pathInfo of the child sitemap item appended with relPath
|
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.
|
public static String getPath(HstSiteMapItem siteMapItem)
siteMapItem
- public static String getPath(HstSiteMapItem siteMapItem, String relPath)
siteMapItem
- relPath
- public static String getPath(Mount mount, String refIdOrPath)
refIdOrPath
doesn't represent a refId, then it returns the refIdOrPath
as sitemap item path.mount
- refIdOrPath
- public static String getPath(Mount mount, HstSiteMapItem siteMapItem, String refIdOrRelPath)
refIdOrRelPath
doesn't represent a refId, then its return will be equivalent to getPath(HstSiteMapItem siteMapItem, String relPath)
.mount
- siteMapItem
- refIdOrRelPath
- Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.