org.apache.cocoon.components.parser
Interface Parser

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

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

Version:
CVS $Revision: 1.1 $ $Date: 2002/01/03 12:31:12 $
Author:
Pierpaolo Fumagalli (Apache Software Foundation, Exoffice Technologies)

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void parse(org.xml.sax.InputSource in)
           
 org.w3c.dom.Document parseDocument(org.xml.sax.InputSource in)
           
 void setContentHandler(org.xml.sax.ContentHandler contentHandler)
           
 void setLexicalHandler(org.xml.sax.ext.LexicalHandler lexicalHandler)
           
 
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
Method Detail

setContentHandler

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

setLexicalHandler

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

parse

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

parseDocument

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


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