Class SimpleToStringPlugin
- java.lang.Object
-
- com.sun.tools.xjc.Plugin
-
- org.jvnet.jaxb2_commons.plugin.AbstractPlugin
-
- org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
-
- org.jvnet.jaxb2_commons.plugin.codegenerator.AbstractCodeGeneratorPlugin<ToStringArguments>
-
- org.jvnet.jaxb2_commons.plugin.simpletostring.SimpleToStringPlugin
-
public class SimpleToStringPlugin extends AbstractCodeGeneratorPlugin<ToStringArguments>
-
-
Field Summary
-
Fields inherited from class org.jvnet.jaxb2_commons.plugin.AbstractPlugin
logger
-
-
Constructor Summary
Constructors Constructor Description SimpleToStringPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CodeGenerator<ToStringArguments>createCodeGenerator(com.sun.codemodel.JCodeModel codeModel)protected voidgenerate(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.codemodel.JDefinedClass theClass)StringgetOptionName()protected QNamegetSpecialIgnoredElementName()StringgetUsage()booleanisFullClassName()booleanisShowChildItems()booleanisShowFieldNames()voidsetFullClassName(boolean fullClassName)voidsetShowChildItems(boolean showChildItems)voidsetShowFieldNames(boolean showFieldNames)-
Methods inherited from class org.jvnet.jaxb2_commons.plugin.codegenerator.AbstractCodeGeneratorPlugin
getCodeGenerator, getCustomizationElementNames, getFieldAccessorFactory, getIgnoring, processClassOutline, run, setFieldAccessorFactory, setIgnoring
-
Methods inherited from class org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
parseArgument
-
Methods inherited from class org.jvnet.jaxb2_commons.plugin.AbstractPlugin
afterRun, beforeRun, getCustomizationURIs, init, isCustomizationTagName, onActivated, run
-
-
-
-
Method Detail
-
getOptionName
public String getOptionName()
- Specified by:
getOptionNamein classcom.sun.tools.xjc.Plugin
-
getUsage
public String getUsage()
- Specified by:
getUsagein classcom.sun.tools.xjc.Plugin
-
getSpecialIgnoredElementName
protected QName getSpecialIgnoredElementName()
- Specified by:
getSpecialIgnoredElementNamein classAbstractCodeGeneratorPlugin<ToStringArguments>
-
isFullClassName
public boolean isFullClassName()
-
setFullClassName
public void setFullClassName(boolean fullClassName)
-
isShowFieldNames
public boolean isShowFieldNames()
-
setShowFieldNames
public void setShowFieldNames(boolean showFieldNames)
-
isShowChildItems
public boolean isShowChildItems()
-
setShowChildItems
public void setShowChildItems(boolean showChildItems)
-
createCodeGenerator
protected CodeGenerator<ToStringArguments> createCodeGenerator(com.sun.codemodel.JCodeModel codeModel)
- Specified by:
createCodeGeneratorin classAbstractCodeGeneratorPlugin<ToStringArguments>
-
generate
protected void generate(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.codemodel.JDefinedClass theClass)- Specified by:
generatein classAbstractCodeGeneratorPlugin<ToStringArguments>
-
-