Package org.apache.fop.render.ps
Class PSImageFormResource
- java.lang.Object
-
- org.apache.xmlgraphics.ps.PSResource
-
- org.apache.fop.render.ps.PSImageFormResource
-
- All Implemented Interfaces:
java.lang.Comparable
public class PSImageFormResource extends org.apache.xmlgraphics.ps.PSResource
PostScript Resource class representing a FOP form. This is used by PSRenderer to keep track of images.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
uri
-
Constructor Summary
Constructors Constructor Description PSImageFormResource(int id, java.lang.String uri)
Create a new Form Resource.PSImageFormResource(java.lang.String name, java.lang.String uri)
/** Create a new Form Resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getImageURI()
Returns the image URI.int
hashCode()
-
-
-
Constructor Detail
-
PSImageFormResource
public PSImageFormResource(int id, java.lang.String uri)
Create a new Form Resource.- Parameters:
id
- An ID for the formuri
- the URI to the image
-
PSImageFormResource
public PSImageFormResource(java.lang.String name, java.lang.String uri)
/** Create a new Form Resource.- Parameters:
name
- the name of the resourceuri
- the URI to the image
-
-
Method Detail
-
getImageURI
public java.lang.String getImageURI()
Returns the image URI.- Returns:
- the image URI
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classorg.apache.xmlgraphics.ps.PSResource
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classorg.apache.xmlgraphics.ps.PSResource
-
-