org.apache.cocoon.components.parser
Class XercesParser
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.xml.AbstractXMLProducer
|
+--org.apache.cocoon.components.parser.XercesParser
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, DOMFactory, org.xml.sax.ErrorHandler, org.apache.avalon.framework.logger.Loggable, Parser, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, XMLProducer
Deprecated. The Avalon XML Parser is now used inside Cocoon. This role
will be removed in future releases.
- public class XercesParser
- extends AbstractXMLProducer
- implements Parser, org.xml.sax.ErrorHandler, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable
- Version:
- CVS $Id: XercesParser.java,v 1.8 2002/02/22 07:00:10 cziegeler Exp $
- Author:
- Pierpaolo Fumagalli
(Apache Software Foundation, Exoffice Technologies)
Field Summary |
protected org.apache.avalon.framework.component.ComponentManager |
manager
Deprecated. the component manager |
protected Resolver |
resolver
Deprecated. the Entity Resolver |
Fields inherited from interface org.apache.cocoon.components.parser.Parser |
ROLE |
Method Summary |
void |
compose(org.apache.avalon.framework.component.ComponentManager manager)
Deprecated. Get the Entity Resolver from the component manager |
void |
dispose()
Deprecated. Dispose |
void |
error(org.xml.sax.SAXParseException e)
Deprecated. Receive notification of a recoverable error. |
void |
fatalError(org.xml.sax.SAXParseException e)
Deprecated. Receive notification of a fatal error. |
org.w3c.dom.Document |
newDocument()
Deprecated. Create a new Document object. |
org.w3c.dom.Document |
newDocument(java.lang.String name)
Deprecated. Create a new Document object with a specified DOCTYPE. |
org.w3c.dom.Document |
newDocument(java.lang.String name,
java.lang.String pub,
java.lang.String sys)
Deprecated. Create a new Document object with a specified DOCTYPE, public ID and
system ID. |
void |
parse(org.xml.sax.InputSource in)
Deprecated. |
org.w3c.dom.Document |
parseDocument(org.xml.sax.InputSource input)
Deprecated. Parses a new Document object from the given InputSource. |
void |
warning(org.xml.sax.SAXParseException e)
Deprecated. Receive notification of a warning. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected org.apache.avalon.framework.component.ComponentManager manager
- Deprecated.
- the component manager
resolver
protected Resolver resolver
- Deprecated.
- the Entity Resolver
XercesParser
public XercesParser()
throws org.xml.sax.SAXException
- Deprecated.
compose
public void compose(org.apache.avalon.framework.component.ComponentManager manager)
throws org.apache.avalon.framework.component.ComponentException
- Deprecated.
- Get the Entity Resolver from the component manager
- Specified by:
compose
in interface org.apache.avalon.framework.component.Composable
dispose
public void dispose()
- Deprecated.
- Dispose
- Specified by:
dispose
in interface org.apache.avalon.framework.activity.Disposable
parse
public void parse(org.xml.sax.InputSource in)
throws org.xml.sax.SAXException,
java.io.IOException
- Deprecated.
- Specified by:
parse
in interface Parser
newDocument
public org.w3c.dom.Document newDocument()
- Deprecated.
- Create a new Document object.
- Specified by:
newDocument
in interface DOMFactory
newDocument
public org.w3c.dom.Document newDocument(java.lang.String name)
- Deprecated.
- Create a new Document object with a specified DOCTYPE.
- Specified by:
newDocument
in interface DOMFactory
newDocument
public org.w3c.dom.Document newDocument(java.lang.String name,
java.lang.String pub,
java.lang.String sys)
- Deprecated.
- Create a new Document object with a specified DOCTYPE, public ID and
system ID.
- Specified by:
newDocument
in interface DOMFactory
parseDocument
public org.w3c.dom.Document parseDocument(org.xml.sax.InputSource input)
throws org.xml.sax.SAXException,
java.io.IOException
- Deprecated.
- Parses a new Document object from the given InputSource.
- Specified by:
parseDocument
in interface Parser
error
public void error(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Deprecated.
- Receive notification of a recoverable error.
- Specified by:
error
in interface org.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Deprecated.
- Receive notification of a fatal error.
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
warning
public void warning(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Deprecated.
- Receive notification of a warning.
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.