public interface SiteMapItemHandlerConfiguration
SiteMapItemHandlerConfiguration
is the runtime instance of a HstSiteMapItemHandlerConfiguration
and provides some configuration information to a sitemap item handler.Modifier and Type | Method and Description |
---|---|
<T> Map<String,T> |
getProperties(ResolvedSiteMapItem resolvedSiteMapItem,
Class<T> mappingClass)
Returns all resolved properties of type mappingClass into a map.
|
<T> T |
getProperty(String name,
ResolvedSiteMapItem resolvedSiteMapItem,
Class<T> mappingClass) |
<T> Map<String,T> |
getRawProperties(Class<T> mappingClass)
Returns the map of all unresolved properties of type T into a map and an empty map if there are no properties of type mappingClass
|
<T> T |
getRawProperty(String name,
Class<T> mappingClass)
Returns the unresolved property for
name or null when not present or is not of type mappingClass |
<T> T getProperty(String name, ResolvedSiteMapItem resolvedSiteMapItem, Class<T> mappingClass)
T
- name
- resolvedSiteMapItem
- mappingClass
- the class the property value should be ofnull
will be returned in case for a String and in case of a String[] the value of the item in the array will be null
<T> Map<String,T> getProperties(ResolvedSiteMapItem resolvedSiteMapItem, Class<T> mappingClass)
null
T
- resolvedSiteMapItem
- mappingClass
- the class the property values should be of<T> T getRawProperty(String name, Class<T> mappingClass)
name
or null
when not present or is not of type mappingClassT
- name
- mappingClass
- the class the property value should be ofname
or null
when not present or not of type mappingClass<T> Map<String,T> getRawProperties(Class<T> mappingClass)
T
- mappingClass
- the class the property values should be ofCopyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.