com.legstar.xsd.def
Class Xsd2CobTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.legstar.xsd.def.Xsd2CobTask

public class Xsd2CobTask
extends org.apache.tools.ant.Task

ANT Task for XML schema to COBOL translation.


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
Xsd2CobTask()
           
 
Method Summary
 void addConfiguredOptions(Xsd2CobModel model)
          Receive a fully configured options model object.
 void addOptions(Xsd2CobModel model)
           
 Xsd2CobModel createOptions()
           
 void execute()
          The ant execute method.
 Xsd2CobModel getModel()
           
 
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
 

Constructor Detail

Xsd2CobTask

public Xsd2CobTask()
Method Detail

execute

public void execute()
The ant execute method. Generates a new annotated schema.

Overrides:
execute in class org.apache.tools.ant.Task

createOptions

public Xsd2CobModel createOptions()
Returns:
a new options model

addOptions

public void addOptions(Xsd2CobModel model)
Parameters:
model - an empty options model

addConfiguredOptions

public void addConfiguredOptions(Xsd2CobModel model)
Receive a fully configured options model object.

Parameters:
model - the options model

getModel

public Xsd2CobModel getModel()
Returns:
the options model


Copyright © 2012 LegSem. All Rights Reserved.