com.adventnet.html.dynamic
Interface DynErrorInterface

All Known Implementing Classes:
DynamicError

public interface DynErrorInterface

In the case of HTTP communcation, the displayed html page can be generated in two ways.

          1. Dynamic Html Page generation.

          2. Customized Html Page generation using SSI tags.

In the first case the user don't need to type any html file for his instrumentation. The HtmlMain and DynamicHtml classes will generate dynamic html files and take care of all the necessary operations like modify value, create value, etc.

In the second case, using the .shtml files generated from the MibCompiler that contains required ssi tags to display the instrumented information, the user can customize the html pages.

This class is the common class to handle both type of html generation. The servlet should create an instance of this class and invoke corresponding functions from here.


Method Summary
 java.lang.String createErrorHtmlPage(int errno)
           
 java.lang.String createHtmlPage(java.lang.String message, java.lang.String heading)
           
 void setFileName(java.lang.String fileName)
           
 void setHtmlPageProp(HtmlPageProp htmlPageProp)
           
 

Method Detail

setFileName

void setFileName(java.lang.String fileName)

setHtmlPageProp

void setHtmlPageProp(HtmlPageProp htmlPageProp)

createErrorHtmlPage

java.lang.String createErrorHtmlPage(int errno)

createHtmlPage

java.lang.String createHtmlPage(java.lang.String message,
                                java.lang.String heading)