fop-pdf-images 2.2

org.apache.fop.render.pdf.pdfbox
Class PDFBoolean

java.lang.Object
  extended by org.apache.fop.pdf.PDFObject
      extended by org.apache.fop.render.pdf.pdfbox.PDFBoolean
All Implemented Interfaces:
org.apache.fop.pdf.PDFWritable

public class PDFBoolean
extends org.apache.fop.pdf.PDFObject

Represents a boolean object.


Field Summary
 
Fields inherited from class org.apache.fop.pdf.PDFObject
log
 
Constructor Summary
PDFBoolean(boolean value)
          Main constructor.
 
Method Summary
 boolean getValue()
          Returns the boolean value
 int output(java.io.OutputStream stream)
           
 
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getChildren, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFBoolean

public PDFBoolean(boolean value)
Main constructor.

Parameters:
value - the boolean value
Method Detail

getValue

public boolean getValue()
Returns the boolean value

Returns:
the boolean value

output

public int output(java.io.OutputStream stream)
           throws java.io.IOException
Overrides:
output in class org.apache.fop.pdf.PDFObject
Throws:
java.io.IOException

fop-pdf-images 2.2

Copyright 2007-2017 The Apache Software Foundation. All Rights Reserved.