|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.xjc.Plugin
org.jvnet.jaxb2_commons.plugin.defaultvalueplugin.DefaultValuePlugin
public class DefaultValuePlugin
Modifies the JAXB code model to set default values to the schema "default" attribute. Currently, the following field types can be initialized:
Enum)StringNumber
ByteDoubleFloatIntegerLongShortBoolean
| Constructor Summary | |
|---|---|
DefaultValuePlugin()
Creates a new DefaultValuePlugin instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOptionName()
DefaultValuePlugin uses "-Xdefault-value" as the command-line argument |
java.lang.String |
getUsage()
Return usage information for plugin |
boolean |
run(com.sun.tools.xjc.outline.Outline outline,
com.sun.tools.xjc.Options opt,
org.xml.sax.ErrorHandler errorHandler)
Run the plugin. |
| Methods inherited from class com.sun.tools.xjc.Plugin |
|---|
getCustomizationURIs, isCustomizationTagName, onActivated, parseArgument, postProcessModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultValuePlugin()
DefaultValuePlugin instance.
| Method Detail |
|---|
public java.lang.String getOptionName()
getOptionName in class com.sun.tools.xjc.Pluginpublic java.lang.String getUsage()
getUsage in class com.sun.tools.xjc.Plugin
public boolean run(com.sun.tools.xjc.outline.Outline outline,
com.sun.tools.xjc.Options opt,
org.xml.sax.ErrorHandler errorHandler)
run in class com.sun.tools.xjc.Plugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||