org.jvnet.jaxb2_commons.plugin
Class AbstractPlugin

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

public abstract class AbstractPlugin
extends com.sun.tools.xjc.Plugin


Constructor Summary
AbstractPlugin()
           
 
Method Summary
 java.util.Collection<javax.xml.namespace.QName> getCustomizationElementNames()
           
 java.util.List<java.lang.String> getCustomizationURIs()
           
protected  void init(com.sun.tools.xjc.Options options)
           
 boolean isCustomizationTagName(java.lang.String namespaceURI, java.lang.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, org.xml.sax.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
 

Constructor Detail

AbstractPlugin

public AbstractPlugin()
Method Detail

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,
                   org.xml.sax.ErrorHandler errorHandler)
            throws org.xml.sax.SAXException
Specified by:
run in class com.sun.tools.xjc.Plugin
Throws:
org.xml.sax.SAXException

run

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

init

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

getCustomizationElementNames

public java.util.Collection<javax.xml.namespace.QName> getCustomizationElementNames()

getCustomizationURIs

public java.util.List<java.lang.String> getCustomizationURIs()
Overrides:
getCustomizationURIs in class com.sun.tools.xjc.Plugin

isCustomizationTagName

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


Copyright © 2005-2010 Sun Microsystems. All Rights Reserved.