com.etymon.pj.object.pagemark
Class XEI

java.lang.Object
  extended by com.etymon.pj.object.BaseObject
      extended by com.etymon.pj.object.pagemark.PageMark
          extended by com.etymon.pj.object.pagemark.PageMarkOperator
              extended by com.etymon.pj.object.pagemark.XEI
All Implemented Interfaces:
java.lang.Cloneable

public class XEI
extends PageMarkOperator

Image operator: EI.


Field Summary
private  byte[] _imageData
           
private  PjDictionary _properties
           
 
Constructor Summary
XEI(PjDictionary properties, byte[] imageData)
           
 
Method Summary
 java.lang.Object clone()
          Returns a deep copy of this object.
 boolean equals(java.lang.Object obj)
           
 byte[] getImageData()
           
 PjDictionary getProperties()
           
 long writePdf(java.io.OutputStream os)
          Writes this object to a file in PDF format.
 
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

_properties

private PjDictionary _properties

_imageData

private byte[] _imageData
Constructor Detail

XEI

public XEI(PjDictionary properties,
           byte[] imageData)
Method Detail

getProperties

public PjDictionary getProperties()

getImageData

public byte[] getImageData()

writePdf

public long writePdf(java.io.OutputStream os)
              throws java.io.IOException
Description copied from class: BaseObject
Writes this object to a file in PDF format.

Specified by:
writePdf in class BaseObject
Returns:
the number of bytes written.
Throws:
java.io.IOException - if an I/O error occurs.

clone

public java.lang.Object clone()
Returns a deep copy of this object.

Specified by:
clone in class BaseObject
Returns:
a deep copy of this object.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object