org.jvnet.mjiip.v_2_1
Class XJC21Mojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jvnet.jaxb2.maven2.AbstractXJC2Mojo<O>
          extended by org.jvnet.jaxb2.maven2.RawXJC2Mojo<com.sun.tools.xjc.Options>
              extended by org.jvnet.mjiip.v_2_1.XJC21Mojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, DependencyResourceResolver

public class XJC21Mojo
extends RawXJC2Mojo<com.sun.tools.xjc.Options>

JAXB 2.x Mojo.

Author:
Aleksei Valikov (valikov@gmx.net)

Field Summary
 
Fields inherited from class org.jvnet.jaxb2.maven2.AbstractXJC2Mojo
catalogResolver, plugins
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
XJC21Mojo()
           
 
Method Summary
 void doExecute(com.sun.tools.xjc.Options options)
           
protected  com.sun.tools.xjc.outline.Outline generateCode(com.sun.tools.xjc.model.Model model)
           
protected  OptionsFactory<com.sun.tools.xjc.Options> getOptionsFactory()
           
protected  com.sun.tools.xjc.model.Model loadModel(com.sun.tools.xjc.Options options)
           
protected  void writeCode(com.sun.tools.xjc.outline.Outline outline)
           
 
Methods inherited from class org.jvnet.jaxb2.maven2.RawXJC2Mojo
createCatalogResolver, createClassLoader, createOptionsConfiguration, doExecute, execute, getArguments, getBindingFiles, getBindingUrls, getDependsFiles, getEpisodeArtifacts, getEpisodeFiles, 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, getEpisode, 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
 

Constructor Detail

XJC21Mojo

public XJC21Mojo()
Method Detail

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


Copyright © 2006-2012. All Rights Reserved.