Class PdfBoolean

java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfBoolean

public class PdfBoolean extends PdfObject
PdfBoolean is the boolean object represented by the keywords true or false.

This object is described in the 'Portable Document Format Reference Manual version 1.7' section 3.2.1 (page 52).

See Also:
  • Field Details

  • Constructor Details

    • PdfBoolean

      public PdfBoolean(boolean value)
      Constructs a PdfBoolean-object.
      Parameters:
      value - the value of the new PdfObject
  • Method Details

    • toString

      public String toString()
      Returns the primitive value of the PdfBoolean-object.
      Overrides:
      toString in class PdfObject
      Returns:
      the actual value of the object.