|
|||||||||
| 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 String |
args
Adds arguments to the plugin. |
protected File |
catalog
Specify the catalog file to resolve external entity references. |
protected String[] |
excludeBindings
A list of regular expression file search patterns to specify the binding files to be excluded. |
protected 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 File |
generateDirectory
Generated code will be written under this directory. |
protected String |
generatePackage
If specified, generated code will be placed under this Java package. |
protected String[] |
includeBindings
A list of regular expression file search patterns to specify the binding files to be processed. |
protected 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 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 File schemaDirectory
protected String[] includeSchemas
protected String[] excludeSchemas
protected String[] includeBindings
protected String[] excludeBindings
protected String generatePackage
protected File generateDirectory
protected boolean readOnly
protected boolean extension
protected File catalog
protected boolean removeOldOutput
protected boolean strict
protected boolean verbose
protected 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 | ||||||||