| |
|
| java.lang.Object com.etymon.pj.object.BaseObject com.etymon.pj.object.PjObject com.etymon.pj.object.PjBoolean
PjBoolean | public class PjBoolean extends PjObject (Code) | | A representation of the PDF Boolean type.
author: Nassib Nassar |
Constructor Summary | |
public | PjBoolean(boolean b) Creates a Boolean object. |
Method Summary | |
public Object | clone() Returns a deep copy of this object. | public boolean | equals(Object obj) Compares two PjBoolean objects for equality.
Parameters: obj - the reference object to compare to. | public boolean | getBoolean() Returns the Boolean value of this object. | public long | writePdf(OutputStream os) Writes this Boolean to a stream in PDF format.
Parameters: os - the stream to write to. |
PjBoolean | public PjBoolean(boolean b)(Code) | | Creates a Boolean object.
Parameters: b - the Boolean value to initialize this object to. |
clone | public Object clone()(Code) | | Returns a deep copy of this object.
a deep copy of this object. |
equals | public boolean equals(Object obj)(Code) | | Compares two PjBoolean objects for equality.
Parameters: obj - the reference object to compare to. true if this object is the same as obj, falseotherwise. |
getBoolean | public boolean getBoolean()(Code) | | Returns the Boolean value of this object.
the Boolean value of this object. |
writePdf | public long writePdf(OutputStream os) throws IOException(Code) | | Writes this Boolean to a stream in PDF format.
Parameters: os - the stream to write to. the number of bytes written. exception: IOException - if an I/O error occurs. |
|
|
|