public class SDODatabinding extends org.apache.tuscany.sdo.generate.XSD2JavaGenerator implements DataBindingProfile
allNamespaces, generateBuiltIn, generatedPackages, namespaceInfo, schemaNamespace
genOptions, inputIndex, javaPackage, OPTION_ARRAY_ACCESSORS, OPTION_GENERATE_LOADER, OPTION_GENERATE_SWITCH, OPTION_INTERFACE_DO, OPTION_NO_CONTAINMENT, OPTION_NO_GENERATE, OPTION_NO_INTERFACES, OPTION_NO_NOTIFICATION, OPTION_NO_UNSETTABLE, OPTION_SPARSE_PATTERN, OPTION_STORE_PATTERN, prefix, targetDirectory, xsdFileName
Constructor and Description |
---|
SDODatabinding() |
Modifier and Type | Method and Description |
---|---|
DefaultValueWriter |
createDefaultValueWriter(QName qName,
boolean b) |
DefaultValueWriter |
createDefaultValueWriterForWrappedElement(QName qName,
QName qName1) |
void |
generate(ToolContext context) |
String |
getType(QName qName,
boolean element) |
String |
getWrappedElementType(QName wrapperElement,
QName item) |
void |
initialize(ToolContext context) |
generateFromXMLSchema, generateFromXMLSchema, generateFromXMLSchema, getGeneratedPackageInfo, getSchemaNamespace, handleArgument, main, printUsage, run
createGenPackage, createGenPackages, ecore2GenModel, extractBasePackageName, generateFromEPackage, generateFromGenModel, generateFromXMLSchema, generatePackages, generatePackages, printDiagnostic, processArguments, safeQualifiedName, shortName
public void initialize(ToolContext context) throws ToolException
initialize
in interface DataBindingProfile
ToolException
public void generate(ToolContext context) throws ToolException
generate
in interface DataBindingProfile
ToolException
public String getType(QName qName, boolean element)
getType
in interface DataBindingProfile
public String getWrappedElementType(QName wrapperElement, QName item)
getWrappedElementType
in interface DataBindingProfile
public DefaultValueWriter createDefaultValueWriter(QName qName, boolean b)
createDefaultValueWriter
in interface DataBindingProfile
public DefaultValueWriter createDefaultValueWriterForWrappedElement(QName qName, QName qName1)
createDefaultValueWriterForWrappedElement
in interface DataBindingProfile
Apache CXF