public abstract class AbstractGeneralTemplateWriter extends Object implements ITemplateWriter
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGeneralTemplateWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
shouldWriteXmlDeclaration() |
protected abstract boolean |
useXhtmlTagMinimizationRules() |
void |
write(Arguments arguments,
Writer writer,
Document document) |
protected void |
writeCDATASection(Arguments arguments,
Writer writer,
CDATASection cdataSection) |
protected void |
writeComment(Arguments arguments,
Writer writer,
Comment comment) |
protected void |
writeDocType(Arguments arguments,
Writer writer,
DocType docType) |
protected void |
writeDocument(Arguments arguments,
Writer writer,
Document document) |
protected void |
writeElement(Arguments arguments,
Writer writer,
Element element) |
protected void |
writeGroupNode(Arguments arguments,
Writer writer,
GroupNode groupNode) |
protected void |
writeMacro(Arguments arguments,
Writer writer,
Macro macro) |
void |
writeNode(Arguments arguments,
Writer writer,
Node node) |
protected void |
writeText(Arguments arguments,
Writer writer,
Text text) |
protected void |
writeXmlDeclaration(Writer writer,
Document document) |
public void write(Arguments arguments, Writer writer, Document document) throws IOException
write in interface ITemplateWriterIOExceptionprotected abstract boolean shouldWriteXmlDeclaration()
protected abstract boolean useXhtmlTagMinimizationRules()
protected void writeDocument(Arguments arguments, Writer writer, Document document) throws IOException
IOExceptionprotected void writeXmlDeclaration(Writer writer, Document document) throws IOException
IOExceptionprotected void writeDocType(Arguments arguments, Writer writer, DocType docType) throws IOException
IOExceptionpublic void writeNode(Arguments arguments, Writer writer, Node node) throws IOException
IOExceptionprotected void writeGroupNode(Arguments arguments, Writer writer, GroupNode groupNode) throws IOException
IOExceptionprotected void writeElement(Arguments arguments, Writer writer, Element element) throws IOException
IOExceptionprotected void writeCDATASection(Arguments arguments, Writer writer, CDATASection cdataSection) throws IOException
IOExceptionprotected void writeComment(Arguments arguments, Writer writer, Comment comment) throws IOException
IOExceptionprotected void writeText(Arguments arguments, Writer writer, Text text) throws IOException
IOExceptionprotected void writeMacro(Arguments arguments, Writer writer, Macro macro) throws IOException
IOExceptionCopyright © 2016 The THYMELEAF team. All rights reserved.