|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.utils.ParameterUtils
public class ParameterUtils
Field Summary | |
---|---|
static String |
PARAMETERS_INFO_ATTRIBUTE
|
Constructor Summary | |
---|---|
ParameterUtils()
|
Method Summary | ||
---|---|---|
static
|
getParametersInfo(HstComponent component,
ComponentConfiguration componentConfig,
HstRequest request)
Returns a proxy ParametersInfo object for the component class which resolves parameter from HstComponentConfiguration : resolved means that possible property placeholders like ${1} or ${year}, where the first refers to the first wildcard matcher in a resolved sitemap item, and the latter to a resolved parameter in the resolved HstSiteMapItem NOTE: Because the returned ParametersInfo proxy instance is bound to the current request, you MUST NOT store the returned object in a member variable or session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PARAMETERS_INFO_ATTRIBUTE
Constructor Detail |
---|
public ParameterUtils()
Method Detail |
---|
public static <T> T getParametersInfo(HstComponent component, ComponentConfiguration componentConfig, HstRequest request)
component
- the HST component with a ParameterInfo annotationcomponentConfig
- the HST component configurationrequest
- the HST request
null if not present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |