fop 0.91beta

org.apache.fop.render.ps
Class PSResource

java.lang.Object
  |
  +--org.apache.fop.render.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

TYPE_FONT

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

TYPE_PROCSET

public static final java.lang.String TYPE_PROCSET
a procset resource
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.

fop 0.91beta

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