xmlgraphics-commons 1.0

org.apache.xmlgraphics.ps
Class PSResource

java.lang.Object
  extended byorg.apache.xmlgraphics.ps.PSResource

public class PSResource
extends java.lang.Object

Represents a PostScript resource (file, font, procset etc.).


Field Summary
static java.lang.String TYPE_FILE
          a file resource
static java.lang.String TYPE_FONT
          a font resource
static java.lang.String TYPE_PROCSET
          a procset resource
 
Constructor Summary
PSResource(java.lang.String type, java.lang.String name)
          Main constructor
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getResourceSpecification()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_FILE

public static final java.lang.String TYPE_FILE
a file resource

See Also:
Constant Field Values

TYPE_FONT

public static final java.lang.String TYPE_FONT
a font resource

See Also:
Constant Field Values

TYPE_PROCSET

public static final java.lang.String TYPE_PROCSET
a procset resource

See Also:
Constant Field Values
Constructor Detail

PSResource

public PSResource(java.lang.String type,
                  java.lang.String name)
Main constructor

Parameters:
type - type of the resource
name - name of the resource
Method Detail

getType

public java.lang.String getType()
Returns:
the type of the resource

getName

public java.lang.String getName()
Returns:
the name of the resource

getResourceSpecification

public java.lang.String getResourceSpecification()
Returns:
the specification as defined in DSC v3.0 spec.

xmlgraphics-commons 1.0

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