org.apache.cocoon.components.parser
Interface Parser

All Superinterfaces:
org.apache.avalon.framework.component.Component, DOMFactory, XMLProducer
All Known Implementing Classes:
JaxpParser, XercesParser

Deprecated. The Avalon XML Parser is now used inside Cocoon. This role will be removed in future releases.

public interface Parser
extends org.apache.avalon.framework.component.Component, XMLProducer, DOMFactory

Version:
CVS $Id: Parser.java,v 1.6 2002/02/22 07:00:10 cziegeler Exp $
Author:
Pierpaolo Fumagalli (Apache Software Foundation, Exoffice Technologies)

Field Summary
static java.lang.String ROLE
          Deprecated.  
 
Method Summary
 void parse(org.xml.sax.InputSource in)
          Deprecated.  
 org.w3c.dom.Document parseDocument(org.xml.sax.InputSource in)
          Deprecated.  
 void setContentHandler(org.xml.sax.ContentHandler contentHandler)
          Deprecated.  
 void setLexicalHandler(org.xml.sax.ext.LexicalHandler lexicalHandler)
          Deprecated.  
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 
Methods inherited from interface org.apache.cocoon.xml.dom.DOMFactory
newDocument, newDocument, newDocument
 

Field Detail

ROLE

public static final java.lang.String ROLE
Deprecated. 
Method Detail

setContentHandler

public void setContentHandler(org.xml.sax.ContentHandler contentHandler)
Deprecated. 

setLexicalHandler

public void setLexicalHandler(org.xml.sax.ext.LexicalHandler lexicalHandler)
Deprecated. 

parse

public void parse(org.xml.sax.InputSource in)
           throws org.xml.sax.SAXException,
                  java.io.IOException
Deprecated. 

parseDocument

public org.w3c.dom.Document parseDocument(org.xml.sax.InputSource in)
                                   throws org.xml.sax.SAXException,
                                          java.io.IOException
Deprecated. 


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.