public abstract class AbstractMarkupRenderCallback<T extends RenderContext> extends AbstractRenderCallback<T>
Constructor and Description |
---|
AbstractMarkupRenderCallback(Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected void |
endElement(String name) |
boolean |
getFormatOutput() |
int |
getIndent() |
char |
getIndentCharacter() |
int |
getIndentSize() |
protected PrintWriter |
getWriter() |
void |
setFormatOutput(boolean formatOutput) |
void |
setIndent(int indent) |
void |
setIndentCharacter(char indentCharacter) |
void |
setIndentSize(int indentSize) |
protected void |
startElement(String name,
Map<String,String> attributes) |
protected void |
writeAttribute(String attributeName,
String attributeValue) |
protected void |
writeContent(String content) |
protected void |
writeIndent() |
endRender, getContentType, getRenderPropertyUtils, restoreSettings, restoreState, saveSettings, saveState, startRender
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderCommands, renderContent
public AbstractMarkupRenderCallback(Writer writer)
writer
- protected PrintWriter getWriter()
public boolean getFormatOutput()
public void setFormatOutput(boolean formatOutput)
formatOutput
- the formatOutput to setpublic int getIndent()
public void setIndent(int indent)
indent
- the indent to setpublic int getIndentSize()
public void setIndentSize(int indentSize)
indentSize
- the indentSize to setpublic char getIndentCharacter()
public void setIndentCharacter(char indentCharacter)
indentCharacter
- the indentCharacter to setprotected void writeIndent()
protected void startElement(String name, Map<String,String> attributes)
name
- attributes
- protected void writeAttribute(String attributeName, String attributeValue)
attributeName
- attributeValue
- protected void writeContent(String content)
content
- protected void endElement(String name)
name
- Copyright © 2012–2013 Eyeq MC. All rights reserved.