com.etymon.pj.object
Class PjStreamDictionary
java.lang.Object
com.etymon.pj.object.BaseObject
com.etymon.pj.object.PjObject
com.etymon.pj.object.PjDictionary
com.etymon.pj.object.PjStreamDictionary
- All Implemented Interfaces:
- java.lang.Cloneable
public class PjStreamDictionary
- extends PjDictionary
A representation of a PDF stream dictionary. It is normally used
in constructing a PjStream object.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PjStreamDictionary
public PjStreamDictionary()
- Creates a new stream dictionary.
PjStreamDictionary
public PjStreamDictionary(java.util.Hashtable h)
- Creates a stream dictionary as a wrapper around an Hashtable.
- Parameters:
h
- the Hashtable to use for this dictionary.
setLength
public void setLength(PjNumber length)
setLength
public void setLength(PjReference length)
getLength
public PjObject getLength()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
setFilter
public void setFilter(PjName filter)
setFilter
public void setFilter(PjArray filter)
setFilter
public void setFilter(PjReference filter)
getFilter
public PjObject getFilter()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
setDecodeParms
public void setDecodeParms(PjObject decodeParms)
getDecodeParms
public PjObject getDecodeParms()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
getF
public PjObject getF()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
setFFilter
public void setFFilter(PjName fFilter)
setFFilter
public void setFFilter(PjArray fFilter)
setFFilter
public void setFFilter(PjReference fFilter)
getFFilter
public PjObject getFFilter()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
setFDecodeParms
public void setFDecodeParms(PjObject fDecodeParms)
getFDecodeParms
public PjObject getFDecodeParms()
throws InvalidPdfObjectException
- Throws:
InvalidPdfObjectException
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Returns a deep copy of this object.
- Overrides:
clone
in class PjDictionary
- Returns:
- a deep copy of this object.
- Throws:
java.lang.CloneNotSupportedException
- if the instance can not be cloned.