uk.org.retep.util.xml.jaxb.plugin
Class RetepPluginLibrary
java.lang.Object
com.sun.tools.xjc.Plugin
uk.org.retep.util.xml.jaxb.JAXBPluginLibrary
uk.org.retep.util.xml.jaxb.plugin.RetepPluginLibrary
@Service(value=com.sun.tools.xjc.Plugin.class)
public final class RetepPluginLibrary
- extends JAXBPluginLibrary
JAXBPluginLibrary of plugins provided by retepTools. XJC will automatically
find this class if the library is in the classpath and the -retepTools command
line argument is provided to XJC.
For use in maven, use something like:
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<schemaDirectory>${basedir}/src/main/schema</schemaDirectory>
<extension>true</extension>
<args>
<arg>-retepTools</arg>
</args>
</configuration>
<dependencies>
<dependency>
<groupId>uk.org.retep</groupId>
<artifactId>retepTools</artifactId>
<version>9.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>2.1.9</version>
</dependency>
</dependencies>
</plugin>
- Since:
- 9.2
- Author:
- peter
|
Field Summary |
static String |
NS
The namespace for our library |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NS
public static final String NS
- The namespace for our library
- See Also:
- Constant Field Values
RetepPluginLibrary
public RetepPluginLibrary()
getOptionName
public String getOptionName()
- Specified by:
getOptionName in class com.sun.tools.xjc.Plugin
getUseage
protected void getUseage(StringBuilder sb)
- Description copied from class:
JAXBPluginLibrary
- The useage for this plugin, simply append to the provided StringBuilder
- Specified by:
getUseage in class JAXBPluginLibrary
Copyright © 1998-2009 Retep Development Group. All Rights Reserved.