This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: DocBook 4.0: ClassSynopsis
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: DocBook 4.0: ClassSynopsis
- From: Christian Leutloff <leutloff at sundancer dot oche dot de>
- Date: 22 Dec 1999 16:01:19 +0100
- MBOX-Line: From leutloff@sundancer.oche.de Wed Dec 22 16:01:20 1999
- References: <7151-Tue21Dec1999092025-0500-ndw@nwalsh.com>
- Reply-To: docbook at lists dot oasis-open dot org
Norman Walsh <ndw@nwalsh.com> writes:
> If you have any comments, please send them to the list as soon
> as possible. I expect to package up DocBook V4.0beta1 sometime
> next week.
>
> Attached is the new DTD fragment, you will find complete examples
> at http://nwalsh.com/docbook/edbsyn/, including some sample
> instances and stylesheets which format them.
>
> In real life, the attlists will also include local extension
> parameter entities and role attributes.
>
> <!ELEMENT ClassSynopsis - - (Modifier*,
> (ClassName|InterfaceName|ExceptionName)+,
> (ClassSynopsisInfo
> |FieldSynopsis|%method.synop.class;)*)>
I like the definition. But I think that the inheritance is
missing. There is no way to tell what's the name of the parent
class. In C++ these are the class names following the ':' and in Java
the class after the "extends" and "implements" keywords. The latter
word marks that the class will implement the methods of the given
interface names. This is the way for Java to allow only single
inheritance without a(IMHO) any loss of functionality.
Bye
Christian
--
Dipl.-Ing. Christian Leutloff, Aachen, Germany christian@leutloff.de
http://www.oche.de/~leutloff/ leutloff@debian.org
Debian GNU/Linux - http://www.de.debian.org/
PGP signature