org.apache.xmlgraphics.ps.dsc.events
Class DSCCommentIncludeResource
java.lang.Object
org.apache.xmlgraphics.ps.dsc.events.AbstractEvent
org.apache.xmlgraphics.ps.dsc.events.AbstractDSCComment
org.apache.xmlgraphics.ps.dsc.events.AbstractResourceDSCComment
org.apache.xmlgraphics.ps.dsc.events.DSCCommentIncludeResource
- All Implemented Interfaces:
- DSCParserConstants, DSCComment, DSCEvent
public class DSCCommentIncludeResource
- extends AbstractResourceDSCComment
Represents a %IncludeResource DSC comment.
Method Summary |
String |
getName()
Returns the name of the DSC comment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSCCommentIncludeResource
public DSCCommentIncludeResource()
- Creates a new instance
DSCCommentIncludeResource
public DSCCommentIncludeResource(PSResource resource)
- Creates a new instance for a given PSResource instance
- Parameters:
resource
- the resource
getName
public String getName()
- Returns the name of the DSC comment.
- Returns:
- the name of the DSC comment (without the "%%" prefix)
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.