|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.zeus.util.BaseSourceGenerator | +--org.enhydra.zeus.util.XSDSourceGenerator
This is a standalone "utility" class. It allows source code generation from an XML Schema (XSD).
Fields inherited from class org.enhydra.zeus.util.BaseSourceGenerator |
collapseSimpleElements, constraintsReader, ignoreIDAttributes, javaPackage, outputDir |
Constructor Summary | |
XSDSourceGenerator()
This sets up defaults for the generator. |
Method Summary | |
protected java.util.List |
getConstraintBindings()
This defines a contract for subclasses to allow them to get the Zeus objects to generate
code from. |
static void |
main(java.lang.String[] args)
This provides command-line class generation. |
Methods inherited from class org.enhydra.zeus.util.BaseSourceGenerator |
generate, getGenerator, setCollapseSimpleElements, setCollapseSimpleElements, setConstraintsInput, setConstraintsInput, setConstraintsInput, setConstraintsInput, setJavaPackage, setOutputDir, setOutputDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.enhydra.zeus.util.SourceGenerator |
generate, setCollapseSimpleElements, setCollapseSimpleElements, setConstraintsInput, setConstraintsInput, setConstraintsInput, setConstraintsInput, setJavaPackage, setOutputDir, setOutputDir |
Constructor Detail |
public XSDSourceGenerator()
This sets up defaults for the generator.
Method Detail |
protected java.util.List getConstraintBindings() throws java.io.IOException
This defines a contract for subclasses to allow them to get the
Zeus
objects to generate
code from.
Binding
getConstraintBindings
in class BaseSourceGenerator
List
- a list of the Binding
objects to generate code from.IOException
- - when binding creation failspublic static void main(java.lang.String[] args)
This provides command-line class generation.
args
- String
array of command-line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |