PJX

com.etymon.pjx
Class PdfDictionary

java.lang.Object
  extended bycom.etymon.pjx.PdfObject
      extended bycom.etymon.pjx.PdfDictionary
All Implemented Interfaces:
java.lang.Cloneable

public class PdfDictionary
extends PdfObject

Represents the PDF dictionary object.


Constructor Summary
PdfDictionary(java.util.Map m)
          Constructs a dictionary object from a map of PdfName keys and PdfObject values.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this instance with another PDF object for equality.
 java.util.Map getMap()
          Returns the map of keys and values contained in this dictionary.
 int hashCode()
          Returns a hash code for this object.
 
Methods inherited from class com.etymon.pjx.PdfObject
clone, filter, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfDictionary

public PdfDictionary(java.util.Map m)
Constructs a dictionary object from a map of PdfName keys and PdfObject values.

Parameters:
m - the map containing the keys and values.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Description copied from class: PdfObject
Compares this instance with another PDF object for equality.

Overrides:
equals in class PdfObject
Parameters:
obj - the object to compare this instance with.
Returns:
true if the PDF objects are equal.

getMap

public java.util.Map getMap()
Returns the map of keys and values contained in this dictionary.

Returns:
the map of keys and values. The returned Map object is unmodifiable.

hashCode

public int hashCode()
Description copied from class: PdfObject
Returns a hash code for this object.

Overrides:
hashCode in class PdfObject
Returns:
the hash code.

Copyright © 1998-2004 Etymon Systems, Inc.

The PDF data structures, operators, and specification are
Copyright © 1985-2004 Adobe Systems Incorporated.