|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.enterprise.control.AbstractListener
public abstract class AbstractListener
The abstract listener allows the reuse of basic functionality.
Constructor Summary | |
---|---|
AbstractListener()
|
Method Summary | |
---|---|
abstract void |
actionPerformed(FormEvent e)
|
java.lang.String |
getAlternativeNextPage()
|
java.lang.String |
getHomePath()
|
java.lang.String |
getInitParameter(java.lang.String name)
returns a named initi parameter or null if the parameter is not known |
java.util.List<ParameterValueIm> |
getInitParameterList()
|
java.lang.String |
getNextPage()
|
javax.servlet.ServletRequest |
getRequest()
|
java.lang.Object |
getReturnValue()
|
protected void |
gotoErrorPage(java.lang.String message)
|
void |
handle(FormEvent e)
|
void |
setAlternativeNextPage(java.lang.String target)
|
protected void |
setDefaultAlternativeNextPage(java.lang.String target)
|
protected void |
setDefaultNextPage(java.lang.String target)
|
(package private) void |
setInitParameterList(java.util.List<ParameterValueIm> params)
sets the list of assigned initialization parameters |
void |
setNextPage(java.lang.String target)
Sets the next page for this request. |
void |
setReturnValue(java.lang.Object model)
|
protected java.util.HashMap<java.lang.String,java.lang.String> |
toModel()
transforms the request to a set of name value pairs stored in a HashMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractListener()
Method Detail |
---|
public abstract void actionPerformed(FormEvent e)
actionPerformed
in interface WebListener
e
- public final void handle(FormEvent e)
e
- public javax.servlet.ServletRequest getRequest()
public java.lang.String getHomePath()
protected final void setDefaultNextPage(java.lang.String target)
target
- protected final void setDefaultAlternativeNextPage(java.lang.String target)
target
- public void setNextPage(java.lang.String target)
target
- the name of the next pagepublic java.lang.String getNextPage()
public void setAlternativeNextPage(java.lang.String target)
target
- public java.lang.String getAlternativeNextPage()
public java.lang.Object getReturnValue()
public void setReturnValue(java.lang.Object model)
model
- protected void gotoErrorPage(java.lang.String message)
message
- the message for the error pagevoid setInitParameterList(java.util.List<ParameterValueIm> params)
params
- public java.util.List<ParameterValueIm> getInitParameterList()
setInitParameterList(List)
public java.lang.String getInitParameter(java.lang.String name)
null
if the parameter is not known
name
-
null
if the parameter is not knownprotected java.util.HashMap<java.lang.String,java.lang.String> toModel()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org