Package org.apache.fop.pdf
Class PDFLayer
- java.lang.Object
-
- org.apache.fop.pdf.PDFObject
-
- org.apache.fop.pdf.PDFDictionary
-
- org.apache.fop.pdf.PDFIdentifiedDictionary
-
- org.apache.fop.pdf.PDFLayer
-
- All Implemented Interfaces:
PDFWritable
public class PDFLayer extends PDFIdentifiedDictionary
Optional Content Group Dictionary, which we will call a 'layer'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PDFLayer.Resolver
-
Field Summary
Fields Modifier and Type Field Description private PDFLayer.Resolver
resolver
-
Fields inherited from class org.apache.fop.pdf.PDFDictionary
entries, order
-
-
Constructor Summary
Constructors Constructor Description PDFLayer(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
output(java.io.OutputStream stream)
Write the PDF represention of this objectvoid
populate(java.lang.Object name, java.lang.Object intent, java.lang.Object usage)
void
setResolver(PDFLayer.Resolver resolver)
-
Methods inherited from class org.apache.fop.pdf.PDFIdentifiedDictionary
getId, hasId
-
Methods inherited from class org.apache.fop.pdf.PDFDictionary
containsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionary
-
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
-
-
-
Field Detail
-
resolver
private PDFLayer.Resolver resolver
-
-
Method Detail
-
output
public int output(java.io.OutputStream stream) throws java.io.IOException
Description copied from class:PDFDictionary
Write the PDF represention of this object- Overrides:
output
in classPDFDictionary
- Parameters:
stream
- the stream to write the PDF to- Returns:
- the number of bytes written
- Throws:
java.io.IOException
- if there is an error writing to the stream
-
setResolver
public void setResolver(PDFLayer.Resolver resolver)
-
populate
public void populate(java.lang.Object name, java.lang.Object intent, java.lang.Object usage)
-
-