au.edu.archer.archerjaxb
Class ArcherJAXBPlugin

java.lang.Object
  extended by com.sun.tools.xjc.Plugin
      extended by au.edu.archer.archerjaxb.ArcherJAXBPlugin

public class ArcherJAXBPlugin
extends com.sun.tools.xjc.Plugin

This plugin provides a mechanism for applying ManyToOne annotations based on the OneToMany annotation.

Author:
Nigel Sim

Constructor Summary
ArcherJAXBPlugin()
           
 
Method Summary
 java.util.List<java.lang.String> getCustomizationURIs()
           
 java.lang.String getOptionName()
           
 java.lang.String getUsage()
           
 boolean isCustomizationTagName(java.lang.String nsUri, java.lang.String localName)
           
 int parseArgument(com.sun.tools.xjc.Options opt, java.lang.String[] args, int i)
           
 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
onActivated, postProcessModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcherJAXBPlugin

public ArcherJAXBPlugin()
Method Detail

getOptionName

public java.lang.String getOptionName()
Specified by:
getOptionName in class com.sun.tools.xjc.Plugin
See Also:
Plugin.getOptionName()

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in class com.sun.tools.xjc.Plugin
See Also:
Plugin.getUsage()

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 nsUri,
                                      java.lang.String localName)
Overrides:
isCustomizationTagName in class com.sun.tools.xjc.Plugin

parseArgument

public int parseArgument(com.sun.tools.xjc.Options opt,
                         java.lang.String[] args,
                         int i)
                  throws com.sun.tools.xjc.BadCommandLineException,
                         java.io.IOException
Overrides:
parseArgument in class com.sun.tools.xjc.Plugin
Throws:
com.sun.tools.xjc.BadCommandLineException
java.io.IOException

run

public boolean run(com.sun.tools.xjc.outline.Outline outline,
                   com.sun.tools.xjc.Options options,
                   org.xml.sax.ErrorHandler errorHandler)
Specified by:
run in class com.sun.tools.xjc.Plugin
See Also:
Plugin.run(com.sun.tools.xjc.outline.Outline, com.sun.tools.xjc.Options, org.xml.sax.ErrorHandler)


Copyright © 2008 ARCHER - James Cook University. All Rights Reserved.