fop 0.95

org.apache.fop.pdf
Interface PDFWritable

All Known Implementing Classes:
AbstractPDFStream, PDFAction, PDFAnnotList, PDFArray, PDFCharProcs, PDFCIDFont, PDFCIDFontDescriptor, PDFCIDSystemInfo, PDFCMap, PDFColor, PDFDestination, PDFDests, PDFDictionary, PDFEncoding, PDFEncryptionJCE, PDFFileSpec, PDFFont, PDFFontDescriptor, PDFFontNonBase14, PDFFontTrueType, PDFFontType0, PDFFontType1, PDFFontType3, PDFFormXObject, PDFFunction, PDFGoTo, PDFGoToRemote, PDFGState, PDFICCBasedColorSpace, PDFICCStream, PDFImageXObject, PDFInfo, PDFInternalLink, PDFLink, PDFMetadata, PDFName, PDFNames, PDFNameTreeNode, PDFNull, PDFNumber, PDFNumberTreeNode, PDFNumsArray, PDFObject, PDFOutline, PDFOutputIntent, PDFPage, PDFPageLabels, PDFPages, PDFPathPaint, PDFPattern, PDFRectangle, PDFReference, PDFResourceContext, PDFResources, PDFRoot, PDFShading, PDFStream, PDFT1Stream, PDFText, PDFToUnicodeCMap, PDFTTFStream, PDFUri, PDFXObject, TransitionDictionary

public interface PDFWritable

This interface is implemented by classes that can be serialized to a PDF file either by serializing the object or by writing a indirect reference to the actual object.


Method Summary
 void outputInline(java.io.OutputStream out, java.io.Writer writer)
          Writes a "direct object" (inline object) representation to the stream.
 

Method Detail

outputInline

void outputInline(java.io.OutputStream out,
                  java.io.Writer writer)
                  throws java.io.IOException
Writes a "direct object" (inline object) representation to the stream. A Writer is given for optimized encoding of text content. Since the Writer is buffered, make sure flush() is called before any direct calls to out are made.

Parameters:
out - the OutputStream (for binary content)
writer - the Writer (for text content, wraps the above OutputStream)
Throws:
java.io.IOException - if an I/O error occurs

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.