fop 0.95

org.apache.fop.render.ps
Class PSDictionary

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by org.apache.fop.render.ps.PSDictionary
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map
Direct Known Subclasses:
PSPageDeviceDictionary

public class PSDictionary
extends java.util.HashMap

This class is used to encapsulate postscript dictionary objects.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry, java.util.AbstractMap.SimpleImmutableEntry
 
Constructor Summary
PSDictionary()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
static PSDictionary valueOf(java.lang.String str)
          Parses a given a dictionary string and returns an object
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PSDictionary

public PSDictionary()
Method Detail

valueOf

public static PSDictionary valueOf(java.lang.String str)
                            throws PSDictionaryFormatException
Parses a given a dictionary string and returns an object

Parameters:
str - dictionary string
Returns:
dictionary object
Throws:
PSDictionaryFormatException - object format exception

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Map
Overrides:
equals in class java.util.AbstractMap
Parameters:
obj - object to test equality against
Returns:
whether a given object is equal to this dictionary object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Map
Overrides:
hashCode in class java.util.AbstractMap
Returns:
a hash code value for this object.
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractMap
Returns:
a string representation of this dictionary
See Also:
String.toString()

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.