org.apache.xmlgraphics.ps
Class PSProcSet
java.lang.Object
org.apache.xmlgraphics.ps.PSResource
org.apache.xmlgraphics.ps.PSProcSet
- All Implemented Interfaces:
- Comparable
public class PSProcSet
- extends PSResource
PSResource subclass that represents a ProcSet resource.
PSProcSet
public PSProcSet(String name)
- Creates a new instance.
- Parameters:
name
- name of the resource
PSProcSet
public PSProcSet(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 String getResourceSpecification()
- Overrides:
getResourceSpecification
in class PSResource
- Returns:
- the <resource> specification as defined in DSC v3.0 spec.
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.