|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.sun.tools.xjc.maven2.XJCMojo
public class XJCMojo
A mojo that uses JAXB to generate a collection of javabeans from an XSD. For details on JAXB see JAXB 2.0 Project
Field Summary | |
---|---|
protected java.lang.String |
args
Adds arguments to the plugin. |
protected java.io.File |
catalog
Specify the catalog file to resolve external entity references. |
protected java.lang.String[] |
excludeBindings
A list of regular expression file search patterns to specify the binding files to be excluded. |
protected java.lang.String[] |
excludeSchemas
A list of regular expression file search patterns to specify the schemas to be excluded from the includeSchemas list. |
protected boolean |
extension
If set to true, the XJC binding compiler will run in the extension mode. |
protected java.io.File |
generateDirectory
Generated code will be written under this directory. |
protected java.lang.String |
generatePackage
If specified, generated code will be placed under this Java package. |
protected java.lang.String[] |
includeBindings
A list of regular expression file search patterns to specify the binding files to be processed. |
protected java.lang.String[] |
includeSchemas
A list of regular expression file search patterns to specify the schemas to be processed. |
protected org.apache.maven.project.MavenProject |
project
The Maven project reference. |
protected boolean |
readOnly
Generate Java source files in the read-only mode if true is specified. |
protected boolean |
removeOldOutput
Used in pair with nested |
protected java.io.File |
schemaDirectory
The source directory containing *.xsd schema and *.xjb binding files. |
protected boolean |
strict
Perform strict validation of the input schema. |
protected boolean |
verbose
If verbose all the configured settings that are to be passed to the xjc compiler are logged. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
XJCMojo()
|
Method Summary | |
---|---|
void |
execute()
Execute the maven2 mojo to invoke the xjc compiler based on configuration settings. |
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 |
Field Detail |
---|
protected java.io.File schemaDirectory
protected java.lang.String[] includeSchemas
protected java.lang.String[] excludeSchemas
protected java.lang.String[] includeBindings
protected java.lang.String[] excludeBindings
protected java.lang.String generatePackage
protected java.io.File generateDirectory
protected boolean readOnly
protected boolean extension
protected java.io.File catalog
protected boolean removeOldOutput
protected boolean strict
protected boolean verbose
protected java.lang.String args
protected org.apache.maven.project.MavenProject project
Constructor Detail |
---|
public XJCMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |