org.apache.cocoon.components.parser
Interface Parser

All Superinterfaces:
Component, DOMFactory, XMLProducer
All Known Implementing Classes:
JaxpParser, PooledJaxpParser, XercesParser

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

public interface Parser
extends Component, XMLProducer, DOMFactory

Version:
CVS $Id: Parser.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Pierpaolo Fumagalli (Apache Software Foundation)

Field Summary
static String ROLE
          Deprecated.  
 
Method Summary
 void parse(InputSource in)
          Deprecated.  
 Document parseDocument(InputSource in)
          Deprecated.  
 void setContentHandler(ContentHandler contentHandler)
          Deprecated.  
 void setLexicalHandler(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

static final String ROLE
Deprecated. 
Method Detail

setContentHandler

void setContentHandler(ContentHandler contentHandler)
Deprecated. 

setLexicalHandler

void setLexicalHandler(LexicalHandler lexicalHandler)
Deprecated. 

parse

void parse(InputSource in)
           throws SAXException,
                  IOException
Deprecated. 
Throws:
SAXException
IOException

parseDocument

Document parseDocument(InputSource in)
                       throws SAXException,
                              IOException
Deprecated. 
Throws:
SAXException
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.