org.clazzes.jdbc2xml.sax.impl
Class RowTagHandler

java.lang.Object
  extended by org.clazzes.jdbc2xml.sax.impl.RowTagHandler
All Implemented Interfaces:
org.clazzes.util.xml.SAXTagHandler

public class RowTagHandler
extends Object
implements org.clazzes.util.xml.SAXTagHandler

A handler for the columnset element.

Author:
wglas

Constructor Summary
RowTagHandler(InsertContext context, TableInfo tableInfo)
           
 
Method Summary
 void closeTag(String uri, String localName, String name)
           
 void flush(boolean closeInsert)
          Flush any unexecuted inserts.
 void processCharacters(char[] ch, int start, int length)
           
 org.clazzes.util.xml.SAXTagHandler startChildElement(String uri, String localName, String name, Attributes atts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowTagHandler

public RowTagHandler(InsertContext context,
                     TableInfo tableInfo)
              throws SAXException
Parameters:
tableInfo - The table information to which we add new rows.
Throws:
SAXException
Method Detail

flush

public void flush(boolean closeInsert)
           throws SAXException
Flush any unexecuted inserts.

Throws:
SAXException

closeTag

public void closeTag(String uri,
                     String localName,
                     String name)
              throws SAXException
Specified by:
closeTag in interface org.clazzes.util.xml.SAXTagHandler
Throws:
SAXException

processCharacters

public void processCharacters(char[] ch,
                              int start,
                              int length)
                       throws SAXException
Specified by:
processCharacters in interface org.clazzes.util.xml.SAXTagHandler
Throws:
SAXException

startChildElement

public org.clazzes.util.xml.SAXTagHandler startChildElement(String uri,
                                                            String localName,
                                                            String name,
                                                            Attributes atts)
                                                     throws SAXException
Specified by:
startChildElement in interface org.clazzes.util.xml.SAXTagHandler
Throws:
SAXException


Copyright © 2011. All Rights Reserved.