public class SinkTestDocument extends Object
Modifier and Type | Method and Description |
---|---|
static void |
generate(Sink sink)
Dumps a full model that mimics aptconvert's test.apt,
into the specified sink.
|
static void |
generateAnchors(Sink sink)
Dumps a paragraph with anchor and link elements
into the specified sink.
|
static void |
generateDefinitionList(Sink sink)
Dumps a definition list into the specified sink.
|
static void |
generateFigure(Sink sink)
Dumps a figure with figure caption into the specified sink.
|
static void |
generateFonts(Sink sink)
Dumps a paragraph with italic, bold and monospaced text
into the specified sink.
|
static void |
generateHead(Sink sink)
Dumps a header with title, author and date elements
into the specified sink.
|
static void |
generateHeaderTable(Sink sink)
Dumps a table with a header row into the specified sink.
|
static void |
generateHorizontalRule(Sink sink)
Dumps a horizontal rule block into the specified sink.
|
static void |
generateLineBreak(Sink sink)
Dumps a lineBreak block into the specified sink.
|
static void |
generateList(Sink sink)
Dumps a list into the specified sink.
|
static void |
generateNoGridTable(Sink sink)
Dumps a table without grid into the specified sink.
|
static void |
generateNonBreakingSpace(Sink sink)
Dumps a nonBreakingSpace block into the specified sink.
|
static void |
generateNumberedList(Sink sink)
Dumps a numbered list into the specified sink.
|
static void |
generatePageBreak(Sink sink)
Dumps a pageBreak block into the specified sink.
|
static void |
generateSpecialCharacters(Sink sink)
Dumps a special character block into the specified sink.
|
static void |
generateTable(Sink sink)
Dumps a table with grid and caption into the specified sink.
|
public static void generate(Sink sink)
sink
- The sink to receive the events.public static void generateHead(Sink sink)
sink
- The sink to receive the events.public static void generateList(Sink sink)
sink
- The sink to receive the events.public static void generateNumberedList(Sink sink)
sink
- The sink to receive the events.public static void generateDefinitionList(Sink sink)
sink
- The sink to receive the events.public static void generateFigure(Sink sink)
sink
- The sink to receive the events.public static void generateTable(Sink sink)
sink
- The sink to receive the events.public static void generateNoGridTable(Sink sink)
sink
- The sink to receive the events.public static void generateHeaderTable(Sink sink)
sink
- The sink to receive the events.public static void generateFonts(Sink sink)
sink
- The sink to receive the events.public static void generateAnchors(Sink sink)
sink
- The sink to receive the events.public static void generateHorizontalRule(Sink sink)
sink
- The sink to receive the events.public static void generatePageBreak(Sink sink)
sink
- The sink to receive the events.public static void generateLineBreak(Sink sink)
sink
- The sink to receive the events.public static void generateNonBreakingSpace(Sink sink)
sink
- The sink to receive the events.public static void generateSpecialCharacters(Sink sink)
sink
- The sink to receive the events.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.