Home » pdfbox-1.1.0-src » org.apache.pdfbox.cos » [javadoc | source]
org.apache.pdfbox.cos
public class: COSBoolean [javadoc | source]
java.lang.Object
   org.apache.pdfbox.cos.COSBase
      org.apache.pdfbox.cos.COSBoolean

All Implemented Interfaces:
    COSObjectable

This class represents a boolean value in the PDF document.
Field Summary
public static final  byte[] TRUE_BYTES    The true boolean token. 
public static final  byte[] FALSE_BYTES    The false boolean token. 
public static final  COSBoolean TRUE    The PDF true value. 
public static final  COSBoolean FALSE    The PDF false value. 
Method from org.apache.pdfbox.cos.COSBoolean Summary:
accept,   getBoolean,   getBoolean,   getValue,   getValueAsObject,   toString,   writePDF
Methods from org.apache.pdfbox.cos.COSBase:
accept,   getCOSObject,   getFilterManager
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.cos.COSBoolean Detail:
 public Object accept(ICOSVisitor visitor) throws COSVisitorException 
    visitor pattern double dispatch method.
 public static COSBoolean getBoolean(boolean value) 
    This will get the boolean value.
 public static COSBoolean getBoolean(Boolean value) 
    This will get the boolean value.
 public boolean getValue() 
    This will get the value that this object wraps.
 public Boolean getValueAsObject() 
    This will get the value that this object wraps.
 public String toString() 
    Return a string representation of this object.
 public  void writePDF(OutputStream output) throws IOException 
    This will write this object out to a PDF stream.