com.sun.jdmk.comm
Interface HtmlParser


public interface HtmlParser

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

See Also:
HtmlAdaptorServer

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

Method Detail

parseRequest

String parseRequest(String request)
Parses the received HTML requests.

Parameters:
request - The HTML request received by the HTML protocol adaptor.
Returns:
An HTML page or null to generate the default HTML page.

parsePage

String parsePage(String initialPage)
Parses the generated HTML page.

Parameters:
initialPage - The HTML page generated by the HTML protocol adaptor.
Returns:
An HTML page.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.