private static final class PdfPipelineSerializerModel.PdfPipelineSerializer extends AbstractSerializerImpl
Modifier and Type | Field and Description |
---|---|
private SourceResolver |
_sourceResolver |
private Path |
_tmpFile |
private OutputStream |
_tmpFileOs |
_handler, _out, _streamResult
Constructor and Description |
---|
PdfPipelineSerializer(TransformerHandler handler,
OutputStream out,
SourceResolver sourceResolver) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
prepare()
Prepares this serializer.
|
void |
serialize()
Does the serialization.
|
private SourceResolver _sourceResolver
private OutputStream _tmpFileOs
PdfPipelineSerializer(TransformerHandler handler, OutputStream out, SourceResolver sourceResolver)
public void prepare() throws Exception
PipelineSerializer
prepare
in interface PipelineSerializer
prepare
in class AbstractSerializerImpl
Exception
- if an error occuredpublic void serialize() throws Exception
PipelineSerializer
PipelineSerializer.prepare()
method must have been called before.
closed
.Exception
- if an error occuredpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractSerializerImpl
IOException