java.lang.Object
com.sitemesh.parser.AbstractPageParser
- All Implemented Interfaces:
- com.sitemesh.PageParser
- Direct Known Subclasses:
- DOMPageParser
- public abstract class AbstractPageParser
- extends java.lang.Object
- implements com.sitemesh.PageParser
Abstract implementation of com.sitemesh.PageParser.
All methods convert input into byte[], meaning only that
method need be implemented.
- Version:
- $Revision: 1.5 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPageParser
public AbstractPageParser()
parse
public abstract com.sitemesh.Page parse(byte[] data)
throws java.io.IOException
- Method to be implemented by sub-classes.
- Specified by:
parse in interface com.sitemesh.PageParser
parse
public com.sitemesh.Page parse(java.io.InputStream in)
throws java.io.IOException
- Specified by:
parse in interface com.sitemesh.PageParser
parse
public com.sitemesh.Page parse(java.io.Reader in)
throws java.io.IOException
- Specified by:
parse in interface com.sitemesh.PageParser
parse
public com.sitemesh.Page parse(org.xml.sax.InputSource in)
throws java.io.IOException
- Specified by:
parse in interface com.sitemesh.PageParser
parse
public com.sitemesh.Page parse(char[] data)
throws java.io.IOException
- Specified by:
parse in interface com.sitemesh.PageParser