com.sun.jdmk.comm
Interface HtmlParser


public abstract interface HtmlParser

This interface should be implemented by an MBean acting as an HTML parser. MBeans implementing this interface can be used to customize the the HTML send by the HTML protocol adaptor.

See Also:
HtmlAdaptorServer

Method Summary
 java.lang.String parsePage(java.lang.String initialPage)
          Parses the generated HTML page.
 java.lang.String parseRequest(java.lang.String request)
          Parses the recieved HTML requests.
 

Method Detail

parseRequest

public java.lang.String parseRequest(java.lang.String request)
Parses the recieved HTML requests.
Parameters:
request - The HTML request received by the HTML protocol adaptor.
Returns:
An HTML page or null to generate the deafult HTML page.

parsePage

public java.lang.String parsePage(java.lang.String initialPage)
Parses the generated HTML page.
Parameters:
initialPage - The HTML page generated by the HTML protocol adaptor.
Returns:
An HTML page.