Top Description Fields Constructors Methods
com.sun.tools.xjc

public Class XJC2Task

extends XJCBase
Class Inheritance
Annotations
@SuppressWarnings:exports
Imports
org.apache.tools.ant.BuildException

XJC task for Ant. See the accompanied document for the usage.
Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Inherited from com.sun.tools.xjc.XJCBase:
options

Constructor Summary

AccessConstructor and Description
public
XJC2Task()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from com.sun.tools.xjc.XJCBase:
addConfiguredBindingaddConfiguredDependsaddConfiguredProducesaddConfiguredSchemaaddConfiguredXMLCatalogaddFilesToCommandLinecreateArgcreateClasspathcreateJvmarggetAddexportsgetAddmodulesgetAddopensgetAddreadsgetCataloggetCommandlinegetDestdirgetDisableXmlSecuritygetEncodinggetExtensiongetForkgetHeadergetHeaderWithDategetLimitmodulesgetModulepathgetPackagegetPatchmodulegetReadOnlygetRemoveOldOutputgetSpecTargetgetUpgrademodulepathgetVerbosesetAddexportssetAddmodulessetAddopenssetAddreadssetBindingsetCatalogsetClasspathsetClasspathRefsetDestdirsetDisableXmlSecuritysetEncodingsetExtensionsetFailonerrorsetForksetHeadersetHeaderWithDatesetLanguagesetLimitmodulessetModulepathsetPackagesetPatchmodulesetReadonlysetRemoveOldOutputsetSchemasetStackSizesetTargetsetupCommandsetupForkCommandsetUpgrademodulepathsetXexplicitAnnotation

Constructor Detail

XJC2Taskback to summary
public XJC2Task()

Default constructor.

Method Detail

executeback to summary
public void execute() throws BuildException

Overrides com.sun.tools.xjc.XJCBase.execute.

Doc from com.sun.tools.xjc.XJCBase.execute.

Runs XJC.

Annotations
@Override
Exceptions
BuildException:

Doc from org.apache.tools.ant.Task.execute.

if something goes wrong with the build.