sk.baka.ambient.collection.ampache
Class AmpacheClient.ErrorHandlingHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
sk.baka.ambient.collection.ampache.AmpacheClient.ErrorHandlingHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Enclosing class:
- AmpacheClient
protected static class AmpacheClient.ErrorHandlingHandler
- extends DefaultHandler
Superclass for all handlers handling Ampache output. Handles errors.
- Author:
- Martin Vysny
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textContents
protected String textContents
- Text contents of the last element. Intended to be read in the
endElement(String, String, String)
event.
AmpacheClient.ErrorHandlingHandler
protected AmpacheClient.ErrorHandlingHandler()
startDocument
public void startDocument()
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class DefaultHandler
startElement
public void startElement(String uri,
String localName,
String name,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String name)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
Copyright © 2007-2008. All Rights Reserved.