Google

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

Field Summary
protected  boolean validation
           
 
Constructor Summary
AbstractParser()
           
 
          Receive notification of a recoverable error.
          Receive notification of a non-recoverable error.
          Creates a DOM tree parsing the given input source and using the given entity resolver.
          Receive notification of a warning.
Method Summary
 void
 void
 void init(Configurations conf)
          Initialize the class by passing its configurations.
 org.w3c.dom.Document
 void
 
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
 

Field Detail

validation

protected boolean validation
Constructor Detail

AbstractParser

public AbstractParser()
Method Detail

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.