|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--attrib4j.AttributeDoclet
A Doclet that emulates (in a post-processing step) the attribute declarations supported by C# and other .NET compilers. It is run over an already-compiled class, using the -doclet option of the javadoc tool; it parses the source, extracts javadoc-style comments of the tag "@attribute", and uses IBM CFParse or Jakarta's BCEL byte code library to insert custom attributes into the compiled .class file metadata. These attributes can later be extracted at runtime.
Constructor Summary | |
AttributeDoclet()
|
Method Summary | |
static int |
optionLength(java.lang.String option)
API called by javadoc to determine argument counts on javadoc command-line. |
static boolean |
start(com.sun.javadoc.RootDoc root)
Entry point for the Doclet when invoked from javadoc. |
static boolean |
validOptions(java.lang.String[][] options,
com.sun.javadoc.DocErrorReporter reporter)
API called by javadoc to validate arguments on javadoc command-line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeDoclet()
Method Detail |
public static boolean start(com.sun.javadoc.RootDoc root)
root
- a value of type 'RootDoc'
public static int optionLength(java.lang.String option)
option
- a value of type 'String'
public static boolean validOptions(java.lang.String[][] options, com.sun.javadoc.DocErrorReporter reporter)
options
- the incoming command line args from javadoc command linereporter
- a value of type 'DocErrorReporter'
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |