|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.geotools.maven.xmlcodegen.AbstractGeneratorMojo
public abstract class AbstractGeneratorMojo
Generates the bindings and utility classes used to parse xml documents for a particular schema.
Field Summary | |
---|---|
protected java.lang.String |
destinationPackage
The destination package of the generated source files in the standard dot-seperated naming format. |
protected java.lang.String[] |
includes
List of names of attributes, elements, and types to include, if unset all will be generated. |
protected java.io.File |
outputDirectory
Directory to output generated files to. |
protected boolean |
overwriteExistingFiles
Flag controlling wether files should overide files that already exist with the same name. |
protected java.io.File |
schemaLocation
The .xsd file defining the schema to generate bindings for. |
protected java.io.File[] |
schemaLookupDirectories
Additional directories used to locate included and imported schemas. |
protected java.io.File |
schemaSourceDirectory
Directory containing xml schemas, default is ${basedir}/src/main/xsd. |
protected java.io.File |
sourceOutputDirectory
Directory to output generated source files to. |
protected java.lang.String |
targetPrefix
The prefix to use for the targetNamespace. |
protected java.io.File |
testOutputDirectory
Directory to output generated test files to. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractGeneratorMojo()
|
Method Summary | |
---|---|
protected org.eclipse.xsd.XSDSchema |
schema()
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected java.io.File schemaLocation
protected java.io.File schemaSourceDirectory
protected java.io.File[] schemaLookupDirectories
protected java.lang.String destinationPackage
protected java.io.File outputDirectory
Deprecated
, use one of sourceOutputDirectory
or testOutputDirectory
protected java.io.File sourceOutputDirectory
protected java.io.File testOutputDirectory
protected boolean overwriteExistingFiles
protected java.lang.String[] includes
protected java.lang.String targetPrefix
Constructor Detail |
---|
public AbstractGeneratorMojo()
Method Detail |
---|
protected org.eclipse.xsd.XSDSchema schema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |