|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.core.component.HstURLImpl
public class HstURLImpl
HstURLImpl
Field Summary | |
---|---|
protected HstContainerURL |
baseContainerURL
|
protected String |
explicitContextPath
|
protected Map<String,String[]> |
parameterMap
|
protected String |
referenceNamespace
|
protected HstRequestContext |
requestContext
|
protected String |
resourceID
|
protected String |
type
|
protected HstContainerURLProvider |
urlProvider
|
Fields inherited from interface org.hippoecm.hst.core.component.HstURL |
---|
ACTION_TYPE, COMPONENT_RENDERING_TYPE, RENDER_TYPE, RESOURCE_TYPE |
Constructor Summary | |
---|---|
HstURLImpl(String type,
HstContainerURL baseContainerURL,
String referenceNamespace,
HstContainerURLProvider urlProvider,
HstRequestContext requestContext)
|
|
HstURLImpl(String type,
HstContainerURL baseContainerURL,
String referenceNamespace,
HstContainerURLProvider urlProvider,
HstRequestContext requestContext,
String explicitContextPath)
|
Method Summary | |
---|---|
HstContainerURL |
getBaseContainerURL()
|
Map<String,String[]> |
getParameterMap()
Returns the parameter map of this url. |
String |
getReferenceNamespace()
Returns the reference namespace |
String |
getResourceID()
Returns the resource ID |
String |
getType()
Returns the url type: render, action or resource |
void |
setParameter(String name,
String value)
Sets a parameter of this url. |
void |
setParameter(String name,
String[] values)
Sets a parameter array of this url. |
void |
setParameters(Map<String,String[]> parameters)
Sets parameter map of this url |
void |
setResourceID(String resourceID)
Allows setting a resource ID that can be retrieved when serving the resource through HstRequest.getResourceID() method in a HstComponent instance. |
String |
toString()
Returns string representation of this url. |
void |
write(Writer out)
Writes the string representation of this url. |
void |
write(Writer out,
boolean escapeXML)
Writes the string representation of this url, as xml-escaped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String type
protected String referenceNamespace
protected HstContainerURL baseContainerURL
protected Map<String,String[]> parameterMap
protected String resourceID
protected HstContainerURLProvider urlProvider
protected transient HstRequestContext requestContext
protected String explicitContextPath
Constructor Detail |
---|
public HstURLImpl(String type, HstContainerURL baseContainerURL, String referenceNamespace, HstContainerURLProvider urlProvider, HstRequestContext requestContext)
public HstURLImpl(String type, HstContainerURL baseContainerURL, String referenceNamespace, HstContainerURLProvider urlProvider, HstRequestContext requestContext, String explicitContextPath)
Method Detail |
---|
public Map<String,String[]> getParameterMap()
HstURL
getParameterMap
in interface HstURL
public String getType()
HstURL
getType
in interface HstURL
public String getReferenceNamespace()
HstURL
getReferenceNamespace
in interface HstURL
public HstContainerURL getBaseContainerURL()
public void setParameter(String name, String value)
HstURL
setParameter
in interface HstURL
public void setParameter(String name, String[] values)
HstURL
setParameter
in interface HstURL
public void setParameters(Map<String,String[]> parameters)
HstURL
setParameters
in interface HstURL
public void setResourceID(String resourceID)
HstURL
setResourceID
in interface HstURL
public String getResourceID()
HstURL
getResourceID
in interface HstURL
public void write(Writer out) throws IOException
HstURL
write
in interface HstURL
IOException
public void write(Writer out, boolean escapeXML) throws IOException
HstURL
write
in interface HstURL
IOException
public String toString()
HstURL
toString
in interface HstURL
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |