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.
| 构造器和说明 |
|---|
DefaultParseHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ParseHandlerpublic ParseSource getParseSource()
getParseSource 在接口中 ParseHandlerpublic void startDocument()
throws ParseException
startDocument 在接口中 ParseHandlerParseExceptionpublic void endDocument()
throws ParseException
endDocument 在接口中 ParseHandlerParseExceptionpublic void startElement(Element element) throws ParseException
startElement 在接口中 ParseHandlerParseExceptionpublic void endElement(Element element) throws ParseException
endElement 在接口中 ParseHandlerParseExceptionpublic void characters(char[] buf,
int off,
int len)
throws ParseException
characters 在接口中 ParseHandlerParseExceptionCopyright © 2013. All Rights Reserved.