|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentConfiguration
A ComponentConfiguration
provides some configuration information to a component.
Method Summary | |
---|---|
String |
getCanonicalIdentifier()
Returns the identifier of the backing stored component configuration. |
String |
getCanonicalPath()
Returns the canonical path of the backing stored configuration location. |
HstComponentConfiguration.Type |
getComponentType()
|
String |
getLocalParameter(String name,
ResolvedSiteMapItem hstResolvedSiteMapItem)
Returns the property without inheritance and if an expession exists it is resolved with the help of the ResolvedSiteMapItem |
Map<String,String> |
getLocalParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
Returns all resolved parameters without inheritance into a map |
String |
getParameter(String name,
ResolvedSiteMapItem hstResolvedSiteMapItem)
Returns the property and if an expession exists it is resolved with the help of the ResolvedSiteMapItem |
List<String> |
getParameterNames()
|
Map<String,String> |
getParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
Returns all resolved parameters into a map |
Map<String,String> |
getRawLocalParameters()
Also see getLocalParameters(ResolvedSiteMapItem) . |
Map<String,String> |
getRawParameters()
Also see getParameters(ResolvedSiteMapItem) . |
String |
getRenderPath()
|
String |
getServeResourcePath()
|
String |
getXType()
|
Method Detail |
---|
String getParameter(String name, ResolvedSiteMapItem hstResolvedSiteMapItem)
List<String> getParameterNames()
Map<String,String> getParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
hstResolvedSiteMapItem
- String getLocalParameter(String name, ResolvedSiteMapItem hstResolvedSiteMapItem)
Map<String,String> getLocalParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
hstResolvedSiteMapItem
- Map<String,String> getRawParameters()
getParameters(ResolvedSiteMapItem)
. Normally, you use 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 the HstComponentConfiguration
Map<String,String> getRawLocalParameters()
getLocalParameters(ResolvedSiteMapItem)
. Normally, you use getLocalParameters(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 the HstComponentConfiguration
. Note that this method does not return inherited parameters, but only its local (directly)
configured ones
String getRenderPath()
String getServeResourcePath()
HstComponent
String getCanonicalPath()
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.
String getCanonicalIdentifier()
ComponentConfiguration
'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
String getXType()
null
if the component does not have oneHstComponentConfiguration.Type getComponentType()
HstComponentConfiguration.Type
of this ComponentConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |