Class BlockWriter
java.lang.Object
java.io.Writer
org.nuxeo.ecm.platform.rendering.fm.extensions.BlockWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidflush()final BlockWriterRegistrybooleanbooleanisEmpty()voidsetSuppressOutput(boolean suppressOutput) toString()voidwrite(char[] cbuf, int off, int len) voidvoid
-
Constructor Details
-
BlockWriter
-
-
Method Details
-
getRegistry
-
setSuppressOutput
public void setSuppressOutput(boolean suppressOutput) -
getSuppressOutput
public boolean getSuppressOutput() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
isEmpty
public boolean isEmpty() -
write
- Specified by:
writein classWriter- Throws:
IOException
-
writeBlock
-
writeSuperBlock
public void writeSuperBlock() -
copyTo
- Throws:
freemarker.template.TemplateExceptionIOException
-
toString
-