uk.org.retep.util.xml.jaxb.plugin
Class ImplementsPlugin

java.lang.Object
  extended by com.sun.tools.xjc.Plugin
      extended by uk.org.retep.util.xml.jaxb.AbstractPlugin
          extended by uk.org.retep.util.xml.jaxb.plugin.AbstractInjectionPlugin
              extended by uk.org.retep.util.xml.jaxb.plugin.ImplementsPlugin

@Service(value=RetepPluginLibrary.class)
public class ImplementsPlugin
extends AbstractInjectionPlugin

JAXB plugin that allows a class to implement an arbitary interface

Since:
9.2
Author:
peter
See Also:
http://weblogs.java.net/blog/kohsuke/archive/2007/01/using_maven_jax.html, https://jaxb2-sources.dev.java.net/source/browse/jaxb2-sources/jaxb-ri/xjc/src/com/sun/tools/xjc/addon/at_generated/PluginImpl.java?only_with_tag=HEAD&view=markup

Constructor Summary
ImplementsPlugin()
           
 
Method Summary
protected  void customise(com.sun.tools.xjc.outline.Outline model, com.sun.tools.xjc.Options opt, ErrorHandler errorHandler, com.sun.tools.xjc.outline.ClassOutline co, com.sun.tools.xjc.model.CPluginCustomization c)
           
protected  String getLocalName()
          The localName for the configuration
 String getUsage()
          The useage Strng.
 
Methods inherited from class uk.org.retep.util.xml.jaxb.plugin.AbstractInjectionPlugin
getNameSpace, run
 
Methods inherited from class uk.org.retep.util.xml.jaxb.AbstractPlugin
getCustomizationURIs, getElementText, getOptionName, isCustomizationTagName
 
Methods inherited from class com.sun.tools.xjc.Plugin
onActivated, parseArgument, postProcessModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementsPlugin

public ImplementsPlugin()
Method Detail

getLocalName

protected String getLocalName()
Description copied from class: AbstractPlugin
The localName for the configuration

Specified by:
getLocalName in class AbstractPlugin
Returns:

getUsage

public String getUsage()
Description copied from class: AbstractPlugin
The useage Strng. If this returns null, then the string is not returned as part of the libraries Useage.

Overrides:
getUsage in class AbstractPlugin

customise

protected void customise(com.sun.tools.xjc.outline.Outline model,
                         com.sun.tools.xjc.Options opt,
                         ErrorHandler errorHandler,
                         com.sun.tools.xjc.outline.ClassOutline co,
                         com.sun.tools.xjc.model.CPluginCustomization c)
                  throws SAXException
Specified by:
customise in class AbstractInjectionPlugin
Throws:
SAXException


Copyright © 1998-2009 Retep Development Group. All Rights Reserved.