|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.site.request.ComponentConfigurationImpl
public class ComponentConfigurationImpl
ComponentConfigurationImpl
Field Summary | |
---|---|
HstComponentConfiguration |
componentConfiguration
|
Constructor Summary | |
---|---|
ComponentConfigurationImpl(HstComponentConfiguration compConfig)
|
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 ComponentConfiguration.getLocalParameters(ResolvedSiteMapItem) . |
Map<String,String> |
getRawParameters()
Also see ComponentConfiguration.getParameters(ResolvedSiteMapItem) . |
String |
getRenderPath()
|
String |
getServeResourcePath()
|
String |
getXType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public HstComponentConfiguration componentConfiguration
Constructor Detail |
---|
public ComponentConfigurationImpl(HstComponentConfiguration compConfig)
Method Detail |
---|
public List<String> getParameterNames()
getParameterNames
in interface ComponentConfiguration
public Map<String,String> getParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
ComponentConfiguration
getParameters
in interface ComponentConfiguration
public String getParameter(String name, ResolvedSiteMapItem hstResolvedSiteMapItem)
ComponentConfiguration
getParameter
in interface ComponentConfiguration
public Map<String,String> getLocalParameters(ResolvedSiteMapItem hstResolvedSiteMapItem)
ComponentConfiguration
getLocalParameters
in interface ComponentConfiguration
public String getLocalParameter(String name, ResolvedSiteMapItem hstResolvedSiteMapItem)
ComponentConfiguration
getLocalParameter
in interface ComponentConfiguration
public Map<String,String> getRawParameters()
ComponentConfiguration
ComponentConfiguration.getParameters(ResolvedSiteMapItem)
. Normally, you use ComponentConfiguration.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
getRawParameters
in interface ComponentConfiguration
public Map<String,String> getRawLocalParameters()
ComponentConfiguration
ComponentConfiguration.getLocalParameters(ResolvedSiteMapItem)
. Normally, you use ComponentConfiguration.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
getRawLocalParameters
in interface ComponentConfiguration
public String getRenderPath()
getRenderPath
in interface ComponentConfiguration
public String getServeResourcePath()
getServeResourcePath
in interface ComponentConfiguration
HstComponent
public String getCanonicalPath()
ComponentConfiguration
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.
getCanonicalPath
in interface ComponentConfiguration
public String getCanonicalIdentifier()
ComponentConfiguration
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
getCanonicalIdentifier
in interface ComponentConfiguration
public String getXType()
getXType
in interface ComponentConfiguration
null
if the component does not have onepublic HstComponentConfiguration.Type getComponentType()
getComponentType
in interface ComponentConfiguration
HstComponentConfiguration.Type
of this ComponentConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |