| org.geotools.maven.xmlcodegen.AbstractGeneratorMojo org.geotools.maven.xmlcodegen.BindingGeneratorMojo
BindingGeneratorMojo | public class BindingGeneratorMojo extends AbstractGeneratorMojo (Code) | | Generates the bindings and utility classes used to parse xml documents
for a particular schema.
author: Justin Deoliveira, The Open Planning Project |
Field Summary | |
BindingConstructorArgument[] | bindingConstructorArguments | Class | complexBindingBaseClass The base class for complex bindings. | boolean | generateAttributeBindings Flag controlling wether bindings for attributes should be generated, default is
false. | boolean | generateBindingConfiguration Flag controlling wether the binding configuration (
org.geotools.xml.BindingConfiguration )
should be generated, default is true. | boolean | generateConfiguration Flag controlling wether a parser configuration (
org.geotools.xml.Configuration )
the default is true. | boolean | generateElementBindings Flag controlling wether bindings for eleements should be generated, default is
false. | boolean | generateNames Flag controlling wether an interface containg all the element, attribute, and
type names from the schema should be generated. | boolean | generateSchemaLocationResolver Flag controlling wether a schema locator (
XSDSchemaLocator )
should be generated, the default is false. | boolean | generateTypeBindings Flag controlling wether bindings for types should be generated, default is
true. | String[] | includes List of names of attributes, elements, and types to include, if unset all will
be generated. | Class | simpleBindingBaseClass The base class for simple bindings. |
Method Summary | |
public void | execute() |
bindingConstructorArguments | BindingConstructorArgument[] bindingConstructorArguments(Code) | | List of constructor arguments that should be supplied to generated bindings
|
generateAttributeBindings | boolean generateAttributeBindings(Code) | | Flag controlling wether bindings for attributes should be generated, default is
false.
|
generateElementBindings | boolean generateElementBindings(Code) | | Flag controlling wether bindings for eleements should be generated, default is
false.
|
generateNames | boolean generateNames(Code) | | Flag controlling wether an interface containg all the element, attribute, and
type names from the schema should be generated. Inclusion / exclusion filters
do not apply.
|
generateSchemaLocationResolver | boolean generateSchemaLocationResolver(Code) | | Flag controlling wether a schema locator (
XSDSchemaLocator )
should be generated, the default is false.
|
generateTypeBindings | boolean generateTypeBindings(Code) | | Flag controlling wether bindings for types should be generated, default is
true.
|
includes | String[] includes(Code) | | List of names of attributes, elements, and types to include, if unset all will
be generated.
|
execute | public void execute() throws MojoExecutionException, MojoFailureException(Code) | | |
Methods inherited from org.geotools.maven.xmlcodegen.AbstractGeneratorMojo | protected XSDSchema schema()(Code)(Java Doc)
|
|
|