|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.combex.e.edoc.EDoc | +--com.combex.e.edoc.ERootDoc
Field Summary | |
(package private) static Locale |
locale
The locale to be used. |
private static String |
localeName
The locale name will be set by Main, if option is provided on the command line. |
private EClassDoc[] |
myClassesCache
A cached list of all the classes to be documented. |
private List |
myCmdLineClasses
list of classes specified on the command line. |
private List |
myCmdLinePackages
list of packages specified on the command line. |
private ConstMap |
myDocBySigCache
A cached map from type signatures to
EClassDocs. |
(package private) List |
myOptions
a collection of all options. |
private static java.text.Collator |
TheCollator
The TheCollator for this application. |
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES, serialVersionUID |
Constructor Summary | |
ERootDoc(EDocBuilder builder,
com.sun.javadoc.RootDoc rootDoc)
|
Method Summary | |
(package private) boolean |
checkAccess()
Hook so we can allow unfiltered access, with a yet to be determined API change. |
com.sun.javadoc.ClassDoc[] |
classes()
classes and interfaces to be documented. |
com.sun.javadoc.ClassDoc |
classNamed(String qualifiedName)
Return a EClassDoc for the specified class/interface name |
(package private) EComment |
comment()
For lazy initialization of comment. |
String |
commentText()
Return the text of the comment for this doc item. |
int |
compareTo(Object obj)
Compares this Object with the specified Object for order. |
com.sun.javadoc.Tag[] |
firstSentenceTags()
|
(package private) java.text.CollationKey |
generateKey()
generate a key for sorting. |
(package private) static java.text.Collator |
GetCollator()
|
private ConstMap |
getDocBySigMap()
Returns a map from type signatures to
EClassDocs. |
EType |
getETypeFromSig(String sig)
Convert from a type signature to an
EType. |
(package private) static Locale |
getLocale()
Get the locale if specified on the command line else return null and if locale option is not used then return default locale. |
String |
getRawCommentText()
Return the full unprocessed text of the comment. |
com.sun.javadoc.Tag[] |
inlineTags()
|
void |
invalidateClassesCache()
|
boolean |
isClass()
Is this Doc item a class. |
boolean |
isConstructor()
Is this Doc item a constructor? False until overridden. |
boolean |
isError()
Is this Doc item a error class? False until overridden. |
boolean |
isException()
Is this Doc item a exception class? False until overridden. |
boolean |
isField()
Is this Doc item a field? False until overridden. |
boolean |
isIncluded()
return true if this Doc is included in the active set. |
boolean |
isInterface()
Is this Doc item a interface? False until overridden. |
boolean |
isMethod()
Is this Doc item a simple method (i.e. |
boolean |
isOrdinaryClass()
Is this Doc item a ordinary class (i.e. |
(package private) java.text.CollationKey |
key()
return a key for sorting. |
static ArrayList |
list(Object[] array)
|
String |
name()
Return the name of this Doc item. |
String[][] |
options()
Command line options. |
(package private) static String[][] |
options(List optsList)
|
com.sun.javadoc.PackageDoc |
packageNamed(String name)
Return a PackageDoc for the specified package name |
com.sun.javadoc.SourcePosition |
position()
Need for 1.4 |
void |
printError(com.sun.javadoc.SourcePosition sourcePosition,
String s)
Need for 1.4 |
void |
printError(String msg)
Print error message, increment error count. |
void |
printNotice(com.sun.javadoc.SourcePosition sourcePosition,
String s)
Need for 1.4 |
void |
printNotice(String msg)
Print a message. |
void |
printWarning(com.sun.javadoc.SourcePosition sourcePosition,
String s)
Need for 1.4 |
void |
printWarning(String msg)
Print warning message, increment warning count. |
(package private) String |
readHTMLDocumentation(InputStream input,
String filename)
Utility for subclasses which read HTML documentation files. |
(package private) static Locale |
searchLocale(String language,
String country,
String variant)
Search the locale for specified language, specified country and specified variant. |
com.sun.javadoc.SeeTag[] |
seeTags()
Return the see also tags in this Doc item. |
(package private) static void |
setLocale()
|
(package private) static void |
setLocale(String localename)
Set the locale for the application. |
void |
setRawCommentText(String rawDocumentation)
Set the full unprocessed text of the comment. |
com.sun.javadoc.ClassDoc[] |
specifiedClasses()
classes and interfaces specified on the command line. |
com.sun.javadoc.PackageDoc[] |
specifiedPackages()
packages specified on the command line. |
com.sun.javadoc.Tag[] |
tags()
Return all tags in this Doc item. |
com.sun.javadoc.Tag[] |
tags(String tagname)
Return tags of the specified kind in this Doc item. |
(package private) EClassDoc |
thisClassDocImpl()
|
(package private) String |
toQualifiedString()
Returns the qualified string representation of this Doc item. |
String |
toString()
Returns a string representation of this Doc item. |
static EDoc[] |
visible(List list,
Class memType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Field Detail |
private static java.text.Collator TheCollator
static Locale locale
private static String localeName
private final List myCmdLineClasses
private final List myCmdLinePackages
final List myOptions
private transient EClassDoc[] myClassesCache
private transient ConstMap myDocBySigCache
signatures
to
EClassDocs.
Constructor Detail |
public ERootDoc(EDocBuilder builder, com.sun.javadoc.RootDoc rootDoc)
Method Detail |
static void setLocale(String localename)
static void setLocale()
static java.text.Collator GetCollator()
static Locale getLocale()
static Locale searchLocale(String language, String country, String variant)
boolean checkAccess()
checkAccess
in class EDoc
public String[][] options()
For example, given: javadoc -foo this that -bar other ... This method will return: options()[0][0] = "-foo" options()[0][1] = "this" options()[0][2] = "that" options()[1][0] = "-bar" options()[1][1] = "other"
static String[][] options(List optsList)
public com.sun.javadoc.PackageDoc[] specifiedPackages()
public com.sun.javadoc.ClassDoc[] specifiedClasses()
public void invalidateClassesCache()
public com.sun.javadoc.ClassDoc[] classes()
Computed once and cached, then returned from cache until cache is
invalidated. This isn't done automatically. Rather, the client of this
data structure must call invalidateClassesCache()
between
performing an operation that invalidates this cache and one that uses
this cache. These operations are classes()
,
getDocBySigMap()
, and getETypeFromSig(java.lang.String)
.
private ConstMap getDocBySigMap()
signatures
to
EClassDocs.
Depends on the cache being valid.
invalidateClassesCache()
public EType getETypeFromSig(String sig)
signature
to an
EType.
Depends on the cache being valid.
invalidateClassesCache()
public String name()
name
in class EDoc
public com.sun.javadoc.PackageDoc packageNamed(String name)
name
- package name
public com.sun.javadoc.ClassDoc classNamed(String qualifiedName)
qualifiedName
- qualified class name
(i.e. includes package name).
public boolean isIncluded()
isIncluded
in class EDoc
public void printError(String msg)
msg
- message to printpublic void printWarning(String msg)
msg
- message to printpublic void printNotice(String msg)
msg
- message to printpublic void printError(com.sun.javadoc.SourcePosition sourcePosition, String s)
public void printWarning(com.sun.javadoc.SourcePosition sourcePosition, String s)
public void printNotice(com.sun.javadoc.SourcePosition sourcePosition, String s)
public static ArrayList list(Object[] array)
EComment comment()
public String commentText()
public com.sun.javadoc.Tag[] tags()
public com.sun.javadoc.Tag[] tags(String tagname)
tagname
- name of the tag kind to search for.
public com.sun.javadoc.SeeTag[] seeTags()
public com.sun.javadoc.Tag[] inlineTags()
public com.sun.javadoc.Tag[] firstSentenceTags()
String readHTMLDocumentation(InputStream input, String filename) throws IOException
IOException
public String getRawCommentText()
public void setRawCommentText(String rawDocumentation)
EClassDoc thisClassDocImpl()
java.text.CollationKey key()
java.text.CollationKey generateKey()
default is toString();
public String toString()
toString
in class Object
String toQualifiedString()
public int compareTo(Object obj)
Included so that Doc item are java.lang.Comparable.
compareTo
in interface Comparable
obj
- the Object to be compared.
ClassCastException
- the specified Object's type prevents it
from being compared to this Object.public boolean isField()
public boolean isMethod()
public boolean isConstructor()
public boolean isInterface()
public boolean isException()
public boolean isError()
public boolean isOrdinaryClass()
public boolean isClass()
public static EDoc[] visible(List list, Class memType)
public com.sun.javadoc.SourcePosition position()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |