public class ToStringPlugin
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
active |
private static java.util.logging.Logger |
LOG |
private java.lang.String |
styleClassName |
private java.lang.String |
styleFieldName |
| Constructor and Description |
|---|
ToStringPlugin() |
| Modifier and Type | Method and Description |
|---|---|
private void |
addToStringMethod(com.sun.tools.xjc.outline.ClassOutline co,
com.sun.codemodel.JClass delegateImpl,
com.sun.codemodel.JFieldRef toStringDelegateStyleParam) |
java.lang.String |
getOptionName() |
java.lang.String |
getUsage() |
void |
onActivated(com.sun.tools.xjc.Options opts) |
int |
parseArgument(com.sun.tools.xjc.Options opt,
java.lang.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,
org.xml.sax.ErrorHandler errorHandler) |
private static final java.util.logging.Logger LOG
private java.lang.String styleFieldName
private java.lang.String styleClassName
private boolean active
public java.lang.String getOptionName()
public java.lang.String getUsage()
public int parseArgument(com.sun.tools.xjc.Options opt,
java.lang.String[] args,
int index,
com.sun.tools.xjc.Plugin plugin)
throws com.sun.tools.xjc.BadCommandLineException,
java.io.IOException
com.sun.tools.xjc.BadCommandLineExceptionjava.io.IOExceptionpublic boolean run(com.sun.tools.xjc.outline.Outline outline,
com.sun.tools.xjc.Options opt,
org.xml.sax.ErrorHandler errorHandler)
private void addToStringMethod(com.sun.tools.xjc.outline.ClassOutline co,
com.sun.codemodel.JClass delegateImpl,
com.sun.codemodel.JFieldRef toStringDelegateStyleParam)
public void onActivated(com.sun.tools.xjc.Options opts)