org.apache.stylebook.parsers
Class AbstractParser
java.lang.Object
org.apache.stylebook.AbstractComponent
org.apache.stylebook.parsers.AbstractParser
- All Implemented Interfaces:
- Component, Parser
- Direct Known Subclasses:
- CachingParser, XercesParser
public abstract class AbstractParser
- extends AbstractComponent
- implements Parser
- Version:
- CVS $Revision: 313202 $ $Date: 1999-11-30 12:28:55 +0000 (Tue, 30 Nov 1999) $
- Author:
- Pierpaolo Fumagalli, Copyright 1999 © The Apache
Software Foundation. All rights reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.stylebook.Component |
init |
AbstractParser
public AbstractParser()
parse
public Document parse(URL in)
throws IOException,
CreationException
- Description copied from interface:
Parser
- Parse the specified InputSource.
- Specified by:
parse
in interface Parser
- Returns:
- A non-null DOM Document object.
- Throws:
IOException
- If an I/O error occourred accessing the specified
System-ID.
CreationException
- If an error occourred parsing the document.