DSCEvent
, DSCParserConstants
AbstractDSCComment
, AbstractResourceDSCComment
, AbstractResourcesDSCComment
, DSCAtend
, DSCCommentBeginDocument
, DSCCommentBeginResource
, DSCCommentBoundingBox
, DSCCommentDocumentNeededResources
, DSCCommentDocumentSuppliedResources
, DSCCommentEndComments
, DSCCommentEndOfFile
, DSCCommentHiResBoundingBox
, DSCCommentIncludeResource
, DSCCommentLanguageLevel
, DSCCommentPage
, DSCCommentPageBoundingBox
, DSCCommentPageHiResBoundingBox
, DSCCommentPageResources
, DSCCommentPages
, DSCCommentTitle
, UnparsedDSCComment
public interface DSCComment extends DSCEvent
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE
Modifier and Type | Method | Description |
---|---|---|
void |
generate(PSGenerator gen) |
Writes the event to the given PSGenerator.
|
java.lang.String |
getName() |
Returns the name of the DSC comment.
|
boolean |
hasValues() |
Indicates whether this DSC comment has values.
|
boolean |
isAtend() |
Indicates whether the DSC comment's value is "Atend".
|
void |
parseValue(java.lang.String value) |
Parses the value of the DSC comment.
|
asDSCComment, asLine, getEventType, isComment, isDSCComment, isHeaderComment, isLine
java.lang.String getName()
void parseValue(java.lang.String value)
value
- the valueboolean hasValues()
boolean isAtend()
void generate(PSGenerator gen) throws java.io.IOException
DSCEvent
generate
in interface DSCEvent
gen
- the PSGenerator to write tojava.io.IOException
- In case of an I/O errorDSCEvent.generate(
org.apache.xmlgraphics.ps.PSGenerator)
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.