|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.mock.core.component.MockHstURL
public class MockHstURL
MockHstURL
Field Summary |
---|
Fields inherited from interface org.hippoecm.hst.core.component.HstURL |
---|
ACTION_TYPE, COMPONENT_RENDERING_TYPE, RENDER_TYPE, RESOURCE_TYPE |
Constructor Summary | |
---|---|
MockHstURL()
|
Method Summary | |
---|---|
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(Map<String,String[]> parameters)
|
void |
setParameter(String key,
String value)
Sets a parameter of this url. |
void |
setParameter(String key,
String[] values)
Sets a parameter array of this url. |
void |
setParameters(Map<String,String[]> parameters)
Sets parameter map of this url |
void |
setReferenceNamespace(String referenceNamespace)
|
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. |
void |
setType(String type)
|
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, toString, wait, wait, wait |
Methods inherited from interface org.hippoecm.hst.core.component.HstURL |
---|
toString |
Constructor Detail |
---|
public MockHstURL()
Method Detail |
---|
public String getType()
HstURL
getType
in interface HstURL
public void setType(String type)
public String getReferenceNamespace()
HstURL
getReferenceNamespace
in interface HstURL
public void setReferenceNamespace(String referenceNamespace)
public void setParameter(String key, String value)
HstURL
setParameter
in interface HstURL
public void setParameter(String key, String[] values)
HstURL
setParameter
in interface HstURL
public void setParameters(Map<String,String[]> parameters)
HstURL
setParameters
in interface HstURL
public void setParameter(Map<String,String[]> parameters)
public Map<String,String[]> getParameterMap()
HstURL
getParameterMap
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 void setResourceID(String resourceID)
HstURL
setResourceID
in interface HstURL
public String getResourceID()
HstURL
getResourceID
in interface HstURL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |