|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.etymon.pj.object.BaseObject
com.etymon.pj.object.PjObject
com.etymon.pj.object.PjBoolean
public class PjBoolean
A representation of the PDF Boolean type.
Field Summary | |
---|---|
private boolean |
_b
|
static PjBoolean |
FALSE
|
static PjBoolean |
TRUE
|
Constructor Summary | |
---|---|
PjBoolean(boolean b)
Creates a Boolean object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a deep copy of this object. |
boolean |
equals(java.lang.Object obj)
Compares two PjBoolean objects for equality. |
boolean |
getBoolean()
Returns the Boolean value of this object. |
long |
writePdf(java.io.OutputStream os)
Writes this Boolean to a stream in PDF format. |
Methods inherited from class com.etymon.pj.object.PjObject |
---|
renumber |
Methods inherited from class com.etymon.pj.object.BaseObject |
---|
toString, write, write, write, writeln |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PjBoolean TRUE
public static final PjBoolean FALSE
private boolean _b
Constructor Detail |
---|
public PjBoolean(boolean b)
b
- the Boolean value to initialize this object to.Method Detail |
---|
public boolean getBoolean()
public long writePdf(java.io.OutputStream os) throws java.io.IOException
writePdf
in class BaseObject
os
- the stream to write to.
java.io.IOException
- if an I/O error occurs.public java.lang.Object clone()
clone
in class BaseObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object to compare to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |