public class IlvDiagrammerServlet extends IlvSDMServlet
IlvDiagrammerServlet
is an extension of the basic
IlvSDMServlet
class that can load Diagrammer
project files and use Diagrammer data sources.IlvDiagrammer
,
IlvDiagrammerProject
,
Serialized FormConstructor and Description |
---|
IlvDiagrammerServlet()
Creates a new
IlvDiagrammerServlet instance. |
Modifier and Type | Method and Description |
---|---|
protected IlvSDMServletSupport |
createServletSupport()
Deprecated.
Beginning with JViews 8.0 use
createServletSupport(ServletContext) instead. |
protected IlvSDMServletSupport |
createServletSupport(javax.servlet.ServletContext context)
Returns a new instance of
IlvDiagrammerServletSupport . |
String |
getDefaultProject()
Returns the default project file.
|
IlvDiagrammer |
getDiagrammer(javax.servlet.http.HttpServletRequest request)
Returns the
IlvDiagrammer object used to
compute the diagram for a given request. |
void |
init(javax.servlet.ServletConfig config)
This method is overridden to handle the
"project" parameter of
the diagrammer.servlet configuration. |
void |
setDefaultProject(String project)
Sets the default project file.
|
void |
setProject(javax.servlet.http.HttpServletRequest request,
String project)
Loads a Diagrammer project file.
|
addServerActionListener, doGet, doPost, getDataURL, getDefaultStyleSheet, getDefaultXmlFile, getJPEGQuality, getServletSupport, isMultiSession, isVerbose, prepareSession, removeServerActionListener, setDataURL, setDefaultStyleSheet, setDefaultXmlFile, setJPEGQuality, setMultiSession, setStyleSheet, setVerbose, setXmlFile
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public IlvDiagrammerServlet()
IlvDiagrammerServlet
instance.public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
"project"
parameter of
the diagrammer.servlet configuration.init
in interface javax.servlet.Servlet
init
in class IlvSDMServlet
config
- The object holding the configuration information for the servlet.javax.servlet.ServletException
@Deprecated protected IlvSDMServletSupport createServletSupport()
createServletSupport(ServletContext)
instead.IlvDiagrammerServletSupport
.createServletSupport
in class IlvSDMServlet
protected IlvSDMServletSupport createServletSupport(javax.servlet.ServletContext context)
IlvDiagrammerServletSupport
.createServletSupport
in class IlvSDMServlet
context
- The servlet context.public void setDefaultProject(String project)
init(javax.servlet.ServletConfig)
method of the
diagrammer.servlet to initialize the default project to display when a new
client connects to the diagrammer.servlet.project
- The new project file.public String getDefaultProject()
public void setProject(javax.servlet.http.HttpServletRequest request, String project)
request
- The request being processed.project
- The URL of the project file.public IlvDiagrammer getDiagrammer(javax.servlet.http.HttpServletRequest request)
IlvDiagrammer
object used to
compute the diagram for a given request.request
- The request being processed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.