Interface IRenderTarget
- All Known Implementing Classes:
RenderTarget
public interface IRenderTarget
This interface describes a target used for document rendering. It is merely a container that contains an output
stream to write render result to for every output format.
- Since:
- 6.4
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionvoid
closeAll()
This method closes all output streams known for this render target.This method returns an array of all registered output formats for this render target.getResult
(OutputFormat format) This method returns an output stream for a specific format.
-
Method Details
-
getResult
This method returns an output stream for a specific format.- Parameters:
format
- The output format.- Returns:
- The output stream, can be null if no stream specified for the given output format.
-
getOutputFormats
OutputFormat[] getOutputFormats()This method returns an array of all registered output formats for this render target.- Returns:
- Never null
-
closeAll
This method closes all output streams known for this render target.- Throws:
IOException
- When there was a problem closing the stream.
-