NetCharts Pro

netcharts.pro.common.page
Interface NFPageExtension

All Known Implementing Classes:
NFPageOutput, NFRasterPageOutput, NFSVGPageOutput

public interface NFPageExtension

Base interface for page content generation. Implementations of this interface can be registered to generate pages containing images of specific mime types. All implementors should contain a constructor that takes a String mime type.


Method Summary
 java.lang.String getPage(HttpServletRequest request, NFGraph graph, NFPageParams params)
          Generates the page and image content based on the chart instance and page parameters.
 NFPageParams getPageParamsInstance()
          Returns a default NFPageParams instance specific to this page generation extension.
 java.lang.String getScript(NFPageParams params)
          Returns the user interactivity script for the given page generation parameters.
 

Method Detail

getPage

java.lang.String getPage(HttpServletRequest request,
                         NFGraph graph,
                         NFPageParams params)
                         throws java.lang.Exception
Generates the page and image content based on the chart instance and page parameters.

Parameters:
request - The HTTP request associated with the response to include the content within.
graph - The graph object associated with the content.
params - The set of parameters defining how the page and image should be generated.
Returns:
The page content based on the chart instance and page generation parameters.
Throws:
java.lang.Exception

getScript

java.lang.String getScript(NFPageParams params)
Returns the user interactivity script for the given page generation parameters.


getPageParamsInstance

NFPageParams getPageParamsInstance()
Returns a default NFPageParams instance specific to this page generation extension.


NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011