|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.innoq.generator.jsp.JspAbstractBase
| Field Summary | |
static java.lang.String |
TRANSFORMATION_PROPERTIES_KEY
|
| Constructor Summary | |
JspAbstractBase()
|
|
| Method Summary | |
abstract void |
_jspService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method will be automatically implemented by the JSP engine. |
void |
addProperties(java.util.Properties pProps)
Adds the given properties to the transformation properties. |
void |
destroy()
Destroys this JSP. |
abstract java.lang.String |
getFilename()
Creates the fully qualified filename. |
IMetaModelFacade |
getMetaModel()
Returns an instance of the current IMetaModelFacade. |
abstract java.lang.String |
getName()
Returns the name of the current model element. |
java.util.Properties |
getProperties()
Returns the whole set of transformation properties |
java.lang.String |
getProperty(java.lang.String pKey)
Returns a transformation property with the given key |
java.lang.String |
getProperty(java.lang.String pKey,
java.lang.String pDefault)
Returns a transformation property with the given key |
javax.servlet.ServletConfig |
getServletConfig()
|
void |
init()
Is called to initialize this JSP. |
void |
init(javax.servlet.ServletConfig servletconfig)
Overwriting this method suppresses an unnecessary init-logmessage. |
boolean |
isMainJSP()
|
void |
jspDestroy()
Called when the JSP is destroyed. |
void |
jspInit()
Initializes this JSP. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Service method of JSP. |
void |
setMetaModel(IMetaModelFacade pMetaModel)
Sets the current IMetaModelFacade. |
void |
setProperties(java.util.Properties pProps)
Replaces transformation properties with pProps. |
void |
setProperty(java.lang.String pKey,
java.lang.String pValue)
Sets a property with given key and value |
| Methods inherited from class javax.servlet.http.HttpServlet |
service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, log, log |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Servlet |
getServletInfo, service |
| Field Detail |
public static java.lang.String TRANSFORMATION_PROPERTIES_KEY
| Constructor Detail |
public JspAbstractBase()
| Method Detail |
public void jspInit()
jspInit in interface javax.servlet.jsp.JspPagepublic void jspDestroy()
jspDestroy in interface javax.servlet.jsp.JspPage
public void init(javax.servlet.ServletConfig servletconfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletjavax.servlet.ServletException
public final void init()
throws javax.servlet.ServletException
This method will be called by the container. Do not call it yourself!
javax.servlet.ServletExceptionjspInit()public final void destroy()
This method will be called by the container. Do not call it yourself!
destroy in interface javax.servlet.ServletjspDestroy()public boolean isMainJSP()
public abstract void _jspService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
_jspService in interface javax.servlet.jsp.HttpJspPagejavax.servlet.ServletException
java.io.IOExceptionpublic javax.servlet.ServletConfig getServletConfig()
getServletConfig in interface javax.servlet.Servletpublic IMetaModelFacade getMetaModel()
IMetaModelFacade.
IMetaModelFacadepublic void setMetaModel(IMetaModelFacade pMetaModel)
IMetaModelFacade.
pMetaModel - instance of the current IMetaModelFacadepublic abstract java.lang.String getFilename()
getName()public abstract java.lang.String getName()
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
This method will be called by the container. Do not call it yourself!
javax.servlet.ServletException
java.io.IOExceptionpublic final java.lang.String getProperty(java.lang.String pKey)
pKey - Key for lookup
public final java.lang.String getProperty(java.lang.String pKey,
java.lang.String pDefault)
pKey - Key for lookuppDefault - default value
public final java.util.Properties getProperties()
public final void setProperty(java.lang.String pKey,
java.lang.String pValue)
pKey - keypValue - valuepublic final void setProperties(java.util.Properties pProps)
pProps - new Transformation propertiespublic final void addProperties(java.util.Properties pProps)
pProps - Properties to add
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
