Home » sitemesh-2.4.1 » com.opensymphony.module » sitemesh » [javadoc | source]
public interface: PageParser [javadoc | source]

All Known Implementing Classes:
    DivExtractingPageParser, MultipassReplacementPageParser, HTMLPageParser, FastPageParser

The PageParser is responsible for parsing the page data into an appropriate com.opensymphony.module.sitemesh.Page object.

The implementation of this can be switched to parse different kind of data (e.g. HTML, WML, FOP, images) or for performance enhancements. An implementation is obtained through the com.opensymphony.module.sitemesh.Factory .

A single PageParser is reused, therefore the parse() methods need to be thread-safe.

Method from com.opensymphony.module.sitemesh.PageParser Summary:
Method from com.opensymphony.module.sitemesh.PageParser Detail:
 public Page parse(char[] data) throws IOException
    This builds a Page.