com.hp.hpl.sparta
Interface ParseHandler
- All Known Implementing Classes:
- DefaultParseHandler, XMLReaderImpl
- public interface ParseHandler
This interface defines the SAX Parser interface for Sparta.
It is used by BuildDocument, the DOM Parser and by externel
SAX Parser adapters.
Copyright (C) 2002 Hewlett-Packard Company.
This file is part of Sparta, an XML Parser, DOM, and XPath library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version. This library
is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
- Version:
- $Date: 2002/08/19 05:03:57 $ $Revision: 1.1.1.1 $
- Author:
- Sergio Marti
- See Also:
- GNU Lesser General Public License
setParseSource
public void setParseSource(ParseSource ps)
getParseSource
public ParseSource getParseSource()
startDocument
public void startDocument()
throws ParseException
endDocument
public void endDocument()
throws ParseException
startElement
public void startElement(Element element)
throws ParseException
endElement
public void endElement(Element element)
throws ParseException
characters
public void characters(char[] buf,
int offset,
int len)
throws ParseException