Class Footnote

java.lang.Object
  extended byFootnote

public class Footnote
extends java.lang.Object

This class represents one question and answer pair from a set of questions and answers. Possibly there will not actually be an answer. This appears to be working under jvm1.1

See Also:
...

Field Summary
static java.lang.String INDICATOR
           
static java.lang.String TERMINATOR
           
 
Constructor Summary
Footnote()
           
Footnote(java.lang.String sText)
           
 
Method Summary
 FootnoteContents getFootnoteContents()
           
 FootnoteID getFootnoteID()
           
 boolean hasFootnoteContents()
          checks if there is an anwer
static boolean isFootnote(java.lang.String sText)
          checks if this looks like an Footnote
 void loadData(java.lang.String sText)
           
static void main(java.lang.String[] args)
          a main method for testing
 java.lang.String print()
           
 java.lang.String printDocBook()
           
 java.lang.String printHtml()
           
 java.lang.String printIndexedHtml(int iIndex)
          prints html suitable for an indexed faq document.
 java.lang.String printReport()
           
 void setFootnoteContents(java.lang.String sText)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INDICATOR

public static java.lang.String INDICATOR

TERMINATOR

public static java.lang.String TERMINATOR
Constructor Detail

Footnote

public Footnote()

Footnote

public Footnote(java.lang.String sText)
Method Detail

getFootnoteID

public FootnoteID getFootnoteID()

getFootnoteContents

public FootnoteContents getFootnoteContents()

setFootnoteContents

public void setFootnoteContents(java.lang.String sText)

loadData

public void loadData(java.lang.String sText)

isFootnote

public static boolean isFootnote(java.lang.String sText)
checks if this looks like an Footnote


hasFootnoteContents

public boolean hasFootnoteContents()
checks if there is an anwer


toString

public java.lang.String toString()

printHtml

public java.lang.String printHtml()

printIndexedHtml

public java.lang.String printIndexedHtml(int iIndex)
prints html suitable for an indexed faq document. An index is a list of the FootnoteIDs at the top of the faq.


printDocBook

public java.lang.String printDocBook()

printReport

public java.lang.String printReport()

print

public java.lang.String print()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
a main method for testing

Throws:
java.lang.Exception