public interface DSCComment extends DSCEvent
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE
Modifier and Type | Method and Description |
---|---|
void |
generate(PSGenerator gen)
Writes the event to the given PSGenerator.
|
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(String value)
Parses the value of the DSC comment.
|
asDSCComment, asLine, getEventType, isComment, isDSCComment, isHeaderComment, isLine
String getName()
void parseValue(String value)
value
- the valueboolean hasValues()
boolean isAtend()
void generate(PSGenerator gen) throws IOException
DSCEvent
generate
in interface DSCEvent
gen
- the PSGenerator to write toIOException
- In case of an I/O errorDSCEvent.generate(
org.apache.xmlgraphics.ps.PSGenerator)
Copyright © 2018 Apache Software Foundation. All rights reserved.