| Package | Description |
|---|---|
| com.legstar.cob2xsd |
Classes in this package implement the COBOL to XML Schema translation process.
|
| Modifier and Type | Method and Description |
|---|---|
XsdDataItem |
XsdDataItem.getParent() |
| Modifier and Type | Method and Description |
|---|---|
List<XsdDataItem> |
XsdDataItem.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XsdEmitter.addEnumerationFacets(XsdDataItem xsdDataItem,
org.apache.ws.commons.schema.XmlSchemaSimpleTypeRestriction restriction)
If simple type has conditions attached to it, emit enumeration facets.
|
protected org.apache.ws.commons.schema.XmlSchemaSimpleType |
XsdEmitter.createAlphaXmlSchemaSimpleType(XsdDataItem xsdDataItem,
String xsdTypeName)
Create a simple type for an alphanumeric type.
|
org.apache.ws.commons.schema.XmlSchemaAnnotation |
XsdAnnotationEmitter.createLegStarAnnotation(XsdDataItem xsdDataItem)
Create an XML Schema annotation with markup corresponding to the original
COBOL data item attributes.
|
protected org.apache.ws.commons.schema.XmlSchemaSimpleType |
XsdEmitter.createNumericXmlSchemaSimpleType(XsdDataItem xsdDataItem,
String xsdTypeName)
Create a simple type for an numeric type.
|
org.apache.ws.commons.schema.XmlSchemaComplexType |
XsdEmitter.createXmlSchemaComplexType(XsdDataItem xsdDataItem)
Create an XML schema complex type.
|
org.apache.ws.commons.schema.XmlSchemaElement |
XsdEmitter.createXmlSchemaElement(XsdDataItem xsdDataItem)
Create an XML Schema element from a COBOL data item.
|
org.apache.ws.commons.schema.XmlSchemaType |
XsdEmitter.createXmlSchemaType(XsdDataItem xsdDataItem)
Maps a COBOL data item to an XML schema type.
|
static String |
XsdDataItem.formatElementName(CobolDataItem cobolDataItem,
List<String> nonUniqueCobolNames,
Cob2XsdConfig config,
XsdDataItem parent,
int order)
Turn a COBOL name to an XSD element name.
|
static String |
XsdDataItem.formatTypeName(String elementName,
CobolDataItem cobolDataItem,
List<String> nonUniqueCobolNames,
Cob2XsdConfig config,
XsdDataItem parent,
int order)
Turn a COBOL name to a unique XSD type name.
|
| Constructor and Description |
|---|
XsdDataItem(CobolDataItem cobolDataItem,
Cob2XsdConfig config,
XsdDataItem parent,
int order,
List<String> nonUniqueCobolNames,
RecognizerErrorHandler errorHandler)
COBOL data item is analyzed at construction time and all XSD attributes
are derived from the COBOL attributes.
|
Copyright © 2021 LegSem. All rights reserved.