public abstract class WikiRenderer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LINKS_SOURCE |
static String |
LINKS_TRANSLATION |
protected WikiContext |
m_context |
protected WikiDocument |
m_document |
Modifier | Constructor and Description |
---|---|
protected |
WikiRenderer(WikiContext context,
WikiDocument doc)
Create a WikiRenderer.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getString()
Renders and returns the end result.
|
protected WikiContext m_context
protected WikiDocument m_document
public static final String LINKS_TRANSLATION
public static final String LINKS_SOURCE
protected WikiRenderer(WikiContext context, WikiDocument doc)
context
- A WikiContext in which the rendering will take place.doc
- The WikiDocument which shall be rendered.public abstract String getString() throws IOException
IOException
- If rendering fails.Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.