public class DefaultParseHandler extends Object implements ParseHandler
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.
| Constructor and Description |
|---|
DefaultParseHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buf,
int off,
int len) |
void |
endDocument() |
void |
endElement(Element element) |
ParseSource |
getParseSource() |
void |
setParseSource(ParseSource ps) |
void |
startDocument() |
void |
startElement(Element element) |
public void setParseSource(ParseSource ps)
setParseSource in interface ParseHandlerpublic ParseSource getParseSource()
getParseSource in interface ParseHandlerpublic void startDocument()
throws ParseException
startDocument in interface ParseHandlerParseExceptionpublic void endDocument()
throws ParseException
endDocument in interface ParseHandlerParseExceptionpublic void startElement(Element element) throws ParseException
startElement in interface ParseHandlerParseExceptionpublic void endElement(Element element) throws ParseException
endElement in interface ParseHandlerParseExceptionpublic void characters(char[] buf,
int off,
int len)
throws ParseException
characters in interface ParseHandlerParseExceptionCopyright © 2016. All Rights Reserved.