org.clazzes.jdbc2xml.sax
Class InsertContentHandler
java.lang.Object
org.clazzes.util.xml.SimpleContentHandler
org.clazzes.jdbc2xml.sax.InsertContentHandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler
public class InsertContentHandler
- extends org.clazzes.util.xml.SimpleContentHandler
- Author:
- wglas
| Methods inherited from class org.clazzes.util.xml.SimpleContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertContentHandler
public InsertContentHandler(java.sql.Connection connection,
java.util.TimeZone timeZone)
throws java.sql.SQLException
- Create an insert handler for the given connection and use a schema engine
created by
SchemaEngine.newInstance().
- Parameters:
connection - The database connection on which to insert data.timeZone - The default time zone to use for date values.
- Throws:
java.sql.SQLException
InsertContentHandler
public InsertContentHandler(SchemaEngine schemaEngine)
throws java.sql.SQLException
- Create an insert handler for the given connection and use the supplied
schema engine.
- Parameters:
schemaEngine - The schema engine carrying the DB connection to insert to and
the default time zone.
- Throws:
java.sql.SQLException
getProcessRestrictionFilter
public ProcessRestrictionFilter getProcessRestrictionFilter()
- Returns:
- the processRestrictionFilter
setProcessRestrictionFilter
public void setProcessRestrictionFilter(ProcessRestrictionFilter processFilter)
- Parameters:
processFilter - The processRestrictionFilter to set.
getRootHandler
protected org.clazzes.util.xml.SAXTagHandler getRootHandler(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
- Specified by:
getRootHandler in class org.clazzes.util.xml.SimpleContentHandler
- Throws:
org.xml.sax.SAXException
Copyright © 2007. All Rights Reserved.