Interface InternalHstSiteMapItem
-
- All Superinterfaces:
CanonicalInfo
,HstSiteMapItem
public interface InternalHstSiteMapItem extends HstSiteMapItem, CanonicalInfo
Internal only api to representHstSiteMapItem
by joining withCanonicalInfo
in sitemapitem matcher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<InternalHstSiteMapItem>
getAnyChildSiteMapItems()
InternalHstSiteMapItem
getAnyPatternChild(String[] pathElements, int position, List<InternalHstSiteMapItem> anyChildSiteMapItems, List<InternalHstSiteMapItem> excludedSiteList)
Internal only! Not an api.List<InternalHstSiteMapItem>
getWildCardChildSiteMapItems()
InternalHstSiteMapItem
getWildCardPatternChild(String pathElementValue, List<InternalHstSiteMapItem> wildCardChildSiteMapItems, List<InternalHstSiteMapItem> excludedSiteList)
Internal only! Not an api.String
getWildCardPostfix()
String
getWildCardPrefix()
boolean
patternMatch(String pathElementValue, String prefix, String postfix)
Internal only! Not an api.-
Methods inherited from interface org.hippoecm.hst.configuration.internal.CanonicalInfo
getCanonicalIdentifier, getCanonicalPath, isWorkspaceConfiguration
-
Methods inherited from interface org.hippoecm.hst.configuration.sitemap.HstSiteMapItem
containsAny, containsWildCard, getApplicationId, getChild, getChildren, getComponentConfigurationId, getComponentConfigurationIdMappings, getErrorCode, getHstSiteMap, getHstSiteMapItemHandlers, getId, getLocale, getLocalParameter, getLocalParameters, getNamedPipeline, getPageTitle, getParameter, getParameters, getParentItem, getQualifiedId, getRefId, getRelativeContentPath, getResourceBundleIds, getResponseHeaders, getRoles, getScheme, getSchemeNotMatchingResponseCode, getSiteMapItemHandlerConfiguration, getSiteMapItemHandlerConfigurations, getStatusCode, getUsers, getValue, isAny, isAuthenticated, isCacheable, isContainerResource, isExcludedForLinkRewriting, isExplicitElement, isExplicitPath, isHiddenInChannelManager, isMarkedDeleted, isSchemeAgnostic, isWildCard
-
-
-
-
Method Detail
-
getWildCardPatternChild
InternalHstSiteMapItem getWildCardPatternChild(String pathElementValue, List<InternalHstSiteMapItem> wildCardChildSiteMapItems, List<InternalHstSiteMapItem> excludedSiteList)
Internal only! Not an api.- Parameters:
pathElementValue
- any value splitted by slash in path like /path/to/elementwildCardChildSiteMapItems
-List
ofHstSiteMapItem
items that match with a wildcard patternexcludedSiteList
- sites to be excluded from traverse- Returns:
-
getAnyPatternChild
InternalHstSiteMapItem getAnyPatternChild(String[] pathElements, int position, List<InternalHstSiteMapItem> anyChildSiteMapItems, List<InternalHstSiteMapItem> excludedSiteList)
Internal only! Not an api.- Parameters:
pathElements
- list of path elements to traverseposition
- of the path elementanyChildSiteMapItems
-List
ofHstSiteMapItem
items that match with any patternexcludedSiteList
- sites to be excluded from traverse- Returns:
-
patternMatch
boolean patternMatch(String pathElementValue, String prefix, String postfix)
Internal only! Not an api. Tries to match a path element value with a prefix and a postfix.- Parameters:
pathElementValue
- any value splitted by slash in path like /path/to/elementprefix
- of the wildcardpostfix
- of the wildcard- Returns:
- returns true if the value of the path element matches with prefix and postfix
-
getWildCardPrefix
String getWildCardPrefix()
- Returns:
- prefix of the wildcard definition
-
getWildCardPostfix
String getWildCardPostfix()
- Returns:
- postfix of the wildcard definition
-
getWildCardChildSiteMapItems
List<InternalHstSiteMapItem> getWildCardChildSiteMapItems()
- Returns:
List
ofHstSiteMapItem
items that configured to be accessed by a wildcard
-
getAnyChildSiteMapItems
List<InternalHstSiteMapItem> getAnyChildSiteMapItems()
- Returns:
List
ofHstSiteMapItem
items that configured to be accessed by any
-
-