org.apache.cocoon.core.xml.avalon
Class DefaultSAXParser

java.lang.Object
  extended byorg.apache.cocoon.core.xml.avalon.DefaultSAXParser
All Implemented Interfaces:
SAXParser

public class DefaultSAXParser
extends Object
implements SAXParser

A wrapper implementation to support the Excalibur XML interfaces.

Since:
2.2
Version:
$Id: DefaultSAXParser.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected  org.apache.cocoon.core.xml.SAXParser parser
           
 
Fields inherited from interface org.apache.excalibur.xml.sax.SAXParser
ROLE
 
Constructor Summary
DefaultSAXParser()
           
 
Method Summary
 void parse(InputSource arg0, ContentHandler arg1)
           
 void parse(InputSource arg0, ContentHandler arg1, LexicalHandler arg2)
           
 void setParser(org.apache.cocoon.core.xml.SAXParser parser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

protected org.apache.cocoon.core.xml.SAXParser parser
Constructor Detail

DefaultSAXParser

public DefaultSAXParser()
Method Detail

setParser

public void setParser(org.apache.cocoon.core.xml.SAXParser parser)

parse

public void parse(InputSource arg0,
                  ContentHandler arg1,
                  LexicalHandler arg2)
           throws SAXException,
                  IOException
Specified by:
parse in interface SAXParser
Throws:
SAXException
IOException
See Also:
SAXParser.parse(org.xml.sax.InputSource, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler)

parse

public void parse(InputSource arg0,
                  ContentHandler arg1)
           throws SAXException,
                  IOException
Specified by:
parse in interface SAXParser
Throws:
SAXException
IOException
See Also:
SAXParser.parse(org.xml.sax.InputSource, org.xml.sax.ContentHandler)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.