net.sf.gsaapi
Class ResponseBuilder

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bynet.sf.gsaapi.ResponseBuilder
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ResponseBuilder
extends org.xml.sax.helpers.DefaultHandler

This is the default response builder that the GSAClient will use in binding the XML response to Java objects.

Author:
Amol S Deshmukh adeshmuk .at inxight .dot com

Method Summary
 void characters(char[] ch, int start, int length)
          overridden characters from DefaultHandler
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          overridden endElement from DefaultHandler
 void startDocument()
          overridden startDocument from DefaultHandler
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          overridden startElement from DefaultHandler
 
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
 

Method Detail

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
overridden startDocument from DefaultHandler

Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
overridden startElement from DefaultHandler

Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
overridden characters from DefaultHandler

Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
overridden endElement from DefaultHandler

Throws:
org.xml.sax.SAXException


© Copyright 2006 Inxight Software, Inc.