Package org.apache.stylebook.parsers
Class AbstractParser
- java.lang.Object
-
- org.apache.stylebook.AbstractComponent
-
- org.apache.stylebook.parsers.AbstractParser
-
- Direct Known Subclasses:
CachingParser,XercesParser
public abstract class AbstractParser extends AbstractComponent implements Parser
- Version:
- CVS $Revision: 313202 $ $Date: 1999-11-30 13:28:55 +0100 (Tue, 30 Nov 1999) $
- Author:
- Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
-
-
Field Summary
-
Fields inherited from class org.apache.stylebook.AbstractComponent
engine, params
-
-
Constructor Summary
Constructors Constructor Description AbstractParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Documentparse(java.net.URL in)Parse the specified InputSource.-
Methods inherited from class org.apache.stylebook.AbstractComponent
debug, init, log
-
-
-
-
Method Detail
-
parse
public org.w3c.dom.Document parse(java.net.URL in) throws java.io.IOException, CreationExceptionDescription copied from interface:ParserParse the specified InputSource.- Specified by:
parsein interfaceParser- Returns:
- A non-null DOM Document object.
- Throws:
java.io.IOException- If an I/O error occourred accessing the specified System-ID.CreationException- If an error occourred parsing the document.
-
-