|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Question
This type represents a question from an faq style chunk of text. The question does not include the answer
Field Summary | |
static java.lang.String |
INDICATOR
|
static java.lang.String |
TERMINATOR
|
Constructor Summary | |
Question()
|
|
Question(java.lang.String sText)
construct with some text |
Method Summary | |
java.lang.String |
getContents()
|
static boolean |
isQuestion(java.lang.String sText)
checks if this looks like a Question |
void |
loadData(java.lang.String sText)
load data from text |
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)
|
java.lang.String |
printReport()
|
void |
setContents(java.lang.String sContents)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static java.lang.String TERMINATOR
public static java.lang.String INDICATOR
Constructor Detail |
public Question()
public Question(java.lang.String sText)
Method Detail |
public void loadData(java.lang.String sText)
public java.lang.String getContents()
public void setContents(java.lang.String sContents)
public static boolean isQuestion(java.lang.String sText)
public java.lang.String toString()
public java.lang.String printReport()
public java.lang.String printHtml()
public java.lang.String printIndexedHtml(int iIndex)
public java.lang.String printDocBook()
public java.lang.String print()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |