|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.combex.e.edoc.ETag | +--com.combex.e.edoc.ESeeTag
Represents a see also documentation tag. The @see tag can be plain text, or reference a class or member.
Field Summary | |
(package private) EDoc |
myHolder
|
private String |
myLabel
|
(package private) String |
myName
|
private EClassDoc |
myReferencedClass
|
private EMemberDoc |
myReferencedMember
|
private EPackageDoc |
myReferencedPackage
|
(package private) String |
myText
|
private String |
myWhat
what of where#what - i.e. |
private String |
myWhere
where of where#what - i.e. |
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES, serialVersionUID |
Constructor Summary | |
(package private) |
ESeeTag(EDoc holder,
String name,
String text)
|
Method Summary | |
(package private) String[] |
divideAtWhite()
for use by subclasses which have two part tag text. |
private EMemberDoc |
findExecutableMember(String memName,
String[] paramarr,
com.sun.javadoc.ClassDoc referencedClass)
|
private void |
findReferenced(com.sun.javadoc.Doc holder,
EClassDoc containingClass)
Find what is referenced by the see also. |
private com.sun.javadoc.MemberDoc |
findReferencedMethod(String memName,
String[] paramarr,
com.sun.javadoc.ClassDoc referencedClass)
|
com.sun.javadoc.Tag[] |
firstSentenceTags()
Return array of tags for the first sentence in the doc comment text. |
com.sun.javadoc.Tag[] |
inlineTags()
For documentation comment with embedded @link tags, return the array of TagImpls consisting of ESeeTag(s) and text containing ETag(s). |
String |
kind()
Return the kind of this tag. |
String |
label()
Return the label of the see tag. |
String |
name()
Return the name of this tag. |
private void |
parseSeeString(com.sun.javadoc.Doc holder)
parse @see part of comment. |
com.sun.javadoc.SourcePosition |
position()
Need for 1.4 |
String |
qualifiedDocName()
Return the qualified name of this tags' doc item. |
com.sun.javadoc.ClassDoc |
referencedClass()
get the class referenced by the class name part of @see, For instance, if the comment is @see String#startsWith(java.lang.String) . |
String |
referencedClassName()
get the class name part of @see, For instance, if the comment is @see String#startsWith(java.lang.String) . |
com.sun.javadoc.MemberDoc |
referencedMember()
get the member referenced by the prototype part of @see, For instance, if the comment is @see String#startsWith(java.lang.String) . |
String |
referencedMemberName()
get the name of the member referenced by the prototype part of @see, For instance, if the comment is @see String#startsWith(java.lang.String) . |
com.sun.javadoc.PackageDoc |
referencedPackage()
get the package referenced by @see. |
String |
text()
Return the text of this tag, that is, portion beyond tag name. |
String |
toString()
convert this object to a string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String myWhere
private String myWhat
private final EPackageDoc myReferencedPackage
private EClassDoc myReferencedClass
private EMemberDoc myReferencedMember
private String myLabel
final String myText
final String myName
final EDoc myHolder
Constructor Detail |
ESeeTag(EDoc holder, String name, String text)
Method Detail |
public String referencedClassName()
public com.sun.javadoc.PackageDoc referencedPackage()
XXX Bug: Currently, in edoc, this will always return null.
public com.sun.javadoc.ClassDoc referencedClass()
public String referencedMemberName()
public com.sun.javadoc.MemberDoc referencedMember()
private void parseSeeString(com.sun.javadoc.Doc holder)
private void findReferenced(com.sun.javadoc.Doc holder, EClassDoc containingClass)
containingClass
- the class containing the comment containing
the tag. May be null, if, for example, it is a package comment.private com.sun.javadoc.MemberDoc findReferencedMethod(String memName, String[] paramarr, com.sun.javadoc.ClassDoc referencedClass)
private EMemberDoc findExecutableMember(String memName, String[] paramarr, com.sun.javadoc.ClassDoc referencedClass)
public String kind()
kind
in class ETag
public String label()
public String name()
public String text()
String[] divideAtWhite()
public String toString()
toString
in class Object
public com.sun.javadoc.Tag[] inlineTags()
commentlabel
",
where inside the inner braces, the first "Doc" carries exctly the same
syntax as a ESeeTag and the second "commentlabel" is label for the Html
Link, will return an array of ETag(s) with first element as ETag with
comment text "This is an example of inline tags for a documentation
comment" and second element as ESeeTag with referenced class as "Doc"
and the label for the Html Link as "commentlabel".
EParamTag
,
EThrowsTag
public com.sun.javadoc.Tag[] firstSentenceTags()
public String qualifiedDocName()
public com.sun.javadoc.SourcePosition position()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |