A B C D E F G I J L M N P R S T X

A

AbstractAntBuildModel - Class in com.legstar.codegen.models
A model usable for ant script generation.
AbstractAntBuildModel() - Constructor for class com.legstar.codegen.models.AbstractAntBuildModel
A no-Arg constructor.
AbstractAntBuildModel(Properties) - Constructor for class com.legstar.codegen.models.AbstractAntBuildModel
Construct from a properties file.
AbstractPropertiesModel - Class in com.legstar.codegen.models
Simple models with ability to serialize, deserialize from properties files.
AbstractPropertiesModel() - Constructor for class com.legstar.codegen.models.AbstractPropertiesModel
A no-Arg constructor.
AbstractPropertiesModel(Properties) - Constructor for class com.legstar.codegen.models.AbstractPropertiesModel
Construct from a properties file.
ANT_FILE_PREFIX - Static variable in class com.legstar.codegen.models.AbstractAntBuildModel
Prefix of generated ANT script file.
ANT_FILE_SUFFIX - Static variable in class com.legstar.codegen.models.AbstractAntBuildModel
Suffix of generated ANT script file.

B

buildFinished(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 
buildStarted(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 

C

checkCharset(String) - Static method in class com.legstar.codegen.CodeGenUtil
Checks that a character set is valid.
checkDirectory(String, boolean, String) - Static method in class com.legstar.codegen.CodeGenUtil
Check that a directory is valid.
checkDirectory(File, boolean, String) - Static method in class com.legstar.codegen.CodeGenUtil
Check that a directory is valid.
checkDirectory(String, boolean) - Static method in class com.legstar.codegen.CodeGenUtil
Check that a directory is valid.
checkDirectory(File, boolean) - Static method in class com.legstar.codegen.CodeGenUtil
Check that a directory is valid.
checkHttpURI(String) - Static method in class com.legstar.codegen.CodeGenUtil
Checks that a URI is valid and HTTP scheme.
checkInput(boolean, boolean) - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
Checks that common properties set are valid.
classFilesLocation(String, String, boolean) - Static method in class com.legstar.codegen.CodeGenUtil
Given a root directory name and a package name, returns the location for class files.
classFilesLocation(File, String, boolean) - Static method in class com.legstar.codegen.CodeGenUtil
Concatenates the path derived from a package name to a root directory.
classNormalize(String) - Static method in class com.legstar.codegen.CodeGenUtil
Deprecated. use com.legstar.coxb.util.Utils#toClassName instead. Create a valid Java class name from a given noun.
CODEGEN_STEP_XML_E - Static variable in class com.legstar.codegen.CodeGenMake
XML element representing a code generation step with a template.
CODEGEN_TARGET_DIR_XML_A - Static variable in class com.legstar.codegen.CodeGenMake
XML attribute representing a code generation target directory.
CODEGEN_TARGET_NAME_XML_A - Static variable in class com.legstar.codegen.CodeGenMake
XML attribute representing a code generation target name.
CODEGEN_TARGET_XML_E - Static variable in class com.legstar.codegen.CodeGenMake
XML element representing a code generation target.
CODEGEN_TEMPLATE_NAME_XML_A - Static variable in class com.legstar.codegen.CodeGenMake
XML attribute representing a code generation template name.
CODEGEN_TEMPLATE_TARGET_CHARSETNAME_XML_A - Static variable in class com.legstar.codegen.CodeGenMake
XML attribute representing a code generation target character set.
CODEGEN_TEMPLATE_TARGET_FILE_XML_A - Static variable in class com.legstar.codegen.CodeGenMake
XML attribute representing a code generation target file.
CodeGenHelper - Class in com.legstar.codegen
Provides the generator with convenience methods.
CodeGenHelper() - Constructor for class com.legstar.codegen.CodeGenHelper
 
CodeGenMake - Class in com.legstar.codegen
This Ant task iteratively calls the Velocity template engine to create a list of artifacts described in an xml file.
CodeGenMake() - Constructor for class com.legstar.codegen.CodeGenMake
 
CodeGenMakeException - Exception in com.legstar.codegen
Exception related to syntax errors or execution errors using cixsmake.
CodeGenMakeException(String) - Constructor for exception com.legstar.codegen.CodeGenMakeException
Build Exception from message.
CodeGenMakeException(Exception) - Constructor for exception com.legstar.codegen.CodeGenMakeException
Build Exception from inner exception.
CodeGenUtil - Class in com.legstar.codegen
Various utility methods which are mostly useful for code generation using velocity templates.
CodeGenVelocityException - Exception in com.legstar.codegen
Exception when initializing or using the velocity engine.
CodeGenVelocityException(String) - Constructor for exception com.legstar.codegen.CodeGenVelocityException
Build Exception from message.
CodeGenVelocityException(Exception) - Constructor for exception com.legstar.codegen.CodeGenVelocityException
Build Exception from inner exception.
com.legstar.codegen - package com.legstar.codegen
Classes in this package provides an ANT based code generation mechanism where a series of Velocity templates are applied to a model.
com.legstar.codegen.models - package com.legstar.codegen.models
Classes in this package are abstract model representations that are used for velocity generation.
com.legstar.codegen.tasks - package com.legstar.codegen.tasks
Classes in this package are abstract ant task classes used by specialized ant generation tasks.
CommonsLoggingListener - Class in com.legstar.codegen.tasks
This allows ant scripts to use commons-logging to produce logs.
CommonsLoggingListener(Log) - Constructor for class com.legstar.codegen.tasks.CommonsLoggingListener
Constructor using the caller logger.
CRLF - Static variable in class com.legstar.codegen.CodeGenUtil
Get the platform specific line separator.

D

DATE_FORMAT_NOW - Static variable in class com.legstar.codegen.CodeGenUtil
Generated code has reference to generation date following this format.

E

execute() - Method in class com.legstar.codegen.CodeGenMake
 

F

fieldNameFromPropertyName(String) - Static method in class com.legstar.codegen.CodeGenUtil
Field names are derived from property names by lower casing the first character.

G

generateBuild(String, String, File) - Method in class com.legstar.codegen.models.AbstractAntBuildModel
Creates an ant build script file ready for launching.
generateBuild(String, String, File, String) - Method in class com.legstar.codegen.models.AbstractAntBuildModel
Creates an ant build script file ready for launching.
generateBuild(File) - Method in interface com.legstar.codegen.models.IAntBuildModel
Create an ant build script ready to run.
getBoolean(Properties, String, boolean) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a boolean property from a properties file.
getClassName(String) - Method in class com.legstar.codegen.CodeGenHelper
Get the simple class name from a fully qualified class name.
getCodeGenMakeFileName() - Method in class com.legstar.codegen.CodeGenMake
 
getContext(String) - Static method in class com.legstar.codegen.CodeGenUtil
A simple context to use by generation templates.
getFile(String, String) - Static method in class com.legstar.codegen.CodeGenUtil
Retrieve a file.
getFile(File, String) - Static method in class com.legstar.codegen.CodeGenUtil
Retrieve a file.
getFile(Properties, String, File) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a file property from a properties file.
getGeneratorName() - Method in class com.legstar.codegen.CodeGenMake
 
getInt(Properties, String, int) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a int property from a properties file.
getLocalIPAddress() - Static method in class com.legstar.codegen.CodeGenUtil
Retrieve the IP address of the generation machine .
getLong(Properties, String, long) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a long property from a properties file.
getModel() - Method in class com.legstar.codegen.CodeGenMake
 
getModel() - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
getModelName() - Method in class com.legstar.codegen.CodeGenMake
 
getNamespace() - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
getNamespace() - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
getPackageName(String, String) - Method in class com.legstar.codegen.CodeGenHelper
Determines the package name of a fully qualified class name.
getProbeFile() - Method in class com.legstar.codegen.models.AbstractAntBuildModel
 
getProbeFile() - Method in interface com.legstar.codegen.models.IAntBuildModel
 
getProductLocation() - Method in class com.legstar.codegen.models.AbstractAntBuildModel
 
getQualClassName(String, String) - Method in class com.legstar.codegen.CodeGenHelper
Get a fully qualified class name.
getString(Properties, String, String) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a string property from a properties file.
getStringList(Properties, String, List<String>) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a string list property from a properties file.
getTargetDir() - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
getTargetDir() - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
getTargetXsdFileName() - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
getTargetXsdFileName() - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
getURI(Properties, String, URI) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Gets a URI property from a properties file.

I

IAntBuildModel - Interface in com.legstar.codegen.models
Generators that create ant builds will implement this interface.
init() - Method in class com.legstar.codegen.CodeGenMake
 
initVelocity() - Static method in class com.legstar.codegen.CodeGenUtil
Setup Velocity so that it searches for templates in the classpath.
isEmpty(String) - Method in class com.legstar.codegen.CodeGenHelper
Checks a string for emptiness.

J

JAXB_TYPE_SUFFIX - Static variable in class com.legstar.codegen.CodeGenUtil
Suffix used for JAXB type variable names.

L

load(File) - Method in class com.legstar.codegen.CodeGenMake
Loads code generation make file from a serialized XML.

M

messageLogged(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 

N

now() - Static method in class com.legstar.codegen.CodeGenUtil
Formats todays date and time.

P

packageFromURI(URI) - Static method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
Converts a URI into a package name.
processTemplate(String, String, String, Object, Map<String, Object>, File) - Static method in class com.legstar.codegen.CodeGenUtil
Apply a velocity template taken from a code generation make xml.
processTemplate(String, String, String, Object, Map<String, Object>, File, String) - Static method in class com.legstar.codegen.CodeGenUtil
Apply a velocity template taken from a code generation make xml.
propertyNameFromFieldName(String) - Static method in class com.legstar.codegen.CodeGenUtil
Property names are derived from field names by upper casing the first character.
propertyNameFromJaxbType(String) - Static method in class com.legstar.codegen.CodeGenUtil
Property names are derived from jaxb type names by stripping the type suffix (if any).
putBoolean(Properties, String, Boolean) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a boolean value in a property file if the value is not null.
putFile(Properties, String, File) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a File path name in a property file if the value is not null.
putInt(Properties, String, Integer) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a int value in a property file if the value is not null.
putLong(Properties, String, Long) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a long value in a property file if the value is not null.
putString(Properties, String, String) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a string value in a property file if the value is not null.
putStringList(Properties, String, List<String>) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a String list in a property file if the value is not null.
putURI(Properties, String, URI) - Method in class com.legstar.codegen.models.AbstractPropertiesModel
Puts a URI in a property file if the value is not null.

R

relativeLocation(String) - Static method in class com.legstar.codegen.CodeGenUtil
Given a package name, this method returns the relative path location of the java files.

S

setCodeGenMakeFileName(String) - Method in class com.legstar.codegen.CodeGenMake
 
setEmacsMode(boolean) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
setErrorPrintStream(PrintStream) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
setGeneratorName(String) - Method in class com.legstar.codegen.CodeGenMake
 
setMessageOutputLevel(int) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
setModel(Object) - Method in class com.legstar.codegen.CodeGenMake
 
setModel(SourceToXsdCobolModel) - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
setModelName(String) - Method in class com.legstar.codegen.CodeGenMake
 
setNamespace(String) - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
setNamespace(String) - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
setOutputPrintStream(PrintStream) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
setProbeFile(File) - Method in class com.legstar.codegen.models.AbstractAntBuildModel
 
setProbeFile(File) - Method in interface com.legstar.codegen.models.IAntBuildModel
 
setProductLocation(String) - Method in class com.legstar.codegen.models.AbstractAntBuildModel
 
setTargetDir(File) - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
setTargetDir(File) - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
setTargetXsdFileName(String) - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
setTargetXsdFileName(String) - Method in class com.legstar.codegen.tasks.SourceToXsdCobolTask
 
SourceToXsdCobolModel - Class in com.legstar.codegen.models
A model usable for XML Schema generation.
SourceToXsdCobolModel() - Constructor for class com.legstar.codegen.models.SourceToXsdCobolModel
A no-Arg constructor.
SourceToXsdCobolModel(Properties) - Constructor for class com.legstar.codegen.models.SourceToXsdCobolModel
Construct from a properties file.
SourceToXsdCobolTask - Class in com.legstar.codegen.tasks
This abstract ant task is used by derived generates which generate an XML schema with COBOL annotation from different type of sources.
SourceToXsdCobolTask() - Constructor for class com.legstar.codegen.tasks.SourceToXsdCobolTask
 

T

targetFinished(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 
targetStarted(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 
taskFinished(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 
taskStarted(BuildEvent) - Method in class com.legstar.codegen.tasks.CommonsLoggingListener
 
toProperties() - Method in class com.legstar.codegen.models.AbstractAntBuildModel
 
toProperties() - Method in class com.legstar.codegen.models.AbstractPropertiesModel
 
toProperties() - Method in class com.legstar.codegen.models.SourceToXsdCobolModel
 
toString() - Method in class com.legstar.codegen.models.AbstractPropertiesModel

X

XSD_TARGET_DIR - Static variable in class com.legstar.codegen.models.SourceToXsdCobolModel
XSD target directory.
XSD_TARGET_FILENAME - Static variable in class com.legstar.codegen.models.SourceToXsdCobolModel
XSD target file name.
XSD_TARGET_NAMESPACE - Static variable in class com.legstar.codegen.models.SourceToXsdCobolModel
XSD target namespace.

A B C D E F G I J L M N P R S T X

Copyright © 2015 LegSem. All Rights Reserved.