xmlgraphics-commons 1.4

org.apache.xmlgraphics.ps
Class PSProcSet

java.lang.Object
  extended by org.apache.xmlgraphics.ps.PSResource
      extended by 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_ENCODING, TYPE_FILE, TYPE_FONT, TYPE_FORM, TYPE_PATTERN, TYPE_PROCSET
 
Constructor Summary
PSProcSet(java.lang.String name)
          Creates a new instance.
PSProcSet(java.lang.String name, float version, int revision)
          Creates a new instance.
 
Method Summary
 java.lang.String getResourceSpecification()
           
 int getRevision()
           
 float getVersion()
           
 
Methods inherited from class org.apache.xmlgraphics.ps.PSResource
compareTo, equals, getName, getType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 resource
version - version of the resource
revision - 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 class PSResource
Returns:
the specification as defined in DSC v3.0 spec.

xmlgraphics-commons 1.4

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