
|
Cocoon API: Class AbstractParser
org.apache.cocoon.parser
Class AbstractParser
java.lang.Object
|
+--org.apache.cocoon.parser.AbstractParser
- Direct Known Subclasses:
- SunXMLParser, XercesParser
This class implements all the common methods used by the XML parsers.
- Version:
- $Revision: 1.4 $ $Date: 2000/02/13 18:29:28 $
- Author:
- Stefano Mazzocchi
Method Summary |
void |
Receive notification of a recoverable error.
void |
Receive notification of a non-recoverable error.
void |
init(Configurations conf)
Initialize the class by passing its configurations. |
org.w3c.dom.Document |
Creates a DOM tree parsing the given input source and using the
given entity resolver.
void |
Receive notification of a warning.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.parser.Parser |
validation
protected boolean validation
AbstractParser
public AbstractParser()
init
public void init(Configurations conf)
- Description copied from interface:
Configurable
- Initialize the class by passing its configurations.
- Specified by:
init in interface Configurable
parse
java.io.IOException
- Creates a DOM tree parsing the given input source and using the
given entity resolver.
error
- Receive notification of a recoverable error.
fatalError
- Receive notification of a non-recoverable error.
warning
- Receive notification of a warning.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.
|