Package org.hippoecm.hst.core.request
Interface ComponentConfiguration
- All Superinterfaces:
ParameterConfiguration
A
ComponentConfiguration
provides some configuration information to a component.- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the backing stored component configuration.Returns the canonical path of the backing stored configuration location.getCType()
getLocalParameter
(String name, ResolvedSiteMapItem hstResolvedSiteMapItem) Returns the property without inheritance and if an expression exists it is resolved with the help of the ResolvedSiteMapItemgetLocalParameters
(ResolvedSiteMapItem hstResolvedSiteMapItem) Returns all resolved parameters without inheritance into a mapAlso seegetLocalParameters(ResolvedSiteMapItem)
.getXType()
Methods inherited from interface org.hippoecm.hst.core.request.ParameterConfiguration
getParameter, getParameterNames, getParameters
-
Method Details
-
getLocalParameter
Returns the property without inheritance and if an expression exists it is resolved with the help of the ResolvedSiteMapItem -
getLocalParameters
Returns all resolved parameters without inheritance into a map- Parameters:
hstResolvedSiteMapItem
-
-
getDynamicComponentParameters
List<DynamicParameter> getDynamicComponentParameters() -
getDynamicComponentParameter
-
getRawParameters
Also seeParameterConfiguration.getParameters(ResolvedSiteMapItem)
. Normally, you useParameterConfiguration.getParameters(ResolvedSiteMapItem)
, unless you want to access parameter values without having their property placeholders (like ${1}) substituded by the current request context. In other words, the parameter values exactly the way they are in theHstComponentConfiguration
- Returns:
- An unmodifiableMap of all parameters the way they are configured in the hst component configuration without having any property placeholder filled in by the current context
-
getRawLocalParameters
Also seegetLocalParameters(ResolvedSiteMapItem)
. Normally, you usegetLocalParameters(ResolvedSiteMapItem)
, unless you want to access parameter values without having their property placeholders (like ${1}) substituded by the current request context. In other words, the parameter values exactly the way they are in theHstComponentConfiguration
. Note that this method does not return inherited parameters, but only its local (directly) configured ones- Returns:
- An unmodifiableMap of all parameters the way they are configured in the hst component configuration without having any property placeholder filled in by the current context and without parameter inheritance
-
getRenderPath
String getRenderPath()- Returns:
- the location of the view renderer
-
getServeResourcePath
String getServeResourcePath()- Returns:
- return the servletpath of the servlet that must serve the resources for this
HstComponent
-
getCanonicalPath
String getCanonicalPath()Returns the canonical path of the backing stored configuration location. Note that multiple (many)ComponentConfiguration
's can share the same canonical path: When a component is added by a reference, this method will return the same canonical path as the direct (not referenced) component.- Returns:
- the canonical path of the backing stored configuration location.
-
getCanonicalIdentifier
String getCanonicalIdentifier()Returns the identifier of the backing stored component configuration. Note that multipleComponentConfiguration
's can share the same canonical identifier due to inheritance. Also, multiple subsites can share the same backing configuration, and thus share the same canonical identifiers- Returns:
- the identifier of the backing stored component configuration
-
getXType
String getXType()- Returns:
- the xtype of this ComponentConfiguration and
null
if the component does not have one
-
getCType
String getCType()- Returns:
- the ctype of this ComponentConfiguration and
null
if the component does not have one
-
getComponentType
HstComponentConfiguration.Type getComponentType()- Returns:
- the
HstComponentConfiguration.Type
of thisComponentConfiguration
-
getParametersInfoClassName
String getParametersInfoClassName()- Returns:
- if configured, the fully-qualified class name of the interface representing
ParametersInfo
for a component, and otherwisenull
.
-