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

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

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

A handler for the metadata element of a WebRowSet.

Author:
The OGSA-DAI Team.

Field Summary
private  int COLUMN_COUNT
           
private static java.lang.String COPYRIGHT_NOTICE
           
private  int mCurrentColumn
           
private  int META_DATA
           
private  int mExpected
           
private  ColumnMetaData mMetaData
           
private  java.lang.StringBuffer mValue
           
 
Constructor Summary
private WebRowSetParser.MetaDataHandler()
           
 
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

mMetaData

private ColumnMetaData mMetaData

mValue

private java.lang.StringBuffer mValue

mCurrentColumn

private int mCurrentColumn

META_DATA

private final int META_DATA
See Also:
Constant Field Values

COLUMN_COUNT

private final int COLUMN_COUNT
See Also:
Constant Field Values

mExpected

private int mExpected
Constructor Detail

WebRowSetParser.MetaDataHandler

private WebRowSetParser.MetaDataHandler()
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.