OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK: class extends superclass


In a DocBook 4.1.2 classynopsis how should one indicate the superclass 
which a class or interface extends? e.g. I have

    <classsynopsis language="Java">
      <ooclass>
        <classname>SAXParserFactory</classname>
        <modifier>public</modifier>
        <modifier>abstract</modifier>
      </ooclass>
</classsynopsis>

I need:

    <classsynopsis language="Java">
      <ooclass>
        <classname>SAXParserFactory</classname>
        <modifier>public</modifier>
        <modifier>abstract</modifier>
       <extends>Object</extends>
      </ooclass>
</classsynopsis>


Is there an element I'm missing somewhere? or would the following work:

    <classsynopsis language="Java">
      <ooclass>
        <modifier>public</modifier>
        <modifier>abstract</modifier>
        <classname>SAXParserFactory</classname>
       <modifier>extends Object</modifier>
      </ooclass>
</classsynopsis>

It's not really a modifier though.

-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|           The XML Bible, 2nd Edition (IDG Books, 2001)             |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:   http://www.cafeaulait.org/     | 
|  Read Cafe con Leche for XML News:  http://www.cafeconleche.org/   |
+----------------------------------+---------------------------------+




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC