"Aaron M. Renn" <[EMAIL PROTECTED]> writes:
> >Can you show one example of a protected class in the documentation? I
> think
> >that would settle this for good. Paul asserted that there were no
> protected
> >classes in JavaDoc and concluded based on that that Sun didn't intend for
> >protected classes to be part of the public API.
>
> Not an entire class, but there are many, many protected methods and fields.
> Also, there are clear references to "internal" classes. For example,
> java.net.SocketImpl implements and undocumented interface called
> "SocketOptions".
Under 1.2rc1 SocketOptions is a public abstract interface which is
documented.
I've grepped through all of the java/*/* javadoc and can't find an
instance of a protected class. However, there are numerous examples
under the javax.swing hierarchy such as
javax.swing.ToolTipManager.insideTimerAction.
Brian
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------