public interface 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.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
characters(char[] buf,
int offset,
int len) |
void |
endDocument() |
void |
endElement(Element element) |
ParseSource |
getParseSource() |
void |
setParseSource(ParseSource ps) |
void |
startDocument() |
void |
startElement(Element element) |
void setParseSource(ParseSource ps)
ParseSource getParseSource()
void startDocument()
throws ParseException
ParseExceptionvoid endDocument()
throws ParseException
ParseExceptionvoid startElement(Element element) throws ParseException
ParseExceptionvoid endElement(Element element) throws ParseException
ParseExceptionvoid characters(char[] buf,
int offset,
int len)
throws ParseException
ParseExceptionCopyright © 2016. All Rights Reserved.