com.opensymphony.module.sitemesh.parser
Class HTMLPageParser

java.lang.Object
  extended bycom.opensymphony.module.sitemesh.parser.HTMLPageParser
All Implemented Interfaces:
PageParser

public class HTMLPageParser
extends Object
implements PageParser

WARNING - This is experimental - use at own risk! Builds an HTMLPage object from an HTML document. This behaves similarly to the FastPageParser, however it's a complete rewrite that is simpler to add custom features to such as extraction and transformation of elements.

Author:
Joe Walnes
See Also:
TagTokenizer

Constructor Summary
HTMLPageParser()
           
 
Method Summary
 Page parse(char[] data)
          This builds a Page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLPageParser

public HTMLPageParser()
Method Detail

parse

public Page parse(char[] data)
           throws IOException
Description copied from interface: PageParser
This builds a Page.

Specified by:
parse in interface PageParser
Throws:
IOException

www.opensymphony.com/sitemesh/