Hi. All, I try to generate the javadoc of my own class and encounter some problem.
/** * Converts to a string represents the data in this object, a emtpty string * ("") will return as default value if the object is <code>null</code> * .</p> * @param object the object to check may be <code>null</code>. * @return Same value as invoke toString of the passed object if it is * <code>not null</code>, else the empty String will return * @see suncertify.utility.Utility#defaultString(java.lang.String) * @see String#toString(Object) */
for the 1st one it works fine. but I want to make the second one avaliable, like most 3rd party provider do. and how? since I only got a common text for the 2nd @see?
SCJP 1.4<br />SCWCD 1.3<br />SCJD<br />SCBCD<br />IBM Xml Cert in progress
You must use fully qualified classnames for all classes you want linked, else the javadoc compiler can't create the links. So putting in java.lang.String and java.lang.Object should probably do the trick.
Mind I'm no Javadoc expert, maybe an extra step is required to link to entries in external javadoc packages.
Joined: Jul 20, 2004
I have already found the answer, the syntax is correct, the java.lang is not necessay, as the convention of java all those package will be introduced automatically, the root cause is the version of jdk, I use the jdk 1.4.1 before, seems it is stale, I upgrade it to 1.4.2_07 all the things became perfect.