|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.legstar.codegen.tasks.SourceToXsdCobolTask
public abstract class SourceToXsdCobolTask
This abstract ant task is used by derived generates which generate an XML schema with COBOL annotation from different type of sources.
| Field Summary |
|---|
| 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 | |
|---|---|
SourceToXsdCobolTask()
|
|
| Method Summary | |
|---|---|
void |
checkInput(boolean xsdFileNameMandatory,
boolean namespaceMandatory)
Checks that common properties set are valid. |
SourceToXsdCobolModel |
getModel()
|
String |
getNamespace()
|
File |
getTargetDir()
|
String |
getTargetXsdFileName()
|
static String |
packageFromURI(URI namespaceURI)
Converts a URI into a package name. |
void |
setModel(SourceToXsdCobolModel model)
|
void |
setNamespace(String namespace)
|
void |
setTargetDir(File targetDir)
|
void |
setTargetXsdFileName(String targetXsdFileName)
|
| Methods inherited from class org.apache.tools.ant.Task |
|---|
execute, 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 |
| Constructor Detail |
|---|
public SourceToXsdCobolTask()
| Method Detail |
|---|
public void checkInput(boolean xsdFileNameMandatory,
boolean namespaceMandatory)
xsdFileNameMandatory - where an xsd file name is mandatorynamespaceMandatory - where a target namespace is mandatorypublic static String packageFromURI(URI namespaceURI)
namespaceURI - the input namespace URI
public File getTargetDir()
public void setTargetDir(File targetDir)
targetDir - the target directory to setpublic String getTargetXsdFileName()
public void setTargetXsdFileName(String targetXsdFileName)
targetXsdFileName - the target annotated XSD file name to setpublic String getNamespace()
public void setNamespace(String namespace)
namespace - the target schema namespace to setpublic SourceToXsdCobolModel getModel()
public void setModel(SourceToXsdCobolModel model)
model - the generation model to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||