|
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 org.deegree.portal.common.control.AbstractSimplePrintListener
public abstract class AbstractSimplePrintListener
performs a print request/event by creating a PDF document from the current map. For this JASPER is used. Well known
parameters that can be passed to a jaser report are:
Constructor Summary | |
---|---|
AbstractSimplePrintListener()
|
Method Summary | |
---|---|
void |
actionPerformed(FormEvent e)
|
protected double |
calcScale(Pair<java.lang.Integer,java.lang.Integer> size,
java.lang.String getmap)
|
protected User |
getUser()
returns null and should be overwritten by an extending class |
protected java.lang.String |
getVendorspecificParameters(RPCWebEvent rpc)
returns null and should be overwritten by an extending class |
protected abstract ViewContext |
getViewContext(RPCWebEvent rpc)
reads the view context to print from the users session |
protected void |
validate(RPCWebEvent rpc)
validates the incoming request/RPC if conatins all required elements |
Methods inherited from class org.deegree.enterprise.control.AbstractListener |
---|
getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSimplePrintListener()
Method Detail |
---|
public void actionPerformed(FormEvent e)
actionPerformed
in interface WebListener
actionPerformed
in class AbstractListener
e
- protected double calcScale(Pair<java.lang.Integer,java.lang.Integer> size, java.lang.String getmap) throws InconsistentRequestException, XMLParsingException, java.io.IOException, org.xml.sax.SAXException
InconsistentRequestException
XMLParsingException
java.io.IOException
org.xml.sax.SAXException
protected java.lang.String getVendorspecificParameters(RPCWebEvent rpc)
null
and should be overwritten by an extending class
null
protected User getUser()
null
and should be overwritten by an extending class
null
protected abstract ViewContext getViewContext(RPCWebEvent rpc)
rpc
-
protected void validate(RPCWebEvent rpc) throws PortalException
rpc
-
PortalException
|
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