net.sbbi.upnp.messages
Class ActionMessageResponseParser

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by net.sbbi.upnp.messages.ActionMessageResponseParser
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ActionMessageResponseParser
extends DefaultHandler

Simple SAX handler for UPNP response message parsing, this message is in SOAP format

Version:
1.0
Author:
SuperBonBon

Constructor Summary
protected ActionMessageResponseParser(ServiceAction serviceAction)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
protected  ActionResponse getActionResponse()
           
protected  UPNPResponseException getUPNPResponseException()
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMessageResponseParser

protected ActionMessageResponseParser(ServiceAction serviceAction)
Method Detail

getUPNPResponseException

protected UPNPResponseException getUPNPResponseException()

getActionResponse

protected ActionResponse getActionResponse()

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler


Copyright © 2010. All Rights Reserved.