org.jvnet.mjiip.v_2_2
Class XJC22Mojo

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_2.XJC22Mojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
XJC2Mojo

public class XJC22Mojo
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
XJC22Mojo()
           
 
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
createResourceEntryUrls, getAddCompileSourceRoot, getAddTestCompileSourceRoot, getArgs, getArtifactFactory, getArtifactMetadataSource, getArtifactResolver, getBindingDirectory, getBindingExcludes, getBindingIncludes, getBindings, getCatalog, getCatalogResolver, getCatalogURL, getClasspathElements, getDebug, getDisableDefaultExcludes, getEpisode, getEpisodeFile, getEpisodes, getExtension, getForceRegenerate, getGenerateDirectory, getGeneratePackage, getLocalRepository, getMavenProjectBuilder, getOtherDepends, getPluginArtifacts, getPlugins, getProduces, getProject, getReadOnly, getRemoveOldOutput, getSchemaDirectory, getSchemaExcludes, getSchemaIncludes, getSchemaLanguage, getSchemas, getSpecVersion, getStrict, getVerbose, getWriteCode, logApiConfiguration, setAddCompileSourceRoot, setAddTestCompileSourceRoot, setArgs, setArtifactFactory, setArtifactMetadataSource, setArtifactResolver, setBindingDirectory, setBindingExcludes, setBindingIncludes, setBindings, setCatalog, setCatalogResolver, setClasspathElements, setDebug, setDisableDefaultExcludes, setEpisode, setEpisodeFile, setEpisodes, setExtension, setForceRegenerate, setGenerateDirectory, setGeneratePackage, setLocalRepository, setMavenProjectBuilder, setOtherDepends, setPluginArtifacts, setPlugins, setProduces, setProject, setReadOnly, setRemoveOldOutput, setSchemaDirectory, setSchemaExcludes, setSchemaIncludes, setSchemaLanguage, setSchemas, setSpecVersion, setStrict, 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

XJC22Mojo

public XJC22Mojo()
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-2011. All Rights Reserved.