DSCParserConstants, DSCComment, DSCEventpublic class DSCCommentTitle extends AbstractDSCComment
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE| Constructor | Description |
|---|---|
DSCCommentTitle() |
Creates a new instance.
|
DSCCommentTitle(String title) |
Creates a new instance.
|
| 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.
|
String |
getTitle() |
Returns the title.
|
boolean |
hasValues() |
Indicates whether this DSC comment has values.
|
void |
parseValue(String value) |
Parses the value of the DSC comment.
|
asDSCComment, getEventType, isAtend, isDSCComment, splitParamsasLine, isComment, isHeaderComment, isLineasLine, isComment, isHeaderComment, isLinepublic DSCCommentTitle()
public DSCCommentTitle(String title)
title - the title textpublic String getTitle()
public String getName()
public boolean hasValues()
public void parseValue(String value)
value - the valuepublic void generate(PSGenerator gen) throws IOException
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.