Class AbstractPlugin

java.lang.Object
com.sun.tools.xjc.Plugin
org.jvnet.jaxb2_commons.plugin.AbstractPlugin
Direct Known Subclasses:
AbstractParameterizablePlugin

public abstract class AbstractPlugin extends com.sun.tools.xjc.Plugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.commons.logging.Log
    Plugin logger.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterRun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options)
     
    protected void
    beforeRun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options)
     
     
     
    protected void
    init(com.sun.tools.xjc.Options options)
     
    boolean
    isCustomizationTagName(String namespaceURI, String localName)
     
    void
    onActivated(com.sun.tools.xjc.Options options)
     
    protected boolean
    run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options)
     
    boolean
    run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler)
     

    Methods inherited from class com.sun.tools.xjc.Plugin

    getOptionName, getUsage, parseArgument, postProcessModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected org.apache.commons.logging.Log logger
      Plugin logger.
  • Constructor Details

    • AbstractPlugin

      public AbstractPlugin()
  • Method Details

    • onActivated

      public void onActivated(com.sun.tools.xjc.Options options) throws com.sun.tools.xjc.BadCommandLineException
      Overrides:
      onActivated in class com.sun.tools.xjc.Plugin
      Throws:
      com.sun.tools.xjc.BadCommandLineException
    • run

      public boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options, ErrorHandler errorHandler) throws SAXException
      Specified by:
      run in class com.sun.tools.xjc.Plugin
      Throws:
      SAXException
    • beforeRun

      protected void beforeRun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options) throws Exception
      Throws:
      Exception
    • run

      protected boolean run(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options) throws Exception
      Throws:
      Exception
    • afterRun

      protected void afterRun(com.sun.tools.xjc.outline.Outline outline, com.sun.tools.xjc.Options options) throws Exception
      Throws:
      Exception
    • init

      protected void init(com.sun.tools.xjc.Options options) throws Exception
      Throws:
      Exception
    • getCustomizationElementNames

      public Collection<QName> getCustomizationElementNames()
    • getCustomizationURIs

      public List<String> getCustomizationURIs()
      Overrides:
      getCustomizationURIs in class com.sun.tools.xjc.Plugin
    • isCustomizationTagName

      public boolean isCustomizationTagName(String namespaceURI, String localName)
      Overrides:
      isCustomizationTagName in class com.sun.tools.xjc.Plugin