DSCEvent, DSCParserConstantsAbstractDSCComment, AbstractResourceDSCComment, AbstractResourcesDSCComment, DSCAtend, DSCCommentBeginDocument, DSCCommentBeginResource, DSCCommentBoundingBox, DSCCommentDocumentNeededResources, DSCCommentDocumentSuppliedResources, DSCCommentEndComments, DSCCommentEndOfFile, DSCCommentHiResBoundingBox, DSCCommentIncludeResource, DSCCommentLanguageLevel, DSCCommentPage, DSCCommentPageBoundingBox, DSCCommentPageHiResBoundingBox, DSCCommentPageResources, DSCCommentPages, DSCCommentTitle, UnparsedDSCCommentpublic 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.
|
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, isLineString getName()
void parseValue(String value)
value - the valueboolean hasValues()
boolean isAtend()
void generate(PSGenerator gen) throws IOException
DSCEventgenerate in interface DSCEventgen - 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.