Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
m_parameters
Query parameters.
|
protected String |
m_path
Path part of base url.
|
protected String |
m_result
New url.
|
Constructor and Description |
---|
NonPortletURL()
Must call
initialize(java.lang.String) on object instantiated with this constructor. |
NonPortletURL(String url)
No need to call
initialize(java.lang.String) on object instantiated with this constructor. |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
initialize(String url)
(Re-)Initializes this.
|
void |
release()
Cleans up this object's member resources, preparing it to be added back
into the pool.
|
void |
setParameter(String s,
String s1) |
void |
setParameter(String s,
String[] as) |
void |
setParameters(Map<String,?> map) |
String |
toString() |
protected String m_path
protected String m_result
public NonPortletURL()
initialize(java.lang.String)
on object instantiated with this constructor.public NonPortletURL(String url)
initialize(java.lang.String)
on object instantiated with this constructor.url
- Base URL.public void setParameter(String s, String s1)
setParameter
in interface IURL
public void setParameter(String s, String[] as)
setParameter
in interface IURL
public void setParameters(Map<String,?> map)
setParameters
in interface IURL
public String toString()
public void release()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void initialize(String url)
url
- Base URL.