|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectMatchingTask
org.castor.anttask.XMLInstance2SchemaTask
public final class XMLInstance2SchemaTask
An Ant task to call the Castor XMLInstance2Schema
tool. It can be passed a file, a directory, a Fileset or all three.
| Constructor Summary | |
|---|---|
XMLInstance2SchemaTask()
|
|
| Method Summary | |
|---|---|
void |
addFileset(FileSet set)
Adds a fileset to process that contains schemas to process. |
void |
execute()
Public execute method -- entry point for the Ant task. |
void |
setDefaultGrouping(java.lang.String defaultGroupingAsAll)
Specifies the default grouping to be |
void |
setDir(java.io.File dir)
Sets the directory such that all schemas in this directory will have code generated for them. |
void |
setFile(java.io.File file)
Sets the individual schema that will have code generated for it. |
void |
setXmlSchemaFileName(java.lang.String ddlFileName)
Specifies the name of the DDL file to be generated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLInstance2SchemaTask()
| Method Detail |
|---|
public void setFile(java.io.File file)
file - One schema file.public void setDir(java.io.File dir)
dir - The directory containing schemas to process.public void addFileset(FileSet set)
set - An individual file set containing schemas.public void setXmlSchemaFileName(java.lang.String ddlFileName)
ddlFileName - Name of the DDL file to be generatedpublic void setDefaultGrouping(java.lang.String defaultGroupingAsAll)
defaultGroupingAsAll - Default grouping to be usedpublic void execute()
org.apache.tools.ant.Task#execute()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||