Class WikiTextPrinter
java.lang.Object
org.getalp.dbnary.wiki.WikiTextPrinter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintContentForest(PrintWriter stream, WikiText.WikiContent content) static voidprintContentForest(WikiText.WikiContent content) static voidPrints a textual representation of the Wiki Document Tree in the given print streamstatic voidPrints a textual representation of the Wiki Document Tree in standard outputstatic voidprintSectionTree(WikiTextPrinter.IndentPrinter printer, WikiText.WikiSection section) static voidprintTextTree(PrintStream out, WikiText text) static voidprintTextTree(WikiText text) static voidprintToken(WikiTextPrinter.IndentPrinter printer, WikiText.Token token)
-
Constructor Details
-
WikiTextPrinter
public WikiTextPrinter()
-
-
Method Details
-
printDocumentTree
Prints a textual representation of the Wiki Document Tree in standard output- Parameters:
doc- the document to be printed out
-
printDocumentTree
Prints a textual representation of the Wiki Document Tree in the given print stream- Parameters:
out- the print stream to print intodoc- the document to be printed out
-
printTextTree
-
printTextTree
-
printContentForest
-
printContentForest
-
printToken
-
printSectionTree
public static void printSectionTree(WikiTextPrinter.IndentPrinter printer, WikiText.WikiSection section)
-