org.apache.fop.render.ps

Class PSDictionary

Known Direct Subclasses:
PSPageDeviceDictionary

public class PSDictionary
extends java.util.HashMap

This class is used to encapsulate postscript dictionary objects.

Method Summary

boolean
equals(Object obj)
int
hashCode()
String
toString()
static PSDictionary
valueOf(String str)
Parses a given a dictionary string and returns an object

Method Details

equals

public boolean equals(Object obj)
Parameters:
obj - object to test equality against
Returns:
whether a given object is equal to this dictionary object
See Also:
java.lang.Object.equals(Object)

hashCode

public int hashCode()
Returns:
a hash code value for this object.
See Also:
java.lang.Object.hashCode()

toString

public String toString()
Returns:
a string representation of this dictionary
See Also:
java.lang.String.toString()

valueOf

public static PSDictionary valueOf(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

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