com.esri.aims.mtier.model.axl
Class ResponseHandler

java.lang.Object
  |
  +--com.esri.xml.sax.helpers.DefaultHandler
        |
        +--com.esri.aims.mtier.model.axl.ResponseHandler
All Implemented Interfaces:
com.esri.xml.sax.ContentHandler, com.esri.xml.sax.DTDHandler, com.esri.xml.sax.EntityResolver, com.esri.xml.sax.ErrorHandler

public class ResponseHandler
extends com.esri.xml.sax.helpers.DefaultHandler

Used to parse admin responses that are expecting an OK, an ERROR, or a WARNING as response.


Constructor Summary
ResponseHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endDocument()
          Called after an Element is read.
 void endElement(String uri, String localName, String qName)
          Called after an Element is read.
protected  void parseErrorAndWarning(com.esri.xml.sax.Attributes atts)
           
 void startElement(String uri, String localName, String qName, com.esri.xml.sax.Attributes atts)
          Called before an Element is read.
 
Methods inherited from class com.esri.xml.sax.helpers.DefaultHandler
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

ResponseHandler

public ResponseHandler()
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         com.esri.xml.sax.Attributes atts)
                  throws com.esri.xml.sax.SAXException
Called before an Element is read. This method overwrites com.esri.aims.mtier.model.axl.AXLContentHandler.startElement(String,String,String,Attributes).

Specified by:
startElement in interface com.esri.xml.sax.ContentHandler
Overrides:
startElement in class com.esri.xml.sax.helpers.DefaultHandler
Throws:
com.esri.xml.sax.SAXException
See Also:
com.esri.aims.mtier.model.axl.AXLContentHandler.startElement(String,String,String,Attributes)

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws com.esri.xml.sax.SAXException
Specified by:
characters in interface com.esri.xml.sax.ContentHandler
Overrides:
characters in class com.esri.xml.sax.helpers.DefaultHandler
com.esri.xml.sax.SAXException

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Called after an Element is read.

Specified by:
endElement in interface com.esri.xml.sax.ContentHandler
Overrides:
endElement in class com.esri.xml.sax.helpers.DefaultHandler
Throws:
com.esri.xml.sax.SAXException

endDocument

public void endDocument()
                 throws ErrorAndWarningException
Called after an Element is read.

Specified by:
endDocument in interface com.esri.xml.sax.ContentHandler
Overrides:
endDocument in class com.esri.xml.sax.helpers.DefaultHandler
Throws:
ErrorAndWarningException, - when an ERROR or WARNING response is received.
ErrorAndWarningException

parseErrorAndWarning

protected void parseErrorAndWarning(com.esri.xml.sax.Attributes atts)