public final class XMLInstance2SchemaTask
extends org.apache.tools.ant.taskdefs.MatchingTask
XMLInstance2Schema
tool. It can be passed a file, a directory, a Fileset or all three.| Constructor and Description |
|---|
XMLInstance2SchemaTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileset(org.apache.tools.ant.types.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(String defaultGroupingAsAll)
Specifies the default grouping to be
|
void |
setDir(File dir)
Sets the directory such that all schemas in this directory will have code
generated for them.
|
void |
setFile(File file)
Sets the individual schema that will have code generated for it.
|
void |
setXmlSchemaFileName(String ddlFileName)
Specifies the name of the DDL file to be generated.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsgetDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setFile(File file)
file - One schema file.public void setDir(File dir)
dir - The directory containing schemas to process.public void addFileset(org.apache.tools.ant.types.FileSet set)
set - An individual file set containing schemas.public void setXmlSchemaFileName(String ddlFileName)
ddlFileName - Name of the DDL file to be generatedpublic void setDefaultGrouping(String defaultGroupingAsAll)
defaultGroupingAsAll - Default grouping to be usedpublic void execute()
execute in class org.apache.tools.ant.TaskTask.execute()Copyright © 2015. All rights reserved.