public class DSCCommentTitle extends AbstractDSCComment
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE| Constructor and Description |
|---|
DSCCommentTitle()
Creates a new instance.
|
DSCCommentTitle(java.lang.String title)
Creates a new instance.
|
| 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.
|
java.lang.String |
getTitle()
Returns the title.
|
boolean |
hasValues()
Indicates whether this DSC comment has values.
|
void |
parseValue(java.lang.String value)
Parses the value of the DSC comment.
|
asDSCComment, getEventType, isAtend, isDSCComment, splitParamsasLine, isComment, isHeaderComment, isLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasLine, isComment, isHeaderComment, isLinepublic DSCCommentTitle()
public DSCCommentTitle(java.lang.String title)
title - the title textpublic java.lang.String getTitle()
public java.lang.String getName()
public boolean hasValues()
public void parseValue(java.lang.String value)
value - the valuepublic void generate(PSGenerator gen) throws java.io.IOException
gen - the PSGenerator to write tojava.io.IOException - In case of an I/O errorDSCEvent.generate(
org.apache.xmlgraphics.ps.PSGenerator)Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.