|
|||||||||
Home >> All >> org >> enableit >> db >> [ ant overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.enableit.db.ant
Class DBToXmlTransformer

java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.enableit.db.ant.DBToXmlTransformer
Deprecated. Moved to
org.enableit.db.darrt.ant.SchemaExporterTask
.
- public class DBToXmlTransformer
- extends org.apache.tools.ant.Task
Ant Task to export a database schema as an XML file.
ASA interpretation of DatabaseMetaData object SCHEMAS = userids and groups
- Version:
- __VERSION__
Field Summary | |
static java.lang.String |
APP
Deprecated. |
private java.lang.String |
catalog
Deprecated. |
static java.lang.String |
COL_NAME
Deprecated. |
static java.lang.String |
COL_TYPE
Deprecated. |
static java.lang.String |
COLUMN
Deprecated. |
private java.lang.String |
driver
Deprecated. |
static java.lang.String |
JAVA
Deprecated. |
static java.lang.String |
JAVA_PACKAGE_DIR
Deprecated. |
static java.lang.String |
JAVA_PACKAGE_NAME
Deprecated. |
static java.lang.String |
JAVA_PACKAGE_VALUE
Deprecated. |
protected static org.apache.log4j.Category |
logger
Deprecated. The Log4J Category doing the logging. |
static java.lang.String |
NAME
Deprecated. |
static java.lang.String |
NULLABLE
Deprecated. |
private java.lang.String |
output
Deprecated. |
private java.lang.String |
password
Deprecated. |
static java.lang.String |
PK
Deprecated. |
private java.lang.String |
schema
Deprecated. |
static java.lang.String |
TABLE
Deprecated. |
private java.lang.String |
tableName
Deprecated. |
private java.lang.String |
url
Deprecated. |
private java.lang.String |
userid
Deprecated. |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
DBToXmlTransformer()
Deprecated. Default Constructor |
Method Summary | |
void |
execute()
Deprecated. Called by the project to let the task do its work. |
private java.lang.String |
getPackageDir(java.lang.String javaPackage)
Deprecated. Returns the directory name classes should be stored in based on the Java package name received |
void |
setCatalog(java.lang.String catalog)
Deprecated. Set the JDBC catalogue name (sybase and moicrosoft userids are more likely to know this as database name) |
void |
setDriver(java.lang.String driver)
Deprecated. Sets the JDBC driver to use in making a connection |
void |
setOutput(java.lang.String output)
Deprecated. Sets the target (output) directory |
void |
setPassword(java.lang.String password)
Deprecated. Sets the JDBC password to use in making a connection |
void |
setschema(java.lang.String schema)
Deprecated. Set the schema name. |
void |
setTableName(java.lang.String tableName)
Deprecated. Set the table name |
void |
setUrl(java.lang.String url)
Deprecated. Sets the JDBC url to connect to. |
void |
setUserid(java.lang.String userid)
Deprecated. Sets the JDBC userid to use in making a connection |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
tableName
private java.lang.String tableName
- Deprecated.
catalog
private java.lang.String catalog
- Deprecated.
output
private java.lang.String output
- Deprecated.
logger
protected static org.apache.log4j.Category logger
- Deprecated.
- The Log4J
Category
doing the logging. SameCategory
is used throughout the package. - The Log4J
driver
private java.lang.String driver
- Deprecated.
url
private java.lang.String url
- Deprecated.
userid
private java.lang.String userid
- Deprecated.
password
private java.lang.String password
- Deprecated.
schema
private java.lang.String schema
- Deprecated.
JAVA_PACKAGE_DIR
public static final java.lang.String JAVA_PACKAGE_DIR
- Deprecated.
- See Also:
- Constant Field Values
JAVA_PACKAGE_NAME
public static final java.lang.String JAVA_PACKAGE_NAME
- Deprecated.
- See Also:
- Constant Field Values
JAVA_PACKAGE_VALUE
public static final java.lang.String JAVA_PACKAGE_VALUE
- Deprecated.
- See Also:
- Constant Field Values
APP
public static final java.lang.String APP
- Deprecated.
- See Also:
- Constant Field Values
JAVA
public static final java.lang.String JAVA
- Deprecated.
- See Also:
- Constant Field Values
TABLE
public static final java.lang.String TABLE
- Deprecated.
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- Deprecated.
- See Also:
- Constant Field Values
COLUMN
public static final java.lang.String COLUMN
- Deprecated.
- See Also:
- Constant Field Values
COL_NAME
public static final java.lang.String COL_NAME
- Deprecated.
- See Also:
- Constant Field Values
COL_TYPE
public static final java.lang.String COL_TYPE
- Deprecated.
- See Also:
- Constant Field Values
NULLABLE
public static final java.lang.String NULLABLE
- Deprecated.
- See Also:
- Constant Field Values
PK
public static final java.lang.String PK
- Deprecated.
- See Also:
- Constant Field Values
Constructor Detail |
DBToXmlTransformer
public DBToXmlTransformer()
- Deprecated.
- Default Constructor
- Default Constructor
Method Detail |
setOutput
public void setOutput(java.lang.String output)
- Deprecated.
- Sets the target (output) directory
- Sets the target (output) directory
setTableName
public void setTableName(java.lang.String tableName)
- Deprecated.
- Set the table name
- Set the table name
setschema
public void setschema(java.lang.String schema)
- Deprecated.
- Set the schema name.
- Set the schema name.
setCatalog
public void setCatalog(java.lang.String catalog)
- Deprecated.
- Set the JDBC catalogue name (sybase and moicrosoft userids are more likely to know this as database name)
- Set the JDBC catalogue name (sybase and moicrosoft userids are more likely to know this as database name)
setDriver
public void setDriver(java.lang.String driver)
- Deprecated.
- Sets the JDBC driver to use in making a connection
- Sets the JDBC driver to use in making a connection
setUrl
public void setUrl(java.lang.String url)
- Deprecated.
- Sets the JDBC url to connect to.
- Sets the JDBC url to connect to.
setPassword
public void setPassword(java.lang.String password)
- Deprecated.
- Sets the JDBC password to use in making a connection
- Sets the JDBC password to use in making a connection
setUserid
public void setUserid(java.lang.String userid)
- Deprecated.
- Sets the JDBC userid to use in making a connection
- Sets the JDBC userid to use in making a connection
execute
public void execute()
- Deprecated.
- Description copied from class:
org.apache.tools.ant.Task
- Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.
- Description copied from class:
getPackageDir
private java.lang.String getPackageDir(java.lang.String javaPackage)
- Deprecated.
- Returns the directory name classes should be stored in based on the Java package name received
- Returns the directory name classes should be stored in based on the Java package name received
|
|||||||||
Home >> All >> org >> enableit >> db >> [ ant overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |