A C D E G I J M N O P R S T X

A

annotateClass(ClassOutline) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Propagate xsd complex type annotations on a class type.

C

capitalize(String) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
Don't uppercase systematically like JAXB does.
checkInput() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Checks that properties set are valid.
classify(char) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
Underscore is a regular letter.
CobolJAXBAnnotator - Class in com.legstar.jaxb.plugin
This is an extension to the JAXB XJC plugin.
CobolJAXBAnnotator() - Constructor for class com.legstar.jaxb.plugin.CobolJAXBAnnotator
 
CobolJAXBAnnotator.EciCompatibleNameConverter - Class in com.legstar.jaxb.plugin
This overrides the standard JAXB name converter when in ECI compatible mode.
CobolJAXBAnnotator.EciCompatibleNameConverter() - Constructor for class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
 
CobolJAXBAnnotator.WinCompatibleNameConverter - Class in com.legstar.jaxb.plugin
Some file names are forbidden on Windows.
CobolJAXBAnnotator.WinCompatibleNameConverter() - Constructor for class com.legstar.jaxb.plugin.CobolJAXBAnnotator.WinCompatibleNameConverter
 
CobolJAXBCustomizer - Class in com.legstar.jaxb.gen
This class implements the methods needed to inject custom JAXB bindings into an XML Schema.
CobolJAXBCustomizer(JaxbGenModel) - Constructor for class com.legstar.jaxb.gen.CobolJAXBCustomizer
Construct the customizer.
CobolJAXBGenerator - Class in com.legstar.jaxb.gen
A lightweight ant Task which augments the standard JAXB XJC Task.
CobolJAXBGenerator() - Constructor for class com.legstar.jaxb.gen.CobolJAXBGenerator
No args constructor.
CobolJAXBGenerator(JaxbGenModel) - Constructor for class com.legstar.jaxb.gen.CobolJAXBGenerator
Constructor from a set of options.
com.legstar.jaxb.gen - package com.legstar.jaxb.gen
Ant Task for JAXB Classes generation (Uses XJC internally).
com.legstar.jaxb.plugin - package com.legstar.jaxb.plugin
Classes involved in creating a JAXB customize plugin to the XJC tool.
createExternalCustomization(File) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Creates a temporary binding file holding the parameters chosen.
createInternalCustomization(File) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Creates a temporary XML Schema which holds JAXB customization bindings.
customize(File, File) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Adds JAXB custom bindings to an XML Schema.
customize(File, String, File, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Adds JAXB custom bindings to an XML Schema.

D

DEFAULT_ECICOMPATIBLE - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Default value for use ECI compatible mode.
DEFAULT_GENERATEISSETMETHOD - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Default value for generate isSet method.
DEFAULT_INTERNALBINDINGS - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Default value for use of internal bindings.
DEFAULT_NOPACKAGEINFO - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Default value for no package-info generation.
DEFAULT_SERIALIZABLE_ID - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Default value for serializable ID.

E

execute() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The ant method.

G

generateXjb(File) - Method in class com.legstar.jaxb.gen.JaxbGenModel
Creates an external binding customization file ready for JAXB.
getCustomizationURIs() - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
getElement(DocumentFragment, String, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Lookup a DOM element in the parent markup.
getElementNamePrefix() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The prefix to add to element names.
getElementNamePrefix() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
getElementNameSuffix() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The suffix to add to element names.
getElementNameSuffix() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
getJaxbGenModel() - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
 
getJaxbPackageName() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
If specified, generated code will be placed under this Java package.
getJaxbPackageName() - Method in class com.legstar.jaxb.gen.JaxbGenModel
If specified, generated code will be placed under this Java package.
getMarkupParent(XmlSchemaAppInfo) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
The content of appinfo is a raw W3C nodelist.
getOptionName() - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
getSerializableUid() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The serialization unique ID.
getSerializableUid() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
getTargetDir() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Generated code will be written under this directory.
getTypeNamePrefix() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The prefix to add to type names.
getTypeNamePrefix() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
getTypeNameSuffix() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The suffix to add to type names.
getTypeNameSuffix() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
getUsage() - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
getXmlSchemaAppInfo(XmlSchemaAnnotated) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Try to recover application info from an XML schema element and create new ones if none is found.
getXsdFile() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
This is the schema file to be compiled.
getXsdLocation() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 

I

init() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Initialize a commons logging logger so that XJC logs gets merged with the legstar ones.
injectJaxbElementNameXmlTransformAnnotation(Element, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a ElementNameXmlTransform element in the JAXB XmlTransform annotation.
injectJaxbEnumerationsAnnotation(XmlSchema, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Enumerations in anonymous simple types are not mapped to type safe Enum classes by JAXB unless they are annotated.
injectJaxbExtensionAttributes(XmlSchema, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
JAXB needs to know the LegStar extension prefix used.
injectJaxbGlobalBindingsAnnotations(DocumentFragment, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a global bindings element in the parent annotation node.
injectJaxbNamespace(XmlSchema) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Searches the schema element for the JAXB namespace.
injectJaxbSchemaAnnotations(XmlSchema, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Given an XML Schema, this will inject or replace custom JAXB bindings annotations at the schema level.
injectJaxbSchemaBindingsAnnotations(DocumentFragment, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a schema bindings element in the parent annotation node.
injectJaxbSerializableAnnotation(Element, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a serializable element in the JAXB global bindings annotation.
injectJaxbTypeNameXmlTransformAnnotation(Element, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a TypeNameXmlTransform element in the JAXB XmlTransform annotation.
injectJaxbTypeSafeEnumClassAnnotation(String, String, XmlSchemaSimpleType, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Create a typesafeEnumClass markup.
injectJaxbTypeSafeEnumMemberAnnotation(String, String, XmlSchemaEnumerationFacet, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Create a typesafeEnumMember markup.
injectJaxbXmlTransformAnnotation(Element, String, String) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Inject a XmlTransform element in the JAXB schema bindings annotation.
isCustomizationTagName(String, String) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
isEciCompatible() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Whether the ECI naming conventions should be used.
isEciCompatible() - Method in class com.legstar.jaxb.gen.JaxbGenModel
Whether the ECI naming conventions should be used.
isEciCompatible() - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
 
isGenerateIsSetMethod() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
If IsSet Methods should be generated.
isGenerateIsSetMethod() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
isInternalBindings() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
whether internal bindings or and external binding should be used.
isInternalBindings() - Method in class com.legstar.jaxb.gen.JaxbGenModel
whether internal bindings or and external binding should be used.
isLetter(char) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
Underscore is a regular letter.
isNoPackageInfo() - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Prevents generation of JAXB package-info.java which does not compile under JDK 1.5.
isNoPackageInfo() - Method in class com.legstar.jaxb.gen.JaxbGenModel
Prevents generation of JAXB package-info.java which does not compile under JDK 1.5.
isPunct(char) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
Underscore is not a punctuation.

J

JAXB_ECICOMPATIBLE - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Use the ECI naming conventions.
JAXB_INTERNALBINDINGS - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
JAXB uses internal bindings.
JAXB_NOPACKAGEINFO - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Don't generate package-info.java.
JAXB_PACKAGENAME - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
JAXB package name.
JAXB_XJB_ELEMENTNAME_PREFIX - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Element name prefix.
JAXB_XJB_ELEMENTNAME_SUFFIX - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Element name suffix.
JAXB_XJB_ISGENERATEISSETMETHOD - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Generate isSet methods.
JAXB_XJB_SERIALIZABLE_ID - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Serializable ID.
JAXB_XJB_TYPENAME_PREFIX - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Type name prefix.
JAXB_XJB_TYPENAME_SUFFIX - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Type name suffix.
JAXB_XSD_LOCATION - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Physical location of the XML schema.
JaxbGenModel - Class in com.legstar.jaxb.gen
Parameters used for the COBOL-annotated JAXB classes generation.
JaxbGenModel() - Constructor for class com.legstar.jaxb.gen.JaxbGenModel
A no-Arg constructor.
JaxbGenModel(Properties) - Constructor for class com.legstar.jaxb.gen.JaxbGenModel
Construct from a properties file.

M

mapAnnotations(CPluginCustomization, JAnnotationUse) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Each annotation is extracted from the XML schema customization and injected back into the JAXB class code.

N

needElementNameXmlTransform() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
needTypeNameXmlTransform() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
needXmlTransform() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 

O

OPTION_NAME - Static variable in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Option passed to XJC to enable this cobol plugin.
OPTION_USAGE - Static variable in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Command line help for cobol plugin XJC option.

P

parseArgument(Options, String[], int) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
.
postProcessModel(Model, ErrorHandler) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
XJC has built an abstract in-memory model of the target classes.
processCollectionElements(XmlSchema, String, String, XmlSchemaObjectCollection) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Take all elements from a collection and process them.
processComplexType(XmlSchema, String, String, XmlSchemaComplexType) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Process an XML schema complex type.
processElement(XmlSchema, String, String, XmlSchemaElement) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Process an XML schema element.
processParticle(XmlSchema, String, String, QName, XmlSchemaParticle) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
A particle is usually all or sequence.
processSimpleType(XmlSchema, String, String, XmlSchemaElement, XmlSchemaSimpleType) - Method in class com.legstar.jaxb.gen.CobolJAXBCustomizer
Process an XML schema simple type.

R

run(Outline, Options, ErrorHandler) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
This is where the real action takes place.

S

setBooleanParm(Element, String, JAnnotationUse) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Move an attribute value from the XML markup to the Cobol annotation.
setDefaultValue(JFieldVar, Element) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Attempts to set a default value for the java field based on the COBOL default value.
setEciCompatible(boolean) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Whether the ECI naming conventions should be used.
setEciCompatible(boolean) - Method in class com.legstar.jaxb.gen.JaxbGenModel
Whether the ECI naming conventions should be used.
setElementNamePrefix(String) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The prefix to add to element names.
setElementNamePrefix(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setElementNameSuffix(String) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The suffix to add to element names.
setElementNameSuffix(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setGenerateIsSetMethod(boolean) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
If IsSet Methods should be generated.
setGenerateIsSetMethod(boolean) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setInternalBindings(boolean) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Whether internal bindings or and external binding should be used.
setInternalBindings(boolean) - Method in class com.legstar.jaxb.gen.JaxbGenModel
Whether internal bindings or and external binding should be used.
setJaxbPackageName(String) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
If specified, generated code will be placed under this Java package.
setJaxbPackageName(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
If specified, generated code will be placed under this Java package.
setNoPackageInfo(boolean) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Prevents generation of JAXB package-info.java which does not compile under JDK 1.5.
setNoPackageInfo(boolean) - Method in class com.legstar.jaxb.gen.JaxbGenModel
Prevents generation of JAXB package-info.java which does not compile under JDK 1.5.
setNumericParm(Element, String, JAnnotationUse) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Move an attribute value from the XML markup to the Cobol annotation.
setSerializableUid(long) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The serialization unique ID.
setSerializableUid(long) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setStringParm(Element, String, JAnnotationUse) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator
Move an attribute value from the XML markup to the Cobol annotation.
setTargetDir(File) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
Generated code will be written under this directory.
setTypeNamePrefix(String) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The prefix to add to type names.
setTypeNamePrefix(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setTypeNameSuffix(String) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
The suffix to add to type names.
setTypeNameSuffix(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 
setXsdFile(File) - Method in class com.legstar.jaxb.gen.CobolJAXBGenerator
This is the schema file to be compiled.
setXsdLocation(String) - Method in class com.legstar.jaxb.gen.JaxbGenModel
 

T

toClassName(String) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.WinCompatibleNameConverter
 
toMixedCaseName(List<String>, boolean) - Method in class com.legstar.jaxb.plugin.CobolJAXBAnnotator.EciCompatibleNameConverter
Makes sure only the first character is uppercased when needed.
toProperties() - Method in class com.legstar.jaxb.gen.JaxbGenModel
 

X

XJB_CHARSET - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Character set used for the XJB file content.
XJB_GENERATOR_NAME - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
Velocity identifier for this generator.
XJB_TEMPLATE - Static variable in class com.legstar.jaxb.gen.JaxbGenModel
A template for a JAXB external binding customization file.

A C D E G I J M N O P R S T X

Copyright © 2015 LegSem. All Rights Reserved.