|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.Plugin
com.sun.tools.xjc.addon.locator.SourceLocationAddOn
public class SourceLocationAddOn
Generates JAXB objects that implement Locatable
.
Constructor Summary | |
---|---|
SourceLocationAddOn()
|
Method Summary | |
---|---|
java.lang.String |
getOptionName()
Gets the option name to turn on this add-on. |
java.lang.String |
getUsage()
Gets the description of this add-on. |
int |
parseArgument(Options opt,
java.lang.String[] args,
int i)
Parses an option args[i] and augment
the opt object appropriately, then return
the number of tokens consumed. |
boolean |
run(Outline outline,
Options opt,
org.xml.sax.ErrorHandler errorHandler)
Run the add-on. |
Methods inherited from class com.sun.tools.xjc.Plugin |
---|
getCustomizationURIs, isCustomizationTagName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceLocationAddOn()
Method Detail |
---|
public java.lang.String getOptionName()
Plugin
getOptionName
in class Plugin
public java.lang.String getUsage()
Plugin
getUsage
in class Plugin
public int parseArgument(Options opt, java.lang.String[] args, int i) throws BadCommandLineException, java.io.IOException
Plugin
args[i]
and augment
the opt
object appropriately, then return
the number of tokens consumed.
The callee doesn't need to recognize the option that the getOptionName method returns.
parseArgument
in class Plugin
BadCommandLineException
- If the option was recognized but there's an error.
java.io.IOException
public boolean run(Outline outline, Options opt, org.xml.sax.ErrorHandler errorHandler)
Plugin
run
in class Plugin
outline
- This object allows access to various generated code.errorHandler
- Errors should be reported to this handler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |