| java.lang.Object org.apache.xmlgraphics.ps.dsc.events.AbstractEvent org.apache.xmlgraphics.ps.dsc.events.AbstractDSCComment org.apache.xmlgraphics.ps.dsc.events.AbstractResourcesDSCComment
All known Subclasses: org.apache.xmlgraphics.ps.dsc.events.DSCCommentPageResources, org.apache.xmlgraphics.ps.dsc.events.DSCCommentDocumentSuppliedResources, org.apache.xmlgraphics.ps.dsc.events.DSCCommentDocumentNeededResources,
AbstractResourcesDSCComment | abstract public class AbstractResourcesDSCComment extends AbstractDSCComment (Code) | | Abstract base class for Resource DSC comments (DocumentNeededResources,
DocumentSuppliedResources and PageResources).
|
Field Summary | |
final protected static Set | RESOURCE_TYPES Defines the known resource types (font, procset, file, pattern etc.). |
RESOURCE_TYPES | final protected static Set RESOURCE_TYPES(Code) | | Defines the known resource types (font, procset, file, pattern etc.).
|
AbstractResourcesDSCComment | public AbstractResourcesDSCComment()(Code) | | Creates a new instance.
|
AbstractResourcesDSCComment | public AbstractResourcesDSCComment(Collection resources)(Code) | | Creates a new instance.
Parameters: resources - a Collection of PSResource instances |
addResource | public void addResource(PSResource res)(Code) | | Adds a new resource.
Parameters: res - the resource |
addResources | public void addResources(Collection resources)(Code) | | Adds a collection of resources.
Parameters: resources - a Collection of PSResource instances. |
getResources | public Set getResources()(Code) | | Returns the set of resources associated with this DSC comment.
the set of resources |
|
|