A B C D E G H I L M N O P R S T V W X

A

AbstractXsd2CobGenerator - Class in com.legstar.xsd.cob
Some common code shared by COBOL generators
AbstractXsd2CobGenerator() - Constructor for class com.legstar.xsd.cob.AbstractXsd2CobGenerator
 
AbstractXsdAnnotator - Class in com.legstar.xsd
Common methods and properties for all XML schema annotators.
AbstractXsdAnnotator() - Constructor for class com.legstar.xsd.AbstractXsdAnnotator
No arg constructor.
AbstractXsdAnnotator(Map<String, String>) - Constructor for class com.legstar.xsd.AbstractXsdAnnotator
Construct using a complex type to java class map.
AbstractXsdConfig - Class in com.legstar.xsd
A simple configuration model based on a properties file loaded from classpath.
AbstractXsdConfig() - Constructor for class com.legstar.xsd.AbstractXsdConfig
At construction time, we attempt to load from file system but just ignore any failures (User did not provide a configuration on file and wants to use defaults).
AbstractXsdConfig(Properties) - Constructor for class com.legstar.xsd.AbstractXsdConfig
Create a configuration from a previous set of properties.
addConfiguredOptions(Xsd2CobModel) - Method in class com.legstar.xsd.def.Xsd2CobTask
Receive a fully configured options model object.
addCounter(CobolDataItem, CobolDataItem) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Adds a new variable size array counter.
addNamespace(String, String, XmlSchema) - Static method in class com.legstar.xsd.XsdReader
Add a new namespace to the XML Schema.
addNewRootElement(XsdRootElement) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
addOptions(Xsd2CobModel) - Method in class com.legstar.xsd.def.Xsd2CobTask
 
addRootElements(List<XsdRootElement>, XmlSchema) - Static method in class com.legstar.xsd.XsdReader
As an option, caller might want to add root elements to the schema before it is processed.
addWsdlPartsAsRootElements(Document, XmlSchema) - Static method in class com.legstar.xsd.XsdReader
WSDL part elements which are bound to schema types (rather than elements), do not have an element counterpart in the wsdl schema.
addXmlSchemaElement(QName, QName, XmlSchema) - Static method in class com.legstar.xsd.XsdReader
Create a nex XML schema element.
ALPHANUMERIC_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Size for alphanumerics.
annotate(XmlSchema, XmlSchemaAnnotated, Element) - Method in class com.legstar.xsd.AbstractXsdAnnotator
Add annotations to an XML schema object (Element or Type).

B

BOOL_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Booleans total digits.

C

check(File, File) - Static method in class com.legstar.xsd.XsdWriter
Check the output files in which we are supposed to write.
checkParameters() - Method in class com.legstar.xsd.def.Xsd2CobIO
Sanity checks this model.
cleanIncludes(Document, String) - Static method in class com.legstar.xsd.XsdReader
Removes includes and imports which have been merged into the main schema.
COBOL_FILE_EXTENSION - Static variable in class com.legstar.xsd.XsdWriter
Extension to add on generated COBOL copybooks.
collectOptions(Options, String[]) - Method in class com.legstar.xsd.def.Xsd2CobMain
Take arguments received on the command line and setup corresponding options.
com.legstar.dom - package com.legstar.dom
W3C DOM document manipulations.
com.legstar.xsd - package com.legstar.xsd
Common XML schema manipulation classes.
com.legstar.xsd.cob - package com.legstar.xsd.cob
COBOL copybook generation.
com.legstar.xsd.def - package com.legstar.xsd.def
XML schema to COBOL translator.
COUNTER_COBOL_PICTURE - Static variable in class com.legstar.xsd.XsdConstants
Dynamic counters COBOL picture clause.
COUNTER_COBOL_SUFFIX - Static variable in class com.legstar.xsd.XsdConstants
Dynamic counters also need a cobol name which is built from the corresponding list or array cobol name plus this suffix.
COUNTER_COBOL_USAGE - Static variable in class com.legstar.xsd.XsdConstants
Dynamic counters COBOL usage clause.
create() - Static method in class com.legstar.dom.DocumentFactory
Creates a new, empty, DOM document.
createElement(String, String) - Static method in class com.legstar.dom.ElementFactory
Create a dangling element (within its own document).
createOccursCountersGroup() - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Counters for variable size arrays are kept in a group item which is stored as the first child of the root item.
createOptions() - Method in class com.legstar.xsd.def.Xsd2CobMain
 
createOptions() - Method in class com.legstar.xsd.def.Xsd2CobTask
 
createXsdConfig() - Method in class com.legstar.xsd.def.Xsd2CobModel
Used by ANT to create a new instance of the embedded xsdConfig element to receive parameters set from the ant script.
CUSTOM_XSLT_FILENAME - Static variable in class com.legstar.xsd.def.Xsd2CobModel
An optional XSLT transform for XML schema customization.
customize(XmlSchema, String) - Method in class com.legstar.xsd.def.Xsd2Cob
Customize the XML schema by applying an XSLT stylesheet.

D

DEC_FRAC_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Decimals fractional digits.
DEC_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Decimals total digits.
DEFAULT_ALPHANUMERIC_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default size for alphanumerics.
DEFAULT_BOOL_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default booleans total digits.
DEFAULT_COXB_NS_PFX - Static variable in class com.legstar.xsd.XsdConstants
Default COBOL annotations prefix.
DEFAULT_DEC_FRAC_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default decimals fractional digits.
DEFAULT_DEC_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default decimals total digits.
DEFAULT_DOUBLE_FLOAT_BYTE_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default double floats byte length.
DEFAULT_INT_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default integers total digits.
DEFAULT_LEVEL_INCREMENT - Static variable in class com.legstar.xsd.XsdConstants
How much to increment the level number when going down a hierarchy.
DEFAULT_LONG_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default longs total digits.
DEFAULT_MAX_OCCURS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default arrays maximum occurences.
DEFAULT_OCTET_STREAM_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default size for octet streams.
DEFAULT_ROOT_LEVEL - Static variable in class com.legstar.xsd.XsdConstants
The default COBOL level for root items.
DEFAULT_SHORT_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default shorts total digits.
DEFAULT_SINGLE_FLOAT_BYTE_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Default single floats byte length.
DocumentFactory - Class in com.legstar.dom
Builds a DOM document from an input stream.
DOUBLE_FLOAT_BYTE_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Double floats byte length.

E

ElementFactory - Class in com.legstar.dom
Creates W3C DOM elements.
execute() - Method in class com.legstar.xsd.def.Xsd2CobIO
Generates a new annotated schema.
execute(URI) - Method in class com.legstar.xsd.def.Xsd2CobIO
Generates a new annotated schema.
execute(String[]) - Method in class com.legstar.xsd.def.Xsd2CobMain
Process command line options and run generator.
execute() - Method in class com.legstar.xsd.def.Xsd2CobMain
Translate the input URI to COBOL.
execute() - Method in class com.legstar.xsd.def.Xsd2CobTask
The ant execute method.

G

generateBuild(File) - Method in class com.legstar.xsd.def.Xsd2CobModel
Creates an ant build script file ready for COBOL generation.
getAlphanumericLen() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol alphanumeric length.
getBoolTotalDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for a boolean.
getCobolAnnotation(XmlSchemaElement) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Extracts the cobol annotation from an XML schema element.
getCobolName(String) - Method in class com.legstar.xsd.AbstractXsdAnnotator
Method to infer a Cobol name from an XML schema type name.
getCobolNameResolver() - Method in class com.legstar.xsd.AbstractXsdAnnotator
 
getCobolStructure() - Method in class com.legstar.xsd.XsdToCobolStringResult
 
getCobolType() - Method in class com.legstar.xsd.cob.Xsd2CobMapper.DecoratedCobolDataItem
 
getCobolXsd() - Method in class com.legstar.xsd.XsdToCobolStringResult
 
getComplexTypeToJavaClassMap() - Method in class com.legstar.xsd.AbstractXsdAnnotator
 
getCounterCobolName(String) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Dynamic counters need a unique Cobol name.
getCustomXsltFileName() - Method in class com.legstar.xsd.def.Xsd2CobModel
An optional XSLT transform for XML schema customization.
getDecFracDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol fraction number of digits for decimals.
getDecTotalDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for decimals.
getDefaultName(URI) - Method in class com.legstar.xsd.def.Xsd2CobIO
Retrieves the last segment from a URI (without suffixes).
getDoubleFloatByteLen() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Byte length of Cobol single double float items.
getElementName() - Method in class com.legstar.xsd.XsdRootElement
 
getFacets(XmlSchema, XmlSchemaSimpleType, XsdFacets) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Search for the all facets found in an XML schema type hierarchy.
getFile(File, String) - Static method in class com.legstar.xsd.XsdWriter
If the file has no extension, it is considered a folder.
getFractionDigits() - Method in class com.legstar.xsd.XsdFacets
 
getInputXsdUri() - Method in class com.legstar.xsd.def.Xsd2CobModel
The input XML schema uri.
getIntProperty(String, int) - Method in class com.legstar.xsd.AbstractXsdConfig
Return a property value.
getIntTotalDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for integers.
getLength() - Method in class com.legstar.xsd.XsdFacets
 
getLocation() - Method in class com.legstar.xsd.AbstractXsdConfig
 
getLocation() - Method in class com.legstar.xsd.def.Xsd2CobConfig
 
getLongTotalDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for longs.
getMaxLength() - Method in class com.legstar.xsd.XsdFacets
 
getMaxOccurs() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default maximum number of items for arrays that mapped to unbounded.
getModel() - Method in class com.legstar.xsd.def.Xsd2Cob
 
getModel() - Method in class com.legstar.xsd.def.Xsd2CobMain
Gather all parameters into a context object.
getModel() - Method in class com.legstar.xsd.def.Xsd2CobTask
 
getName(XmlSchemaObjectTable, XmlSchemaObject) - Static method in class com.legstar.xsd.XsdReader
Get name for item from another schema.
getNewRootElements() - Method in class com.legstar.xsd.def.Xsd2CobModel
 
getNewTargetNamespace() - Method in class com.legstar.xsd.def.Xsd2CobModel
A new target namespace to replace the original one.
getOccursCountersGroup() - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Retrieve the current group item that holds counters for variable size arrays.
getOctetStreamLen() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol octet stream length.
getPattern() - Method in class com.legstar.xsd.XsdFacets
 
getPrimitiveType(XmlSchema, XmlSchemaSimpleType) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Inferring the XML schema primitive type involves a recursive search because types can form a hierarchy and restrict each other.
getRootDataItems() - Method in class com.legstar.xsd.cob.Xsd2CobMapper
 
getShortTotalDigits() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for shorts.
getSingleFloatByteLen() - Method in class com.legstar.xsd.def.Xsd2CobConfig
Byte length of Cobol single float items.
getTargetCobolEncoding() - Method in class com.legstar.xsd.def.Xsd2CobModel
 
getTargetCobolFile() - Method in class com.legstar.xsd.def.Xsd2CobModel
 
getTargetXsdFile() - Method in class com.legstar.xsd.def.Xsd2CobModel
 
getTotalDigits() - Method in class com.legstar.xsd.XsdFacets
 
getTypeName() - Method in class com.legstar.xsd.XsdRootElement
 
getVersion() - Method in class com.legstar.xsd.def.Xsd2CobMain
Pick up the version from the properties file.
getXsdCobolTypeMap() - Method in class com.legstar.xsd.AbstractXsdAnnotator
 
getXsdConfig() - Method in class com.legstar.xsd.def.Xsd2CobModel
Translator configuration parameters.

H

hasCompatibleAttr(Element, String, String) - Static method in class com.legstar.xsd.XsdReader
Check if an element has a compatible attribute.

I

indent(int) - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
Calculate an indentation factor based on the hierarchy level.
initBuilder() - Static method in class com.legstar.dom.DocumentFactory
Creates a builder if it is not there and associate an error handler.
INJECTED_ELEMENT - Static variable in class com.legstar.xsd.XsdConstants
Mark an element that was artifically injected in the XML schema.
INPUT_XSD_URI - Static variable in class com.legstar.xsd.def.Xsd2CobModel
URI where the XSD is available.
INT_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Integers total digits.
InvalidDocumentException - Exception in com.legstar.dom
Something is wrong with the input document.
InvalidDocumentException(String) - Constructor for exception com.legstar.dom.InvalidDocumentException
 
InvalidDocumentException(String, Throwable) - Constructor for exception com.legstar.dom.InvalidDocumentException
 
InvalidDocumentException(Throwable) - Constructor for exception com.legstar.dom.InvalidDocumentException
 
InvalidParameterException - Exception in com.legstar.xsd
Something is wrong with one of the parameters.
InvalidParameterException(String) - Constructor for exception com.legstar.xsd.InvalidParameterException
 
InvalidParameterException(String, Throwable) - Constructor for exception com.legstar.xsd.InvalidParameterException
 
InvalidParameterException(Throwable) - Constructor for exception com.legstar.xsd.InvalidParameterException
 
InvalidXsdException - Exception in com.legstar.xsd
Something is wrong with the input document.
InvalidXsdException(String) - Constructor for exception com.legstar.xsd.InvalidXsdException
 
InvalidXsdException(String, Throwable) - Constructor for exception com.legstar.xsd.InvalidXsdException
 
InvalidXsdException(Throwable) - Constructor for exception com.legstar.xsd.InvalidXsdException
 

L

load() - Method in class com.legstar.xsd.AbstractXsdConfig
Load the properties from file system.
loadProperties(Properties, String) - Static method in class com.legstar.xsd.AbstractXsdConfig
Loads a properties file from a location.
LONG_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Longs total digits.

M

main(String[]) - Static method in class com.legstar.xsd.def.Xsd2CobMain
 
mapOccursAttributes(XmlSchemaElement, Element, CobolDataItem) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Arrays are mapped to COBOL arrays.
MAX_OCCURS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Arrays maximum occurences.
mergeIncludes(Document[], String) - Static method in class com.legstar.xsd.XsdReader
Imports and includes are in separate DOM Documents that we merge here.

N

NEW_ROOT_ELEMENTS - Static variable in class com.legstar.xsd.def.Xsd2CobModel
New root elements to add.
NEW_TARGET_NAMESPACE - Static variable in class com.legstar.xsd.def.Xsd2CobModel
A new target namespace to replace the original one.

O

OCCURS_COUNTERS_GROUP_NAME - Static variable in class com.legstar.xsd.XsdConstants
The set of counters associated with variable size arrays are added to the final COBOL structure under this group name
OCTET_STREAM_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Size for octet streams.
OPTIONS_FILE_NAME - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Properties file name.

P

parse(InputStream) - Static method in class com.legstar.dom.DocumentFactory
Parse an input stream and return a new DOM document.
parse(URI) - Static method in class com.legstar.dom.DocumentFactory
Parse an input URI and return a new DOM document.
parse(File) - Static method in class com.legstar.dom.DocumentFactory
Parse an input file and return a new DOM document.
parse(String) - Static method in class com.legstar.dom.DocumentFactory
Parse an input string and return a new DOM document.
parse(String) - Method in class com.legstar.xsd.def.Xsd2Cob
Parse a file and generate an XML Schema.
parse(URI) - Method in class com.legstar.xsd.def.Xsd2Cob
Parse a file and generate an XML Schema.
processCollectionElements(XmlSchemaObjectCollection, int) - Method in class com.legstar.xsd.XsdNavigator
Take all elements from a collection and process them.
processComplexType(XmlSchema, XmlSchemaComplexType, int) - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
Process an XML schema complex type element.
processComplexType(XmlSchema, XmlSchemaComplexType, int) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
 
processComplexType(XmlSchema, XmlSchemaComplexType, int) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Create a set of Cobol annotation mapping the corresponding XML schema complex type attributes.
processComplexType(XmlSchemaComplexType, int) - Method in class com.legstar.xsd.XsdNavigator
Process an XML schema complex type.
processComplexType(XmlSchema, XmlSchemaComplexType, int) - Method in interface com.legstar.xsd.XsdObjectProcessor
Process an XML schema complex type element.
processElement(XmlSchema, XmlSchemaElement, int) - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
Process an XML schema element.
processElement(XmlSchema, XmlSchemaElement, int) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
 
processElement(XmlSchema, XmlSchemaElement, int) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Create a set of Cobol annotation mapping the corresponding XML schema element attributes.
processElement(XmlSchemaElement, int) - Method in class com.legstar.xsd.XsdNavigator
Process an XML schema element.
processElement(XmlSchema, XmlSchemaElement, int) - Method in interface com.legstar.xsd.XsdObjectProcessor
Process an XML schema element.
processLine(CommandLine, Options) - Method in class com.legstar.xsd.def.Xsd2CobMain
Process the command line options selected.
processParticle(QName, XmlSchemaParticle, int) - Method in class com.legstar.xsd.XsdNavigator
A particle is usually all or sequence.
produceHelp(Options) - Method in class com.legstar.xsd.def.Xsd2CobMain
 
pullIncludes(XmlSchema) - Static method in class com.legstar.xsd.XsdReader
Merge includes and imports (with identical target namespace) into the XML Schema and then remove the included/imported items.

R

read(Document) - Static method in class com.legstar.xsd.XsdReader
Reads an XML schema from a DOM document.

S

S2C_GENERATOR_NAME - Static variable in class com.legstar.xsd.def.Xsd2CobModel
This generator name.
S2C_VELOCITY_MACRO_NAME - Static variable in class com.legstar.xsd.def.Xsd2CobModel
This velocity template.
setAlphaNumericAttributes(QName, XsdFacets, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL Alphanumerics are bounded.
setAlphanumericLen(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol alphanumeric length.
setBinaryAttributes(QName, XsdFacets, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL Binary numerics are signed or unsigned and have a fixed number of digits.
setBoolTotalDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for a boolean.
setComplexTypeAttributes(XmlSchema, XmlSchemaComplexType, Element, int) - Method in class com.legstar.xsd.AbstractXsdAnnotator
Annotated complex types as group items.
setCustomXsltFileName(String) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setDecFracDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol fraction number of digits for decimals.
setDecimalAttributes(QName, XsdFacets, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL Decimal numerics are always signed and have a fixed number of total digits and fraction digits.
setDecTotalDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for decimals.
setDefaults() - Method in class com.legstar.xsd.def.Xsd2CobMain
Make sure mandatory parameters have default values.
setDoubleFloatAttributes(QName, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL double float numerics.
setDoubleFloatByteLen(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Byte length of Cobol single double float items.
setElementName(String) - Method in class com.legstar.xsd.XsdRootElement
 
setFractionDigits(int) - Method in class com.legstar.xsd.XsdFacets
 
setInputXsdUri(URI) - Method in class com.legstar.xsd.def.Xsd2CobModel
The input XML schema uri.
setIntProperty(String, int) - Method in class com.legstar.xsd.AbstractXsdConfig
Set a property value.
setIntTotalDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for integers.
setLength(int) - Method in class com.legstar.xsd.XsdFacets
 
setLongTotalDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for longs.
setMaxLength(int) - Method in class com.legstar.xsd.XsdFacets
 
setMaxOccurs(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default maximum number of items for arrays that mapped to unbounded.
setNewRootElements(List<XsdRootElement>) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setNewTargetNamespace(String) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setOctetStreamAttributes(QName, XsdFacets, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL octet stream data items are similar to alphanumerics.
setOctetStreamLen(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol octet stream length.
setPattern(String) - Method in class com.legstar.xsd.XsdFacets
 
setShortTotalDigits(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Default cobol binary number of digits for shorts.
setSimpleTypeAttributes(XmlSchema, XmlSchemaSimpleType, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Create a set of cobol attributes for a simple XML schema type.
setSingleFloatAttributes(QName, Element) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
COBOL single float numerics.
setSingleFloatByteLen(int) - Method in class com.legstar.xsd.def.Xsd2CobConfig
Byte length of Cobol single float items.
setTargetCobolEncoding(String) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setTargetCobolFile(File) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setTargetXsdFile(File) - Method in class com.legstar.xsd.def.Xsd2CobModel
 
setTotalDigits(int) - Method in class com.legstar.xsd.XsdFacets
 
setTypeName(String) - Method in class com.legstar.xsd.XsdRootElement
 
setUp() - Method in class com.legstar.xsd.AbstractXsdAnnotator
 
setUp() - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
Initialize whatever needs to be initialized.
setUp() - Method in class com.legstar.xsd.cob.Xsd2CobMapper
 
setUp() - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
 
setUp() - Method in interface com.legstar.xsd.XsdObjectProcessor
Initialize whatever needs to be initialized.
setXsdConfig(Xsd2CobConfig) - Method in class com.legstar.xsd.def.Xsd2CobModel
Translator configuration parameters.
SHORT_TOTAL_DIGITS - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Shorts total digits.
SINGLE_FLOAT_BYTE_LEN - Static variable in class com.legstar.xsd.def.Xsd2CobConfig
Single floats byte length.
switchTargetNamespace(XmlSchema, String) - Static method in class com.legstar.xsd.XsdReader
Changes the target namespace of an XML schema.

T

TARGET_COBOL_ENCODING - Static variable in class com.legstar.xsd.def.Xsd2CobModel
COBOL source target encoding.
TARGET_COBOL_FILE - Static variable in class com.legstar.xsd.def.Xsd2CobModel
COBOL target folder or file.
TARGET_XSD_FILE - Static variable in class com.legstar.xsd.def.Xsd2CobModel
XSD target folder or file.
toCobol(int, XmlSchemaElement) - Method in class com.legstar.xsd.cob.Xsd2CobMapper
Produce a Cobol data item from an XML schema COBOL annotations.
toFileSystem(File, File, String) - Method in class com.legstar.xsd.XsdToCobolStringResult
Saves the results to the file system.
toProperties(Properties) - Method in class com.legstar.xsd.AbstractXsdConfig
Serialize to another set of properties.
toProperties() - Method in class com.legstar.xsd.def.Xsd2CobModel
 
toRootElements(List<String>) - Method in class com.legstar.xsd.def.Xsd2CobModel
Helper to deserialize a list of root elements from a properties file.
toString() - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
toString(XmlSchema) - Method in class com.legstar.xsd.def.Xsd2Cob
Prints an XML schema in a String.
toString(int) - Method in class com.legstar.xsd.def.Xsd2CobAnnotator
Shortcut for integer to string.
toString() - Method in class com.legstar.xsd.XsdRootElement
 
toStringList(List<XsdRootElement>) - Method in class com.legstar.xsd.def.Xsd2CobModel
Helper to serialize the list of root elements to a properties file.
translate() - Method in class com.legstar.xsd.def.Xsd2Cob
Execute the translation from XML schema to COBOL-annotated XML Schema and COBOL structure.
translate(URI) - Method in class com.legstar.xsd.def.Xsd2Cob
Execute the translation from XML schema to COBOL-annotated XML Schema and COBOL structure.
translate(String) - Method in class com.legstar.xsd.def.Xsd2Cob
Execute the translation from XML schema to COBOL-annotated XML Schema and COBOL structure.
translate(XmlSchema) - Method in class com.legstar.xsd.def.Xsd2Cob
Execute the translation from XML schema to COBOL-annotated XML Schema and COBOL structure.
translate(XmlSchema, List<XsdRootElement>, Map<String, String>) - Method in class com.legstar.xsd.def.Xsd2Cob
Execute the translation from XML schema to COBOL-annotated XML Schema and COBOL structure.

V

visit() - Method in class com.legstar.xsd.XsdNavigator
Process each element in the input Schema.

W

writeElement(XmlSchema, XmlSchemaElement, Writer, Element, int) - Method in class com.legstar.xsd.cob.AbstractXsd2CobGenerator
Write a COBOL clause fo an XML schema element. .
writeResults(String, File, File, String, XsdToCobolStringResult, Log) - Static method in class com.legstar.xsd.XsdWriter
Write the results to file system.
WSDL_NS - Static variable in class com.legstar.xsd.XsdConstants
WSDL namespace.

X

Xsd2Cob - Class in com.legstar.xsd.def
XSD to COBOL Translator API.
Xsd2Cob() - Constructor for class com.legstar.xsd.def.Xsd2Cob
Construct the translator.
Xsd2Cob(Xsd2CobModel) - Constructor for class com.legstar.xsd.def.Xsd2Cob
Construct the translator.
Xsd2CobAnnotator - Class in com.legstar.xsd.def
The default annotator produces COBOL annotations by inference.
Xsd2CobAnnotator() - Constructor for class com.legstar.xsd.def.Xsd2CobAnnotator
Construct the annotator.
Xsd2CobAnnotator(Xsd2CobConfig) - Constructor for class com.legstar.xsd.def.Xsd2CobAnnotator
Construct the annotator.
Xsd2CobAnnotator(Map<String, String>) - Constructor for class com.legstar.xsd.def.Xsd2CobAnnotator
 
Xsd2CobAnnotator(Xsd2CobConfig, Map<String, String>) - Constructor for class com.legstar.xsd.def.Xsd2CobAnnotator
 
Xsd2CobConfig - Class in com.legstar.xsd.def
Properties used to provide COBOL specific attributes when they cannot be inferred from the XML Schema.
Xsd2CobConfig() - Constructor for class com.legstar.xsd.def.Xsd2CobConfig
At construction time, we attempt to load from file system but just ignore any failures (User did not provide a configuration on file and wants to use defaults).
Xsd2CobConfig(Properties) - Constructor for class com.legstar.xsd.def.Xsd2CobConfig
Create a configuration from a previous set of properties.
Xsd2CobIO - Class in com.legstar.xsd.def
XML schema to COBOL translation using file system.
Xsd2CobIO(Xsd2CobModel) - Constructor for class com.legstar.xsd.def.Xsd2CobIO
 
Xsd2CobMain - Class in com.legstar.xsd.def
XML schema to COBOL translation standalone executable.
Xsd2CobMain(Xsd2CobModel) - Constructor for class com.legstar.xsd.def.Xsd2CobMain
 
Xsd2CobMapper - Class in com.legstar.xsd.cob
Map an XML schema with COBOL annotations to a series of COBOL data items organized in hierarchies.
Xsd2CobMapper() - Constructor for class com.legstar.xsd.cob.Xsd2CobMapper
 
Xsd2CobMapper.DecoratedCobolDataItem - Class in com.legstar.xsd.cob
Decorate the COBOL data item with its type.
Xsd2CobMapper.DecoratedCobolDataItem(int, String, CobolType) - Constructor for class com.legstar.xsd.cob.Xsd2CobMapper.DecoratedCobolDataItem
 
Xsd2CobModel - Class in com.legstar.xsd.def
This class gathers execution parameters for the XML Schema to COBOL utility.
Xsd2CobModel() - Constructor for class com.legstar.xsd.def.Xsd2CobModel
A no-Arg constructor.
Xsd2CobModel(Properties) - Constructor for class com.legstar.xsd.def.Xsd2CobModel
Construct from a properties file.
Xsd2CobTask - Class in com.legstar.xsd.def
ANT Task for XML schema to COBOL translation.
Xsd2CobTask() - Constructor for class com.legstar.xsd.def.Xsd2CobTask
 
XSD_FILE_EXTENSION - Static variable in class com.legstar.xsd.XsdWriter
Extension to add on generated XML schema file names.
XSD_NS - Static variable in class com.legstar.xsd.XsdConstants
XML Schema namespace.
XsdCobolTypeMap - Class in com.legstar.xsd
The type map associates XML Schema types with Cobol data items type candidates.
XsdCobolTypeMap() - Constructor for class com.legstar.xsd.XsdCobolTypeMap
Creates the type mapping.
XsdConstants - Class in com.legstar.xsd
A set of constant values.
XsdConstants() - Constructor for class com.legstar.xsd.XsdConstants
 
XsdFacets - Class in com.legstar.xsd
This class collects all facet values of interest in an XML schema type.
XsdFacets() - Constructor for class com.legstar.xsd.XsdFacets
 
XsdMappingException - Exception in com.legstar.xsd
Unable to map an XML Schema element or attribute to a COBOL data item or attribute.
XsdMappingException(String) - Constructor for exception com.legstar.xsd.XsdMappingException
 
XsdMappingException(String, Throwable) - Constructor for exception com.legstar.xsd.XsdMappingException
 
XsdMappingException(Throwable) - Constructor for exception com.legstar.xsd.XsdMappingException
 
XsdNavigator - Class in com.legstar.xsd
Navigates an XML Schema starting from root elements.
XsdNavigator(XmlSchema, XsdObjectProcessor) - Constructor for class com.legstar.xsd.XsdNavigator
 
XsdObjectProcessor - Interface in com.legstar.xsd
Class which implement this interface are capable of performing some processing on XML Schema objects.
XsdReader - Class in com.legstar.xsd
Reads XML Schema from an input stream producing an Apache XML Schema object;
XsdReader() - Constructor for class com.legstar.xsd.XsdReader
 
XsdRootElement - Class in com.legstar.xsd
Represent a root element to add to an XML schema.
XsdRootElement() - Constructor for class com.legstar.xsd.XsdRootElement
No-arg constructor.
XsdRootElement(String) - Constructor for class com.legstar.xsd.XsdRootElement
Deserialize from string.
XsdRootElement(String, String) - Constructor for class com.legstar.xsd.XsdRootElement
 
XsdToCobolStringResult - Class in com.legstar.xsd
Results from translation are a COBOL annotated XML schema and COBOL source code that describes the COBOL structures.
XsdToCobolStringResult(String, String) - Constructor for class com.legstar.xsd.XsdToCobolStringResult
 
XsdWriter - Class in com.legstar.xsd
Writes results to the file system.

A B C D E G H I L M N O P R S T V W X

Copyright © 2012 LegSem. All Rights Reserved.