org.jvnet.mjiip.v_2_0
Class XJC20Mojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jvnet.jaxb2.maven2.AbstractXJC2Mojo<O>
org.jvnet.jaxb2.maven2.RawXJC2Mojo<com.sun.tools.xjc.Options>
org.jvnet.mjiip.v_2_0.XJC20Mojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, DependencyResourceResolver
public class XJC20Mojo
- extends RawXJC2Mojo<com.sun.tools.xjc.Options>
JAXB 2.x Mojo.
- Author:
- Aleksei Valikov (valikov@gmx.net)
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.jvnet.jaxb2.maven2.RawXJC2Mojo |
createCatalogResolver, createClassLoader, createOptionsConfiguration, doExecute, execute, getArguments, getBindingFiles, getBindingUrls, getDependsFiles, getEpisodeArtifacts, getProducesFiles, getSchemaFiles, getSchemaUrls, getXjcPluginArtifacts, getXjcPluginFiles, getXjcPluginURLs, injectDependencyDefaults, injectDependencyDefaults, isUpToDate, logConfiguration, resolveArtifacts, resolveEpisodeArtifacts, resolveXJCPluginArtifacts, setupBindingFiles, setupDependsFiles, setupDirectories, setupFiles, setupLogging, setupMavenPaths, setupProducesFiles, setupSchemaFiles |
Methods inherited from class org.jvnet.jaxb2.maven2.AbstractXJC2Mojo |
cleanPackageDirectory, createResourceEntryUrls, getAddCompileSourceRoot, getAddTestCompileSourceRoot, getArgs, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getBindingDirectory, getBindingExcludes, getBindingIncludes, getBindings, getBuildContext, getCatalog, getCatalogResolver, getCatalogs, getCatalogUrls, getClasspathElements, getCleanPackageDirectories, getDebug, getDisableDefaultExcludes, getEncoding, getEpisodeFile, getEpisodes, getExtension, getForceRegenerate, getGenerateDirectory, getGeneratePackage, getLocalRepository, getMavenProjectBuilder, getOtherDepends, getPluginArtifacts, getPlugins, getProduces, getProject, getReadOnly, getRemoveOldOutput, getSchemaDirectory, getSchemaExcludes, getSchemaIncludes, getSchemaLanguage, getSchemas, getSpecVersion, getStrict, getUseDependenciesAsEpisodes, getVerbose, getWriteCode, logApiConfiguration, resolveDependencyResource, setAddCompileSourceRoot, setAddTestCompileSourceRoot, setArgs, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setBindingDirectory, setBindingExcludes, setBindingIncludes, setBindings, setBuildContext, setCatalog, setCatalogResolver, setCatalogs, setClasspathElements, setCleanPackageDirectories, setDebug, setDisableDefaultExcludes, setEncoding, setEpisode, setEpisodeFile, setEpisodes, setExtension, setForceRegenerate, setGenerateDirectory, setGeneratePackage, setLocalRepository, setMavenProjectBuilder, setOtherDepends, setPluginArtifacts, setPlugins, setProduces, setProject, setReadOnly, setRemoveOldOutput, setSchemaDirectory, setSchemaExcludes, setSchemaIncludes, setSchemaLanguage, setSchemas, setSpecVersion, setStrict, setUseDependenciesAsEpisodes, setVerbose, setWriteCode |
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 |
XJC20Mojo
public XJC20Mojo()
getOptionsFactory
protected OptionsFactory<com.sun.tools.xjc.Options> getOptionsFactory()
- Specified by:
getOptionsFactory
in class AbstractXJC2Mojo<com.sun.tools.xjc.Options>
doExecute
public void doExecute(com.sun.tools.xjc.Options options)
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
doExecute
in class RawXJC2Mojo<com.sun.tools.xjc.Options>
- Throws:
org.apache.maven.plugin.MojoExecutionException
loadModel
protected com.sun.tools.xjc.model.Model loadModel(com.sun.tools.xjc.Options options)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
generateCode
protected com.sun.tools.xjc.outline.Outline generateCode(com.sun.tools.xjc.model.Model model)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
writeCode
protected void writeCode(com.sun.tools.xjc.outline.Outline outline)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getEpisodeFiles
public Collection<File> getEpisodeFiles()
- Overrides:
getEpisodeFiles
in class RawXJC2Mojo<com.sun.tools.xjc.Options>
getEpisode
public boolean getEpisode()
- Overrides:
getEpisode
in class AbstractXJC2Mojo<com.sun.tools.xjc.Options>
Copyright © 2006-2012. All Rights Reserved.