Class CodeInjectingPlugin
- java.lang.Object
-
- com.sun.tools.xjc.Plugin
-
- org.jvnet.jaxb2_commons.plugin.AbstractPlugin
-
- org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
-
- org.neuroml.model.injectingplugin.CodeInjectingPlugin
-
public class CodeInjectingPlugin extends org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePluginThis class injects code into NeuroML classes while they're being generated. Its used as a plugin for the xjc ant task. This class is based on an example given here.- Author:
- mschachter
-
-
Constructor Summary
Constructors Constructor Description CodeInjectingPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOptionName()StringgetUsage()booleanrun(com.sun.tools.xjc.outline.Outline model, com.sun.tools.xjc.Options opt, ErrorHandler errorHandler)-
Methods inherited from class org.jvnet.jaxb2_commons.plugin.AbstractParameterizablePlugin
parseArgument
-
-
-
-
Method Detail
-
getOptionName
public String getOptionName()
- Specified by:
getOptionNamein classcom.sun.tools.xjc.Plugin
-
getUsage
public String getUsage()
- Specified by:
getUsagein classcom.sun.tools.xjc.Plugin
-
run
public boolean run(com.sun.tools.xjc.outline.Outline model, com.sun.tools.xjc.Options opt, ErrorHandler errorHandler)- Overrides:
runin classorg.jvnet.jaxb2_commons.plugin.AbstractPlugin
-
-