public class FastMenuXmlObserver.MenuInfoHandler extends org.xml.sax.helpers.DefaultHandler
| 限定符和类型 | 字段和说明 |
|---|---|
private LinkedList<FastMenuInfo> |
linked |
private Locator |
locator |
private File |
xmlFile |
| 构造器和说明 |
|---|
MenuInfoHandler(File xmlFile) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
endElement(String uri,
String localName,
String qName) |
(专用程序包) String |
getAttrValue(Attributes attributes,
String attr) |
private String |
insertToFirstParam(String method,
String insertParam) |
void |
setDocumentLocator(Locator locator) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprivate File xmlFile
private Locator locator
private LinkedList<FastMenuInfo> linked
MenuInfoHandler(File xmlFile)
public void setDocumentLocator(Locator locator)
setDocumentLocator 在接口中 ContentHandlersetDocumentLocator 在类中 org.xml.sax.helpers.DefaultHandlerpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement 在接口中 ContentHandlerstartElement 在类中 org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement 在接口中 ContentHandlerendElement 在类中 org.xml.sax.helpers.DefaultHandlerSAXExceptionString getAttrValue(Attributes attributes, String attr)
Copyright © 2021. All rights reserved.