|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.Plugin
uk.org.retep.util.xml.jaxb.AbstractPlugin
public abstract class AbstractPlugin
Abstract JAXB Plugin for use with JAXBPluginLibrary
http://weblogs.java.net/blog/kohsuke/archive/2005/06/writing_a_plugi.html,
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 | |
|---|---|
AbstractPlugin()
|
|
| Method Summary | |
|---|---|
List<String> |
getCustomizationURIs()
|
protected static String |
getElementText(Element element)
Utility method to return the Element's text without importing DOMUtils from jaxb - allowing us to also use our own DOMUtils class |
protected abstract String |
getLocalName()
The localName for the configuration |
protected abstract String |
getNameSpace()
The nameSpace for the plugin. |
String |
getOptionName()
The option name - defaults to "retep-" + getLocalName(); |
String |
getUsage()
The useage Strng. |
boolean |
isCustomizationTagName(String nsUri,
String localName)
|
| Methods inherited from class com.sun.tools.xjc.Plugin |
|---|
onActivated, parseArgument, postProcessModel, run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPlugin()
| Method Detail |
|---|
protected abstract String getNameSpace()
RetepPluginLibrary.NSpublic final List<String> getCustomizationURIs()
getCustomizationURIs in class com.sun.tools.xjc.Pluginprotected abstract String getLocalName()
public String getOptionName()
getOptionName in class com.sun.tools.xjc.PlugingetLocalName()public String getUsage()
getUsage in class com.sun.tools.xjc.Plugin
public final boolean isCustomizationTagName(String nsUri,
String localName)
isCustomizationTagName in class com.sun.tools.xjc.Pluginprotected static String getElementText(Element element)
element - Element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||