Class PdfBoolean

java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfBoolean

@Deprecated public class PdfBoolean extends PdfObject
Deprecated.
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

    • PDFTRUE

      public static final PdfBoolean PDFTRUE
      Deprecated.
    • PDFFALSE

      public static final PdfBoolean PDFFALSE
      Deprecated.
    • TRUE

      public static final String TRUE
      Deprecated.
      A possible value of PdfBoolean
      See Also:
    • FALSE

      public static final String FALSE
      Deprecated.
      A possible value of PdfBoolean
      See Also:
    • value

      private boolean value
      Deprecated.
      the boolean value of this object
  • Constructor Details

    • PdfBoolean

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

      public PdfBoolean(String value) throws BadPdfFormatException
      Deprecated.
      Constructs a PdfBoolean-object.
      Parameters:
      value - the value of the new PdfObject, represented as a String
      Throws:
      BadPdfFormatException - thrown if the value isn't 'true' or 'false'
  • Method Details

    • booleanValue

      public boolean booleanValue()
      Deprecated.
      Returns the primitive value of the PdfBoolean-object.
      Returns:
      the actual value of the object.
    • toString

      public String toString()
      Deprecated.
      Description copied from class: PdfObject
      Returns the String-representation of this PdfObject.
      Overrides:
      toString in class PdfObject
      Returns:
      a String