|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.xmldoclet.Options
public final class Options
Container for the options for the XML Doclet.
Constructor Summary | |
---|---|
Options()
Creates new options. |
Method Summary | |
---|---|
boolean |
filter(ClassDoc doc)
Filters the included set of classes by checking whether the given class matches all of the specified '-extends', '-implements' and '-annotated' options. |
File |
getDirectory()
Returns the directory where to store the files. |
Charset |
getEncoding()
Returns the charset to use to encode the output. |
String |
getFilename()
Returns the name of the file for single output. |
static int |
getLength(String option)
A JavaDoc option parsing handler. |
com.sun.tools.doclets.Taglet |
getTagletForName(String name)
Returns the taglet instance for the specified tag name. |
boolean |
hasFilter()
Indicates whether these options specify a filter. |
static Options |
toOptions(String[][] options,
DocErrorReporter reporter)
Retrieve the expected options from the given array of options. |
String |
toString()
|
boolean |
useMultipleFiles()
Indicates whether these options should use multiple files. |
boolean |
useSubFolders()
Indicates whether to organise files as subfolders for packages. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Options()
Method Detail |
---|
public boolean useMultipleFiles()
public boolean useSubFolders()
public Charset getEncoding()
public File getDirectory()
public String getFilename()
public com.sun.tools.doclets.Taglet getTagletForName(String name)
name
- The name of the tag.
Taglet
or null
.public boolean hasFilter()
true
if the class must implement or extends or have a specific annotation.
false
otherwise.public boolean filter(ClassDoc doc)
doc
- the class documentation.
true
if the class should be included; false
otherwise.public String toString()
toString
in class Object
public static int getLength(String option)
This one returns the number of arguments required for the given option.
option
- The name of the option.
Doclet.optionLength(String)
public static Options toOptions(String[][] options, DocErrorReporter reporter)
root
- The root object which contains the options to be retrieved.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |