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.
|
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-2012 The Apache Software Foundation. All Rights Reserved.