|
|||||||||||
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.EProgramElementDoc | +--com.combex.e.edoc.EClassDoc
Field Summary | |
private static int |
ERROR
|
private static int |
EXCEPTION
|
private static int |
EXTERNALIZABLE
|
private static int |
INTERFACE
|
private List |
myConstructors
|
(package private) EClassDoc |
myContainingClass
|
(package private) EPackageDoc |
myContainingPackage
|
private List |
myFields
|
private List |
myImportedClasses
|
private List |
myImportedPackages
|
private List |
myInnerClasses
|
private EClassDoc[] |
myInterfaces
|
(package private) boolean |
myIsIncluded
|
private int |
myKind
|
(package private) List |
myMethods
|
(package private) int |
myModifiers
|
(package private) String |
myName
|
(package private) String |
myQualifier
|
private int |
mySerializationKind
|
private ESerializedForm |
mySerializedForm
|
private EClassDoc |
mySuperclass
|
private static int |
NOT_SERIALIZABLE
|
private static int |
ORDINARY_CLASS
|
private static int |
SERIALIZABLE
|
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES, serialVersionUID |
Constructor Summary | |
EClassDoc(EDocBuilder builder,
com.sun.javadoc.ClassDoc classDoc)
|
Method Summary | |
com.sun.javadoc.ClassDoc |
asClassDoc()
Return this type as a class. |
(package private) boolean |
checkAccess()
Hook so we can allow unfiltered access, with a yet to be determined API addition. |
(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.ConstructorDoc[] |
constructors()
Return constructors in class. |
com.sun.javadoc.ClassDoc |
containingClass()
Get the containing class of this program element. |
com.sun.javadoc.PackageDoc |
containingPackage()
Return the package that this class is contained in. |
boolean |
definesSerializableFields()
Return true if Serializable fields are explicitly defined with the special class member serialPersistentFields. |
String |
dimension()
Return the type's dimension information, as a string. |
com.sun.javadoc.FieldDoc[] |
fields()
Return fields in class. |
com.sun.javadoc.ClassDoc |
findClass(String className)
Find a class within the context of this class. |
EConstructorDoc |
findConstructor(String constrName,
String[] paramTypeArray)
Find constructor in this class. |
EFieldDoc |
findField(String fieldName)
|
EMethodDoc |
findMethod(java.lang.reflect.Method method)
|
EMethodDoc |
findMethod(String methodName,
String[] paramTypeArray)
|
com.sun.javadoc.Tag[] |
firstSentenceTags()
|
(package private) java.text.CollationKey |
generateKey()
generate a key for sorting. |
String |
getRawCommentText()
Return the full unprocessed text of the comment. |
com.sun.javadoc.ClassDoc[] |
implementedInterfaces()
Deprecated. Use interfaces() - this method will go away by
FCS. |
com.sun.javadoc.ClassDoc[] |
importedClasses()
Get the list of classes declared as imported. |
com.sun.javadoc.PackageDoc[] |
importedPackages()
Get the list of packages declared as imported. |
com.sun.javadoc.Tag[] |
inlineTags()
|
com.sun.javadoc.ClassDoc[] |
innerClasses()
Return inner classes within this class. |
com.sun.javadoc.ClassDoc[] |
interfaces()
Return interfaces implemented by this class or interfaces extended by this interface. |
boolean |
isAbstract()
Return true if this class is abstract |
boolean |
isClass()
return true if this is a class, not an interface. |
boolean |
isConstructor()
Is this Doc item a constructor? False until overridden. |
boolean |
isError()
Return true if this is an error class |
boolean |
isException()
Return true if this is an exception class |
boolean |
isExternalizable()
Return true if this class implements java.io.Externalizable. |
boolean |
isField()
Is this Doc item a field? False until overridden. |
boolean |
isFinal()
Return true if this program element is final |
boolean |
isIncluded()
return true if this class is included in the active set. |
boolean |
isInterface()
Return true if this is an interface. |
boolean |
isMethod()
Is this Doc item a simple method (i.e. |
boolean |
isOrdinaryClass()
Return true if this is a ordinary class, not an exception, an error, or an interface. |
boolean |
isPackagePrivate()
Return true if this program element is package private |
boolean |
isPrivate()
Return true if this program element is private |
boolean |
isProtected()
Return true if this program element is protected |
boolean |
isPublic()
Return true if this program element is public |
boolean |
isSerializable()
Return true if this class implements java.io.Serializable. |
boolean |
isStatic()
Return true if this program element is static |
(package private) java.text.CollationKey |
key()
return a key for sorting. |
static ArrayList |
list(Object[] array)
|
com.sun.javadoc.MethodDoc[] |
methods()
Return methods in class. |
String |
modifiers()
Return the modifier string for this class. |
int |
modifierSpecifier()
Get the modifier specifier integer. |
String |
name()
Return the class name without qualifier as a String. |
com.sun.javadoc.SourcePosition |
position()
Need for 1.4 |
String |
qualifiedName()
Return the qualified class name as a String. |
String |
qualifiedTypeName()
Return qualified name of type excluding any dimension information. |
(package private) String |
readHTMLDocumentation(InputStream input,
String filename)
Utility for subclasses which read HTML documentation files. |
private EFieldDoc |
searchField(String fieldName,
Set searchedClassSet)
Find a field in this class scope. |
private EMethodDoc |
searchMethod(String methodName,
String[] paramTypeArray,
Set searchedClassSet)
Find a method in this class scope. |
com.sun.javadoc.SeeTag[] |
seeTags()
Return the see also tags in this Doc item. |
com.sun.javadoc.FieldDoc[] |
serializableFields()
Return the Serializable fields of class. |
com.sun.javadoc.MethodDoc[] |
serializationMethods()
Return the serialization methods for this class. |
void |
setRawCommentText(String rawDocumentation)
Set the full unprocessed text of the comment. |
boolean |
subclassOf(com.sun.javadoc.ClassDoc cd)
Test whether this class is a subclass of the specified class. |
com.sun.javadoc.ClassDoc |
superclass()
Return the superclass of this class |
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 the class. |
String |
typeName()
Return unqualified name of type excluding any dimension information. |
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 final int NOT_SERIALIZABLE
private static final int SERIALIZABLE
private static final int EXTERNALIZABLE
private static final int INTERFACE
private static final int ORDINARY_CLASS
private static final int EXCEPTION
private static final int ERROR
private final int myKind
final String myQualifier
final String myName
private final EClassDoc mySuperclass
final EPackageDoc myContainingPackage
private final List myFields
final List myMethods
private final List myConstructors
private final List myInnerClasses
private final EClassDoc[] myInterfaces
private final List myImportedClasses
private final List myImportedPackages
boolean myIsIncluded
private final ESerializedForm mySerializedForm
private final int mySerializationKind
final int myModifiers
final EClassDoc myContainingClass
Constructor Detail |
public EClassDoc(EDocBuilder builder, com.sun.javadoc.ClassDoc classDoc)
Method Detail |
public boolean isSerializable()
public boolean isExternalizable()
public com.sun.javadoc.MethodDoc[] serializationMethods()
public com.sun.javadoc.FieldDoc[] serializableFields()
Return either a list of default fields documented by
serial tag
or return a single FieldDoc for
serialPersistentField member.
There should be a serialField tag for
each Serializable field defined by an ObjectStreamField
array component of serialPersistentField.
definesSerializableFields()
,
ESerialFieldTag
public boolean definesSerializableFields()
serializableFields()
,
ESerialFieldTag
public boolean isClass()
isClass
in class EDoc
public boolean isOrdinaryClass()
isOrdinaryClass
in class EDoc
public boolean isInterface()
isInterface
in class EDoc
public boolean isException()
isException
in class EDoc
public boolean isError()
isError
in class EDoc
public boolean isAbstract()
public boolean isIncluded()
isIncluded
in class EDoc
public com.sun.javadoc.PackageDoc containingPackage()
public String name()
Example: for java.util.Hashtable return Hashtable
name
in class EDoc
public String typeName()
For example, a two dimensional array of String returns 'String'.
public String qualifiedName()
Example: for java.util.Hashtable return java.util.Hashtable if no qualifier, just return flat name
public String qualifiedTypeName()
For example, a two dimensional array of String returns 'java.lang.String'.
public String modifiers()
modifiers
in class EProgramElementDoc
public com.sun.javadoc.ClassDoc superclass()
public boolean subclassOf(com.sun.javadoc.ClassDoc cd)
cd
- the candidate superclass.
public com.sun.javadoc.ClassDoc[] interfaces()
public com.sun.javadoc.ClassDoc[] implementedInterfaces()
interfaces()
- this method will go away by
FCS.
public com.sun.javadoc.FieldDoc[] fields()
public com.sun.javadoc.MethodDoc[] methods()
public com.sun.javadoc.ConstructorDoc[] constructors()
public com.sun.javadoc.ClassDoc[] innerClasses()
public com.sun.javadoc.ClassDoc findClass(String className)
public EMethodDoc findMethod(String methodName, String[] paramTypeArray)
public EMethodDoc findMethod(java.lang.reflect.Method method)
private EMethodDoc searchMethod(String methodName, String[] paramTypeArray, Set searchedClassSet)
methodName
- the unqualified name to search for.paramTypeArray
- the array of Strings for method parameter types.searchedClassSet
- the set of classes which are searched for
methodName.
public EConstructorDoc findConstructor(String constrName, String[] paramTypeArray)
constrName
- the unqualified name to search for.paramTypeArray
- the array of Strings for constructor parameters.
public EFieldDoc findField(String fieldName)
private EFieldDoc searchField(String fieldName, Set searchedClassSet)
fieldName
- the unqualified name to search for.searchedClassSet
- the set of classes which are searched for
fieldName.
public com.sun.javadoc.ClassDoc[] importedClasses()
public com.sun.javadoc.PackageDoc[] importedPackages()
EClassDoc thisClassDocImpl()
thisClassDocImpl
in class EDoc
public String dimension()
For example, a two dimensional array of String returns '[][]'.
In EClassDoc so that it implements TypeDoc interface, always returns empty string.
public com.sun.javadoc.ClassDoc asClassDoc()
In EClassDoc so that it implements TypeDoc interface, always returns this.
public String toString()
toString
in class EDoc
public com.sun.javadoc.ClassDoc containingClass()
public int modifierSpecifier()
java.lang.reflect.Modifier
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public boolean isPackagePrivate()
public boolean isStatic()
public boolean isFinal()
public static ArrayList list(Object[] array)
EComment comment()
boolean checkAccess()
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)
java.text.CollationKey key()
java.text.CollationKey generateKey()
default is toString();
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 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 |