org.nuxeo.ecm.platform.rendering.fm.extensions
Class BlockWriter
java.lang.Object
java.io.Writer
org.nuxeo.ecm.platform.rendering.fm.extensions.BlockWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class BlockWriter
- extends java.io.Writer
- Author:
- Bogdan Stefanescu
Methods inherited from class java.io.Writer |
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BlockWriter
public BlockWriter(java.lang.String page,
java.lang.String name,
BlockWriterRegistry reg)
getRegistry
public final BlockWriterRegistry getRegistry()
setSuppressOutput
public void setSuppressOutput(boolean suppressOutput)
getSuppressOutput
public boolean getSuppressOutput()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Writer
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Specified by:
flush
in class java.io.Writer
- Throws:
java.io.IOException
isEmpty
public boolean isEmpty()
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
write
in class java.io.Writer
- Throws:
java.io.IOException
writeBlock
public void writeBlock(BlockWriter bw)
writeSuperBlock
public void writeSuperBlock()
copyTo
public void copyTo(java.io.Writer writer)
throws freemarker.template.TemplateException,
java.io.IOException
- Throws:
freemarker.template.TemplateException
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Nuxeo SAS. All Rights Reserved.