org.apache.cxf.xjc.dv
Class DefaultValuePlugin

java.lang.Object
  extended by com.sun.tools.xjc.Plugin
      extended by org.apache.cxf.xjc.dv.DefaultValuePlugin

public class DefaultValuePlugin
extends com.sun.tools.xjc.Plugin

Modifies the JAXB code model to initialise fields mapped from schema elements with their default value.


Constructor Summary
DefaultValuePlugin()
           
 
Method Summary
 java.lang.String getOptionName()
           
 java.lang.String getUsage()
           
 boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options opt, org.xml.sax.ErrorHandler errorHandler)
           
 
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

DefaultValuePlugin

public DefaultValuePlugin()
Method Detail

getOptionName

public java.lang.String getOptionName()
Specified by:
getOptionName in class com.sun.tools.xjc.Plugin

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in class com.sun.tools.xjc.Plugin

run

public boolean run(com.sun.tools.xjc.outline.Outline outline,
                   com.sun.tools.xjc.Options opt,
                   org.xml.sax.ErrorHandler errorHandler)
Specified by:
run in class com.sun.tools.xjc.Plugin


Apache CXF