public abstract class AbstractEvent extends java.lang.Object implements DSCEvent
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE| Constructor and Description |
|---|
AbstractEvent() |
| Modifier and Type | Method and Description |
|---|---|
DSCComment |
asDSCComment()
Casts this instance to a DSCComment if possible.
|
PostScriptLine |
asLine()
Casts this instance to a PostScriptLine if possible.
|
boolean |
isComment()
Indicates whether the instance is a PostScript comment.
|
boolean |
isDSCComment()
Indicates whether the instance is a DSC comment.
|
boolean |
isHeaderComment()
Indicates whether the instance is a header comment.
|
boolean |
isLine()
Indicates whether the instance is a PostScript line.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerate, getEventTypepublic boolean isComment()
DSCEventisComment in interface DSCEventDSCEvent.isComment()public boolean isDSCComment()
DSCEventisDSCComment in interface DSCEventDSCEvent.isDSCComment()public boolean isHeaderComment()
DSCEventisHeaderComment in interface DSCEventDSCEvent.isHeaderComment()public boolean isLine()
DSCEventisLine in interface DSCEventDSCEvent.isLine()public DSCComment asDSCComment()
DSCEventasDSCComment in interface DSCEventDSCEvent.asDSCComment()public PostScriptLine asLine()
DSCEventasLine in interface DSCEventDSCEvent.asLine()Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.