org.apache.cxf.xjc.dv
Class DefaultValuePlugin

java.lang.Object
  extended by org.apache.cxf.xjc.dv.DefaultValuePlugin

public class DefaultValuePlugin
extends Object

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


Constructor Summary
DefaultValuePlugin()
           
 
Method Summary
 String getOptionName()
           
 String getUsage()
           
 void onActivated(com.sun.tools.xjc.Options opts)
           
 int parseArgument(com.sun.tools.xjc.Options opt, String[] args, int index, com.sun.tools.xjc.Plugin plugin)
           
 boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options opt, ErrorHandler errorHandler)
           
 
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 String getOptionName()

getUsage

public String getUsage()

parseArgument

public int parseArgument(com.sun.tools.xjc.Options opt,
                         String[] args,
                         int index,
                         com.sun.tools.xjc.Plugin plugin)
                  throws com.sun.tools.xjc.BadCommandLineException,
                         IOException
Throws:
com.sun.tools.xjc.BadCommandLineException
IOException

run

public boolean run(com.sun.tools.xjc.outline.Outline outline,
                   com.sun.tools.xjc.Options opt,
                   ErrorHandler errorHandler)

onActivated

public void onActivated(com.sun.tools.xjc.Options opts)


Apache CXF