org.hccp.pdf
Class BooleanObject

java.lang.Object
  |
  +--org.hccp.pdf.BooleanObject
All Implemented Interfaces:
DocumentObject

public class BooleanObject
extends java.lang.Object
implements DocumentObject

PDF provides boolean objects with values true and false. The keywords true and false represent these values. This object is a wrapper around Java boolean primitives that return the corresponding PDF keyword as a String.


Field Summary
 java.lang.String FALSE
           
 java.lang.String TRUE
           
 
Constructor Summary
BooleanObject(boolean flag)
           
 
Method Summary
 java.lang.String getValue()
          Returns the corresponding String representation of true or false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public final java.lang.String TRUE
See Also:
Constant Field Values

FALSE

public final java.lang.String FALSE
See Also:
Constant Field Values
Constructor Detail

BooleanObject

public BooleanObject(boolean flag)
Method Detail

getValue

public java.lang.String getValue()
Returns the corresponding String representation of true or false.

Specified by:
getValue in interface DocumentObject
Returns:
the corresponding String for the wrapped boolean primitive.