org.apache.xmlgraphics.ps
Class PSProcSet
java.lang.Object
org.apache.xmlgraphics.ps.PSResource
org.apache.xmlgraphics.ps.PSProcSet
public class PSProcSet
- extends PSResource
PSResource subclass that represents a ProcSet resource.
Constructor Summary |
PSProcSet(java.lang.String name)
Creates a new instance. |
PSProcSet(java.lang.String name,
float version,
int revision)
Creates a new instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
getVersion
public float getVersion()
- Returns:
- the version
getRevision
public int getRevision()
- Returns:
- the revision
getResourceSpecification
public java.lang.String getResourceSpecification()
- Overrides:
getResourceSpecification
in class PSResource
- Returns:
- the specification as defined in DSC v3.0 spec.
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.