This discussion is archived
7 Replies Latest reply: Oct 7, 2009 9:20 PM by 843810 RSS

Javadoc taglets question.

843810 Newbie
Currently Being Moderated
Compared to, say, the javadoc webpages
which are the code dictionary for the SE JDK,

There isn't earnly as many active links
to methods,fields, and custructors elsewhere
in the javadoc.

There doesn't seem to be a way to hyperlink
the autoinformation generated, such
as the default inherited fields
in the case of a supclass.

Is there a way, when using the javadoc tool,
to code for all this?
  • 1. Re: Javadoc taglets question.
    EJP Guru
    Currently Being Moderated
    elsewhere in the javadoc.
    such as where exactly?
    There doesn't seem to be a way to hyperlink
    the autoinformation generated, such
    as the default inherited fields
    in the case of a superclass.
    I don't understand. Javadoc generates precisely that information.

    What exactly are you trying to do?
  • 2. Re: Javadoc taglets question.
    843810 Newbie
    Currently Being Moderated
    If for example, you examine some
    javadoc we can both see,
    such as this internet web page,
    the String class:

    [http://life.csu.edu.au/java-doc/api/java/lang/String.html|http://life.csu.edu.au/java-doc/api/java/lang/String.html]

    There is a link for java.lang.object.

    In the method summary area, certain return types also
    exist as links to the appropriate class pages.

    It is also usually the case that past this,
    there is a list of inherited fields and methods.
    These are also links, to their appropriate pages.

    I have gone through the javadoc tutorial,
    and don't see anything that I can put,
    in terms of javadoc .java source code taglets,
    to produce these results in
    "javadoc -private MyCode.java".

    Does anyone have any ideas on this?
  • 3. Re: Javadoc taglets question.
    EJP Guru
    Currently Being Moderated
    I don't understand why you need it. Javadoc produces that automatically. Taglets are for adding tags.

    Do you want me to move this thread to the Javadoc forum?
  • 4. Re: Javadoc taglets question.
    843810 Newbie
    Currently Being Moderated
    Yes, I would like this thread moved to the javadoc area.

    As per my discussion:
    I am looking for a way to activate all the links
    in my javadoc pages, without resorting
    to manually changing the html.
  • 5. Re: Javadoc taglets question.
    EJP Guru
    Currently Being Moderated
    That's what the -link and -linkoffline options are for. Example: -link "http://java.sun.com/javase/6/docs/api".
  • 6. This Thread is now moved
    EJP Guru
    Currently Being Moderated
    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.
  • 7. Re: This Thread is now moved
    843810 Newbie
    Currently Being Moderated
    Yes indeed,

    this is the answer I have been after!

    :)