|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.commons.digester.Digester
org.apache.ddlutils.io.DataReader
public class DataReader
Reads data XML into dyna beans matching a specified database model. Note that the data sink won't be started or ended by the data reader, this has to be done in the code that uses the data reader.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.digester.Digester |
|---|
bodyText, bodyTexts, classLoader, configured, entityResolver, entityValidator, errorHandler, factory, JAXP_SCHEMA_LANGUAGE, locator, log, match, matches, namespaceAware, namespaces, params, parser, publicId, reader, root, rules, saxLog, schemaLanguage, schemaLocation, stack, substitutor, useContextClassLoader, validating, W3C_XML_SCHEMA |
| Constructor Summary | |
|---|---|
DataReader()
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
ConverterConfiguration |
getConverterConfiguration()
Returns the converter configuration of this data reader. |
Database |
getModel()
Returns the database model. |
DataSink |
getSink()
Returns the data sink. |
boolean |
isCaseSensitive()
Determines whether this rules object matches case sensitively. |
void |
setCaseSensitive(boolean beCaseSensitive)
Specifies whether this rules object shall match case sensitively. |
void |
setModel(Database model)
Sets the database model. |
void |
setSink(DataSink sink)
Sets the data sink. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataReader()
| Method Detail |
|---|
public ConverterConfiguration getConverterConfiguration()
public Database getModel()
public void setModel(Database model)
model - The modelpublic DataSink getSink()
public void setSink(DataSink sink)
sink - The sinkpublic boolean isCaseSensitive()
true if the case of the pattern matterspublic void setCaseSensitive(boolean beCaseSensitive)
beCaseSensitive - true if the case of the pattern shall matterprotected void configure()
configure in class Digester
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||