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 ITemplateWriter
IOException
protected abstract boolean shouldWriteXmlDeclaration()
protected abstract boolean useXhtmlTagMinimizationRules()
protected void writeDocument(Arguments arguments, Writer writer, Document document) throws IOException
IOException
protected void writeXmlDeclaration(Writer writer, Document document) throws IOException
IOException
protected void writeDocType(Arguments arguments, Writer writer, DocType docType) throws IOException
IOException
public void writeNode(Arguments arguments, Writer writer, Node node) throws IOException
IOException
protected void writeGroupNode(Arguments arguments, Writer writer, GroupNode groupNode) throws IOException
IOException
protected void writeElement(Arguments arguments, Writer writer, Element element) throws IOException
IOException
protected void writeCDATASection(Arguments arguments, Writer writer, CDATASection cdataSection) throws IOException
IOException
protected void writeComment(Arguments arguments, Writer writer, Comment comment) throws IOException
IOException
protected void writeText(Arguments arguments, Writer writer, Text text) throws IOException
IOException
protected void writeMacro(Arguments arguments, Writer writer, Macro macro) throws IOException
IOException
Copyright © 2016 The THYMELEAF team. All rights reserved.