org.apache.excalibur.xml.sax
Class ContentHandlerAdapter
java.lang.Object
org.apache.excalibur.xml.sax.ContentHandlerAdapter
- All Implemented Interfaces:
- org.xml.sax.DocumentHandler
- public class ContentHandlerAdapter
- extends java.lang.Object
- implements org.xml.sax.DocumentHandler
This class is an utility class adapting a SAX version 2.0
ContentHandler
to receive SAX version 1.0 events.
- Version:
- CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:20 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentHandlerAdapter
public ContentHandlerAdapter(org.xml.sax.ContentHandler handler)
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator locator)
- Specified by:
setDocumentLocator
in interface org.xml.sax.DocumentHandler
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Specified by:
startDocument
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Specified by:
endDocument
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Specified by:
ignorableWhitespace
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
processingInstruction
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
- Specified by:
processingInstruction
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String name)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.DocumentHandler
- Throws:
org.xml.sax.SAXException
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.