Package org.apache.xmlgraphics.ps
Class PSProcSet
- java.lang.Object
-
- org.apache.xmlgraphics.ps.PSResource
-
- org.apache.xmlgraphics.ps.PSProcSet
-
- All Implemented Interfaces:
java.lang.Comparable
public class PSProcSet extends PSResource
PSResource subclass that represents a ProcSet resource.
-
-
Field Summary
-
Fields inherited from class org.apache.xmlgraphics.ps.PSResource
TYPE_CIDFONT, TYPE_CMAP, TYPE_ENCODING, TYPE_FILE, TYPE_FONT, TYPE_FORM, TYPE_PATTERN, TYPE_PROCSET
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getResourceSpecification()
int
getRevision()
float
getVersion()
-
-
-
Constructor Detail
-
PSProcSet
public PSProcSet(java.lang.String name)
Creates a new instance.- Parameters:
name
- name of the resource
-
PSProcSet
public PSProcSet(java.lang.String name, float version, int revision)
Creates a new instance.- Parameters:
name
- name of the resourceversion
- version of the resourcerevision
- revision of the resource
-
-
Method Detail
-
getVersion
public float getVersion()
- Returns:
- the version
-
getRevision
public int getRevision()
- Returns:
- the revision
-
getResourceSpecification
public java.lang.String getResourceSpecification()
- Overrides:
getResourceSpecification
in classPSResource
- Returns:
- the <resource> specification as defined in DSC v3.0 spec.
-
-