Search in sources :

Example 1 with TextileDocumentBuilder

use of org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder in project mylyn.docs by eclipse.

the class AbstractSaxParserTest method setUp.

@Override
protected void setUp() throws Exception {
    parser = createParser();
    out = new StringWriter();
    builder = new TextileDocumentBuilder(out);
    super.setUp();
}
Also used : TextileDocumentBuilder(org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder) StringWriter(java.io.StringWriter)

Example 2 with TextileDocumentBuilder

use of org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder in project mylyn.docs by eclipse.

the class TextileLanguageDefinitionListTest method textileToTextileRoundTrip.

private String textileToTextileRoundTrip(String testContent) {
    StringWriter out = new StringWriter();
    TextileDocumentBuilder builder = new TextileDocumentBuilder(out);
    parser.setBuilder(builder);
    parser.parse(testContent);
    return out.toString();
}
Also used : TextileDocumentBuilder(org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder) StringWriter(java.io.StringWriter)

Example 3 with TextileDocumentBuilder

use of org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder in project mylyn.docs by eclipse.

the class TextileDocumentBuilderDefinitionListTest method initBuilder.

@Before
public void initBuilder() {
    out = new StringWriter();
    builder = new TextileDocumentBuilder(out);
}
Also used : TextileDocumentBuilder(org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder) StringWriter(java.io.StringWriter) Before(org.junit.Before)

Aggregations

StringWriter (java.io.StringWriter)3 TextileDocumentBuilder (org.eclipse.mylyn.wikitext.textile.internal.TextileDocumentBuilder)3 Before (org.junit.Before)1