|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.impl.PortletURIImpl
Implementation of PortletURI
Field Summary | |
static java.lang.String |
ACTION
|
static java.lang.String |
MODE
|
static java.lang.String |
PORTLET
|
static java.lang.String |
STATE
|
Constructor Summary | |
PortletURIImpl(net.sf.jportlet.impl.PortletRequestImpl request,
net.sf.jportlet.impl.PortletResponseImpl response)
|
|
PortletURIImpl(java.lang.String portletName,
java.lang.String contextPath)
|
Method Summary | |
void |
addParameter(java.lang.String name,
java.lang.String value)
Adds the given parameter to this URI. |
java.lang.String |
getAction()
Return the name action |
Portlet.Mode |
getMode()
Return the current mode |
java.lang.String |
getPortletName()
|
PortletWindow.State |
getState()
Returnt the state of the portlet |
static net.sf.jportlet.impl.PortletURIImpl |
parse(java.lang.String requestURI)
|
void |
setAction(java.lang.String action)
Set the name of the action |
void |
setMode(Portlet.Mode mode)
Set the mode of the portlet |
void |
setPortletName(java.lang.String portletName)
Sets the portletName. |
void |
setState(PortletWindow.State state)
Set the state of the window |
java.lang.String |
toString()
Format of the URI: / |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ACTION
public static final java.lang.String MODE
public static final java.lang.String PORTLET
public static final java.lang.String STATE
Constructor Detail |
public PortletURIImpl(net.sf.jportlet.impl.PortletRequestImpl request, net.sf.jportlet.impl.PortletResponseImpl response)
public PortletURIImpl(java.lang.String portletName, java.lang.String contextPath)
Method Detail |
public static net.sf.jportlet.impl.PortletURIImpl parse(java.lang.String requestURI) throws MalformedURIException
MalformedURIException
public void addParameter(java.lang.String name, java.lang.String value)
PortletURI
addParameter
in interface PortletURI
name
- value
- PortletURI.addParameter(java.lang.String, java.lang.String)
public java.lang.String getAction()
PortletURI
getAction
in interface PortletURI
PortletURI.getAction()
public Portlet.Mode getMode()
PortletURI
getMode
in interface PortletURI
PortletURI.getMode()
public java.lang.String getPortletName()
net.sf.jportlet.portlet.PortletURI#getPortletName()
public void setAction(java.lang.String action)
PortletURI
setAction
in interface PortletURI
action
- PortletURI.setAction(java.lang.String)
public void setMode(Portlet.Mode mode)
PortletURI
setMode
in interface PortletURI
mode
- PortletURI.setMode(net.sf.jportlet.portlet.Portlet.Mode)
public void setPortletName(java.lang.String portletName)
portletName
- The portletName to setpublic java.lang.String toString()
toString
in interface PortletURI
toString
in class java.lang.Object
Object.toString()
public PortletWindow.State getState()
PortletURI
getState
in interface PortletURI
PortletURI.getState()
public void setState(PortletWindow.State state)
PortletURI
setState
in interface PortletURI
state
- PortletURI.setState(net.sf.jportlet.portlet.PortletWindow.State)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |