|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SiteMapItemHandlerConfiguration
A SiteMapItemHandlerConfiguration
is the runtime instance of a HstSiteMapItemHandlerConfiguration
and provides some configuration information to a sitemap item handler.
Method Summary | ||
---|---|---|
|
getProperties(ResolvedSiteMapItem resolvedSiteMapItem,
Class<T> mappingClass)
Returns all resolved properties of type mappingClass into a map. |
|
|
getProperty(String name,
ResolvedSiteMapItem resolvedSiteMapItem,
Class<T> mappingClass)
|
|
|
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 |
|
|
getRawProperty(String name,
Class<T> mappingClass)
Returns the unresolved property for name or null when not present or is not of type mappingClass |
Method Detail |
---|
<T> T getProperty(String name, ResolvedSiteMapItem resolvedSiteMapItem, Class<T> mappingClass)
T
- name
- resolvedSiteMapItem
- mappingClass
- the class the property value should be of
null
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
- hstResolvedSiteMapItem
- 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 mappingClass
T
- name
- mappingClass
- the class the property value should be of
name
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 of
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |