Examples of renderLiteral()


Examples of edu.stanford.bmir.protege.web.server.render.MarkdownLiteralRenderer.renderLiteral()

    @Test
    public void shouldRenderMarkdown() {
        // Temporary test case until we support markdown properly
        MarkdownLiteralRenderer literalRenderer = new MarkdownLiteralRenderer();
        StringBuilder builder = new StringBuilder();
        literalRenderer.renderLiteral("Title", builder);
        assertThat(builder.toString(), is(equalTo("Title")));
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.