public static class SAXParser.Handler<I> extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
protected Attributes |
attributes |
protected StringBuilder |
characters |
protected I |
instance |
protected SAXParser.Handler |
parent |
protected SAXParser |
parser |
| Constructor and Description |
|---|
Handler(I instance) |
Handler(I instance,
SAXParser.Handler parent) |
Handler(I instance,
SAXParser parser) |
Handler(I instance,
SAXParser parser,
SAXParser.Handler parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
protected Attributes |
getAttributes() |
String |
getCharacters() |
I |
getInstance() |
SAXParser.Handler |
getParent() |
SAXParser |
getParser() |
protected boolean |
isLastElement(String uri,
String localName,
String qName) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
protected void |
switchToParent() |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected SAXParser parser
protected I instance
protected SAXParser.Handler parent
protected StringBuilder characters
protected Attributes attributes
public Handler(I instance)
public Handler(I instance, SAXParser.Handler parent)
public Handler(I instance, SAXParser parser, SAXParser.Handler parent)
public I getInstance()
public SAXParser getParser()
public SAXParser.Handler getParent()
protected void switchToParent()
public String getCharacters()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionprotected Attributes getAttributes()
Copyright © 2023 jUPnP.org. All rights reserved.