uk.org.ogsadai.converters.webrowset
Class WebRowSetParser.DataHandler

java.lang.Object
  |
  +--uk.org.ogsadai.converters.webrowset.WebRowSetParser.DataHandler
All Implemented Interfaces:
ElementHandler
Enclosing class:
WebRowSetParser

private class WebRowSetParser.DataHandler
extends java.lang.Object
implements ElementHandler

A handler for the data element of a WebRowSet.

Author:
The OGSA-DAI Team.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  java.lang.StringBuffer mColumnString
           
private  java.util.Vector mRow
           
private  TypeStrategy mTypeStrategy
           
 
Constructor Summary
private WebRowSetParser.DataHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Process an array of characters.
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          Handles the end tag of an element.
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attr)
          Handle the start tag of an element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mTypeStrategy

private TypeStrategy mTypeStrategy

mColumnString

private java.lang.StringBuffer mColumnString

mRow

private java.util.Vector mRow
Constructor Detail

WebRowSetParser.DataHandler

private WebRowSetParser.DataHandler()
Method Detail

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attr)
                  throws org.xml.sax.SAXException
Description copied from interface: ElementHandler
Handle the start tag of an element.

Specified by:
startElement in interface ElementHandler
Parameters:
uri - Namespace URI of the element.
localName - Local name of the element.
qName - Qualified name of the element.
attr - Attributes of the element.
Throws:
org.xml.sax.SAXException - if there was a parsing error.

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Description copied from interface: ElementHandler
Handles the end tag of an element.

Specified by:
endElement in interface ElementHandler
Parameters:
uri - Namespace URI of the element.
localName - Local name of the element.
qName - Qualified name of the element.
Throws:
org.xml.sax.SAXException - if there was a parsing error

characters

public void characters(char[] ch,
                       int start,
                       int length)
Description copied from interface: ElementHandler
Process an array of characters.

Specified by:
characters in interface ElementHandler
Parameters:
ch - Characters.
start - Offset within the character array indicating first character to process.
length - Number of characters from start (inclusive) to process.