C E G I L M R S T V W

C

CobolGenerationException - Exception in com.legstar.cobc.gen
Exception while trying to generate COBOL code.
CobolGenerationException(String) - Constructor for exception com.legstar.cobc.gen.CobolGenerationException
Build Exception from message.
CobolGenerationException(Exception) - Constructor for exception com.legstar.cobc.gen.CobolGenerationException
Build Exception from inner exception.
CobolGenerator - Class in com.legstar.cobc.gen
This Ant task generates a Cobol data description source that can be used as a copybook in a regular Cobol program.
CobolGenerator() - Constructor for class com.legstar.cobc.gen.CobolGenerator
 
CobolGenVisitor - Class in com.legstar.cobc.gen
This visitor traverses a jaxb object tree and creates a complex Cobol data description from the Cobol annotations found in these jaxb objects.
CobolGenVisitor(int, int) - Constructor for class com.legstar.cobc.gen.CobolGenVisitor
Create a Cobol generator visitor.
CobolGenVisitor() - Constructor for class com.legstar.cobc.gen.CobolGenVisitor
Create a Cobol generator visitor.
CobolNameResolver - Class in com.legstar.cobol.gen
This class is used to determine a valid Cobol name.
CobolNameResolver() - Constructor for class com.legstar.cobol.gen.CobolNameResolver
 
com.legstar.cobc.gen - package com.legstar.cobc.gen
Generates the source for a complex Cobol data description based on Jaxb Cobol-annotated objects.
com.legstar.cobol.gen - package com.legstar.cobol.gen
Generates a cobol copybook using a cobol model.
continueAlphaLiteral() - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Literals that are about to exceed column 72 need to be continued on the next line.
Copybook72ColWriter - Class in com.legstar.cobol.gen
Writes statements that fit into 72 columns.
Copybook72ColWriter(Writer) - Constructor for class com.legstar.cobol.gen.Copybook72ColWriter
 
COPYBOOK_TEMPLATE_GROUP_NAME - Static variable in class com.legstar.cobol.gen.CopybookGenerator
The stringtemplate group for all our templates.
COPYBOOK_TEMPLATE_NAME - Static variable in class com.legstar.cobol.gen.CopybookGenerator
Template that generates a copybook without a header comment.
COPYBOOK_WITH_HEADER_TEMPLATE_NAME - Static variable in class com.legstar.cobol.gen.CopybookGenerator
Template that generates a copybook with a header comment.
CopybookGenerator - Class in com.legstar.cobol.gen
Generates a COBOL copybook from a model using templates.

E

execute() - Method in class com.legstar.cobc.gen.CobolGenerator
The ant execute method.

G

generate(String, String, String, int, int) - Static method in class com.legstar.cobc.gen.CobolGenerator
Using the cobcgen utility, this will use reflection to instantiate a Jaxb object corresponding to a structure received and then generate COBOL data description code using the COBOL annotations in the jaxb class.
generate(String, String, String, int, int, boolean) - Static method in class com.legstar.cobc.gen.CobolGenerator
Using the cobcgen utility, this will use reflection to instantiate a Jaxb object corresponding to a structure received and then generate COBOL data description code using the COBOL annotations in the jaxb class.
generate(CobolDataItem) - Static method in class com.legstar.cobol.gen.CopybookGenerator
Generates a COBOL copybook as a string.
generate(CobolDataItem, boolean) - Static method in class com.legstar.cobol.gen.CopybookGenerator
Generates a COBOL copybook as a string.
getCobolLevelIncrement() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getCobolRootDataItemName() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getFirstCobolLevel() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getJaxbPackageName() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getJaxbTypeName() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getName(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Get a valid cobol name.
getNameResolver() - Method in class com.legstar.cobc.gen.CobolGenVisitor
 
getRootDataItem() - Method in class com.legstar.cobc.gen.CobolGenVisitor
 
getSubstituteWord(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Check a cobol name against the list of reserved words.
getTargetCobolFileName() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getTargetDir() - Method in class com.legstar.cobc.gen.CobolGenerator
 
getTemplate(String, String) - Static method in class com.legstar.cobol.gen.CopybookGenerator
Retrieve a template from the classpath.
getUniqueName(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Get a valid cobol name that is guaranteed to be unique within the context of this resolver.
getWrap(String, int) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Get the wrap characters sequence including the indent for the continued line.
GROUP_LOADER - Static variable in class com.legstar.cobol.gen.CopybookGenerator
Fetches templates from the classpath.

I

isValidFirst(char) - Method in class com.legstar.cobol.gen.CobolNameResolver
Determines if this is a valid first character in a cobol word.
isValidLast(char) - Method in class com.legstar.cobol.gen.CobolNameResolver
Determines if this is a valid last character in a cobol word.
isWithHeader() - Method in class com.legstar.cobc.gen.CobolGenerator
 

L

LINE_CONTINUE_LITERAL - Static variable in class com.legstar.cobol.gen.Copybook72ColWriter
New line and literal continuation (start at column 12, area B).
LINE_CONTINUE_SENTENCE - Static variable in class com.legstar.cobol.gen.Copybook72ColWriter
Sentence continuation line (start at column 12, area B).
loadProperties(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Loads a properties file from a location.

M

makeUnique(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Look up a proposed name in the used names list.
MAX_COBOLNAME_LEN - Static variable in class com.legstar.cobol.gen.CobolNameResolver
Maximum size of a Cobol item name.

R

RESERVED_PREFIX - Static variable in class com.legstar.cobol.gen.CobolNameResolver
For reserved words with no substitution this prefex will be prepended to ensure cobol var is not reserved.

S

setCobolLevelIncrement(int) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setCobolRootDataItemName(String) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setFirstCobolLevel(int) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setJaxbPackageName(String) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setJaxbTypeName(String) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setTargetCobolFileName(String) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setTargetDir(File) - Method in class com.legstar.cobc.gen.CobolGenerator
 
setWithHeader(boolean) - Method in class com.legstar.cobc.gen.CobolGenerator
 
STATEMENTS_LAST_COLUMN - Static variable in class com.legstar.cobol.gen.Copybook72ColWriter
Column where statements end.
switchCharacters(String) - Method in class com.legstar.cobol.gen.CobolNameResolver
Creates a new string built from each valid character from name.

T

TEMPLATE_BASE - Static variable in class com.legstar.cobol.gen.CopybookGenerator
Location where string templates resources are found.
trackAlphanumLiteral(char) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Detect the start and close of alphanumeric literals.
trackIndentation(String) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
In order to indent properly continued sentences (not continued literals), we keep track of the character position of the COBOL name which follows the COBOL level number.

V

visit(ICobolComplexBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolChoiceBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayComplexBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolStringBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayStringBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolNationalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayNationalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolDbcsBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayDbcsBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolZonedDecimalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayZonedDecimalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolPackedDecimalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayPackedDecimalBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolBinaryBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayBinaryBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolFloatBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayFloatBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolDoubleBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayDoubleBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolOctetStreamBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor
visit(ICobolArrayOctetStreamBinding) - Method in class com.legstar.cobc.gen.CobolGenVisitor

W

wrap(String, int) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Insert the wrap sequence.
write(String) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Almost same code as AutoIndentWriter#write(String str) but prevents code from spilling beyond max column.
writeKeyword() - Method in class com.legstar.cobol.gen.Copybook72ColWriter
Print a keyword.
writeKeywordOrAlphaLiteral(char) - Method in class com.legstar.cobol.gen.Copybook72ColWriter
When a white space is encountered, we consider a keyword as delimited and write it out.

C E G I L M R S T V W

Copyright © 2015 LegSem. All Rights Reserved.