|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FaqDocument
This type represents a document containing an FAQ or 'frequently asked questions' section although the questions and answers are usually written by a programmer. The document may also contain the listing of the contents of a directory or a 'webdirectory'. A webdirectory is all the links from some other web-page reproduces as a list in the current page. The faq section is indicated by [faq] and [/faq] tags
LinkFolder, FAQ, FaqItem, Question, Answer
Constructor Summary | |
FaqDocument()
|
|
FaqDocument(java.lang.String sText)
|
Method Summary | |
long |
getLoadDuration()
return the number of milliseconds taken to load. |
boolean |
hasFAQ()
is there an faq |
static boolean |
isFaqDocument(java.lang.String sText)
checks if this looks like an FaqDocument but no structure checks will be made now. |
void |
loadData(java.lang.String sText)
parse the document and try to find the component objects in their text representation. |
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 |
printReport()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FaqDocument()
public FaqDocument(java.lang.String sText)
Method Detail |
public long getLoadDuration()
public void loadData(java.lang.String sText)
public static boolean isFaqDocument(java.lang.String sText)
public boolean hasFAQ()
public java.lang.String toString()
public java.lang.String printHtml()
public java.lang.String printDocBook()
public java.lang.String printReport()
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 |