public class WebFigureHtmlGenerator
extends java.lang.Object
| Constructor and Description |
|---|
WebFigureHtmlGenerator(HttpServletRequest servletRequest)
Constructs a WebFigureHtmlGenerator instance from a URL reprsenting the WebFigure Servlet and servlet request.
|
WebFigureHtmlGenerator(HttpServletRequest servletRequest,
HttpServletResponse response)
Constructs WebFigureHtmlGenerator instance from servlet request and response
|
WebFigureHtmlGenerator(java.lang.String webFigureServletMappingName,
HttpServletRequest servletRequest)
Constructs a WebFigureHtmlGenerator instance from a URL reprsenting the WebFigure Servlet and servlet request.
|
WebFigureHtmlGenerator(java.lang.String webFigureServletMappingName,
HttpServletRequest servletRequest,
HttpServletResponse response) |
WebFigureHtmlGenerator(java.lang.String appLocalRoot,
ServletContext servletContext)
Deprecated.
Not for public use in the future.
This method is found to return incorect values on some web servers.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFigureEmbedString(java.lang.String name,
java.lang.String scope)
This method gets an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(java.lang.String name,
java.lang.String scope,
java.lang.String style)
This method gets an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(java.lang.String name,
java.lang.String scope,
java.lang.String width,
java.lang.String height,
java.lang.String style)
This is the primary method of getting an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(WebFigure figure,
java.lang.String name,
java.lang.String scope)
* This method gets an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(WebFigure figure,
java.lang.String name,
java.lang.String scope,
java.lang.String style)
This method gets an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(WebFigure figure,
java.lang.String name,
java.lang.String scope,
java.lang.String width,
java.lang.String height)
This method gets an embed string for a WebFigure.
|
java.lang.String |
getFigureEmbedString(WebFigure figure,
java.lang.String name,
java.lang.String scope,
java.lang.String width,
java.lang.String height,
java.lang.String style)
This method gets an embed string for a WebFigure.
|
public WebFigureHtmlGenerator(java.lang.String appLocalRoot,
ServletContext servletContext)
appLocalRoot - URL where the WebFigures service is mapped in the given ServletContextservletContext - Reference to the servlet context for the current servletjava.net.MalformedURLException - if TODOWebFigureHtmlGenerator(String appLocalRoot, HttpServletRequest servletRequest)public WebFigureHtmlGenerator(HttpServletRequest servletRequest)
servletRequest - Reference to the servlet request for the current servletjava.net.MalformedURLException - if TODOpublic WebFigureHtmlGenerator(HttpServletRequest servletRequest,
HttpServletResponse response)
servletRequest - Reference to the servlet request for the current servletresponse - public WebFigureHtmlGenerator(java.lang.String webFigureServletMappingName,
HttpServletRequest servletRequest,
HttpServletResponse response)
webFigureServletMappingName - Reference to the name assigned to the webfigure
servlet in the name mapping section of the web.xml usually this is WebFiguresservletRequest - Reference to the servlet request for the current servletresponse - Reference to the servlet response for the current servletpublic WebFigureHtmlGenerator(java.lang.String webFigureServletMappingName,
HttpServletRequest servletRequest)
webFigureServletMappingName - Reference to the name assigned to the webfigure
servlet in the name mapping section of the web.xml usually this is WebFiguresservletRequest - Reference to the servlet request for the current servletjava.net.MalformedURLException - if TODOpublic java.lang.String getFigureEmbedString(java.lang.String name,
java.lang.String scope)
throws MWException
name - scope - MWExceptionpublic java.lang.String getFigureEmbedString(java.lang.String name,
java.lang.String scope,
java.lang.String style)
throws MWException
name - scope - style - MWExceptionpublic java.lang.String getFigureEmbedString(WebFigure figure, java.lang.String name, java.lang.String scope, java.lang.String width, java.lang.String height) throws MWException
figure - name - scope - width - height - MWExceptionpublic java.lang.String getFigureEmbedString(WebFigure figure, java.lang.String name, java.lang.String scope, java.lang.String width, java.lang.String height, java.lang.String style) throws MWException
figure - name - scope - width - height - style - MWExceptionpublic java.lang.String getFigureEmbedString(WebFigure figure, java.lang.String name, java.lang.String scope) throws MWException
figure - name - scope - MWExceptionpublic java.lang.String getFigureEmbedString(WebFigure figure, java.lang.String name, java.lang.String scope, java.lang.String style) throws MWException
figure - name - scope - style - MWExceptionpublic java.lang.String getFigureEmbedString(java.lang.String name,
java.lang.String scope,
java.lang.String width,
java.lang.String height,
java.lang.String style)
throws MWException
name - scope - width - height - style - MWException© 1994-2008 The MathWorks, Inc. Terms of Use Patents Trademarks