Class RemoveAnnotationPlugin
- java.lang.Object
-
- com.sun.tools.xjc.Plugin
-
- org.jvnet.jaxb.plugin.AbstractPlugin
-
- org.jvnet.jaxb.plugin.AbstractParameterizablePlugin
-
- org.jvnet.jaxb.plugin.removeannotation.RemoveAnnotationPlugin
-
public class RemoveAnnotationPlugin extends AbstractParameterizablePlugin
-
-
Field Summary
-
Fields inherited from class org.jvnet.jaxb.plugin.AbstractPlugin
logger
-
-
Constructor Summary
Constructors Constructor Description RemoveAnnotationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<QName>getCustomizationElementNames()StringgetDefaultFieldTarget()StringgetOptionName()StringgetUsage()protected voidprocessClassOutline(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)protected voidprocessElementOutline(com.sun.tools.xjc.outline.ElementOutline elementOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)protected voidprocessEnumConstantOutline(com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)protected voidprocessEnumOutline(com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)protected voidprocessFieldOutline(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.outline.FieldOutline fieldOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)protected voidremoveAnnotationFromClassOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)protected voidremoveAnnotationFromElementOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.ElementOutline elementOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)protected voidremoveAnnotationFromEnumConstantOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)protected voidremoveAnnotationFromEnumOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)protected voidremoveAnnotationFromFieldOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.FieldOutline fieldOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)booleanrun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)voidsetDefaultFieldTarget(String defaultFieldTarget)-
Methods inherited from class org.jvnet.jaxb.plugin.AbstractParameterizablePlugin
parseArgument
-
Methods inherited from class org.jvnet.jaxb.plugin.AbstractPlugin
afterRun, beforeRun, getCustomizationURIs, init, isCustomizationTagName, onActivated, run
-
-
-
-
Field Detail
-
REMOVE_ANNOTATION_FROM_PROPERTY_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PROPERTY_QNAME
-
REMOVE_ANNOTATION_FROM_PROPERTY_GETTER_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PROPERTY_GETTER_QNAME
-
REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_QNAME
-
REMOVE_ANNOTATION_FROM_PROPERTY_FIELD_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PROPERTY_FIELD_QNAME
-
REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_PARAMETER_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_PARAMETER_QNAME
-
REMOVE_ANNOTATION_FROM_PACKAGE_QNAME
public static final QName REMOVE_ANNOTATION_FROM_PACKAGE_QNAME
-
REMOVE_ANNOTATION_FROM_CLASS_QNAME
public static final QName REMOVE_ANNOTATION_FROM_CLASS_QNAME
-
REMOVE_ANNOTATION_FROM_ELEMENT_QNAME
public static final QName REMOVE_ANNOTATION_FROM_ELEMENT_QNAME
-
REMOVE_ANNOTATION_FROM_ENUM_QNAME
public static final QName REMOVE_ANNOTATION_FROM_ENUM_QNAME
-
REMOVE_ANNOTATION_FROM_ENUM_CONSTANT_QNAME
public static final QName REMOVE_ANNOTATION_FROM_ENUM_CONSTANT_QNAME
-
REMOVE_ANNOTATION_FROM_ENUM_VALUE_METHOD_QNAME
public static final QName REMOVE_ANNOTATION_FROM_ENUM_VALUE_METHOD_QNAME
-
REMOVE_ANNOTATION_FROM_ENUM_FROM_VALUE_METHOD_QNAME
public static final QName REMOVE_ANNOTATION_FROM_ENUM_FROM_VALUE_METHOD_QNAME
-
REMOVE_ANNOTATION_QNAME
public static final QName REMOVE_ANNOTATION_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_GETTER_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_GETTER_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_FIELD_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_FIELD_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_PARAMETER_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PROPERTY_SETTER_PARAMETER_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_PACKAGE_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_PACKAGE_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_CLASS_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_CLASS_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_ELEMENT_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_ELEMENT_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_ENUM_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_ENUM_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_ENUM_CONSTANT_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_ENUM_CONSTANT_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_ENUM_VALUE_METHOD_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_ENUM_VALUE_METHOD_QNAME
-
LEGACY_REMOVE_ANNOTATION_FROM_ENUM_FROM_VALUE_METHOD_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_FROM_ENUM_FROM_VALUE_METHOD_QNAME
-
LEGACY_REMOVE_ANNOTATION_QNAME
public static final QName LEGACY_REMOVE_ANNOTATION_QNAME
-
LEGACY_CUSTOMIZATION_ELEMENT_QNAMES
public static final Set<QName> LEGACY_CUSTOMIZATION_ELEMENT_QNAMES
-
CLASS_ATTRIBUTE_NAME
public static final String CLASS_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
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
-
getDefaultFieldTarget
public String getDefaultFieldTarget()
-
setDefaultFieldTarget
public void setDefaultFieldTarget(String defaultFieldTarget)
-
run
public boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)- Overrides:
runin classAbstractPlugin
-
processElementOutline
protected void processElementOutline(com.sun.tools.xjc.outline.ElementOutline elementOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
-
processEnumOutline
protected void processEnumOutline(com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
-
processClassOutline
protected void processClassOutline(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
-
processFieldOutline
protected void processFieldOutline(com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.outline.FieldOutline fieldOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
-
processEnumConstantOutline
protected void processEnumConstantOutline(com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
-
removeAnnotationFromElementOutline
protected void removeAnnotationFromElementOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.ElementOutline elementOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)
-
removeAnnotationFromEnumOutline
protected void removeAnnotationFromEnumOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.EnumOutline enumOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)
-
removeAnnotationFromEnumConstantOutline
protected void removeAnnotationFromEnumConstantOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.outline.EnumConstantOutline enumConstantOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)
-
removeAnnotationFromClassOutline
protected void removeAnnotationFromClassOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.ClassOutline classOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)
-
removeAnnotationFromFieldOutline
protected void removeAnnotationFromFieldOutline(com.sun.codemodel.JCodeModel codeModel, com.sun.tools.xjc.outline.FieldOutline fieldOutline, com.sun.tools.xjc.model.CCustomizations customizations, ErrorHandler errorHandler)
-
getCustomizationElementNames
public Collection<QName> getCustomizationElementNames()
- Overrides:
getCustomizationElementNamesin classAbstractPlugin
-
-