Esri Geoportal Server
1.0

com.esri.gpt.control.livedata.sos
Class SOSParser

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by com.esri.gpt.control.livedata.sos.SOSParser
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SOSParser
extends DefaultHandler

Sensor Observation Service response parser.


Constructor Summary
SOSParser(ValueComponentsArray vcArr, SOSContext sosContext)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
 void parseDocument(InputSource is)
           
 void startDocument()
           
 void startElement(String uri, String localName, String qName, Attributes atts)
           
 
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
 

Constructor Detail

SOSParser

public SOSParser(ValueComponentsArray vcArr,
                 SOSContext sosContext)
          throws SAXException
Throws:
SAXException
Method Detail

parseDocument

public void parseDocument(InputSource is)
                   throws ParserConfigurationException,
                          SAXException,
                          IOException
Throws:
ParserConfigurationException
SAXException
IOException

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler
Throws:
SAXException

startElement

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

characters

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

endElement

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

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.