|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.ps.dsc.events.AbstractEvent
public abstract class AbstractEvent
Abstract base class for DSC events.
Field Summary |
---|
Fields inherited from interface org.apache.xmlgraphics.ps.dsc.DSCParserConstants |
---|
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE |
Constructor Summary | |
---|---|
AbstractEvent()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xmlgraphics.ps.dsc.events.DSCEvent |
---|
generate, getEventType |
Constructor Detail |
---|
public AbstractEvent()
Method Detail |
---|
public boolean isComment()
DSCEvent
isComment
in interface DSCEvent
DSCEvent.isComment()
public boolean isDSCComment()
DSCEvent
isDSCComment
in interface DSCEvent
DSCEvent.isDSCComment()
public boolean isHeaderComment()
DSCEvent
isHeaderComment
in interface DSCEvent
DSCEvent.isHeaderComment()
public boolean isLine()
DSCEvent
isLine
in interface DSCEvent
DSCEvent.isLine()
public DSCComment asDSCComment()
DSCEvent
asDSCComment
in interface DSCEvent
DSCEvent.asDSCComment()
public PostScriptLine asLine()
DSCEvent
asLine
in interface DSCEvent
DSCEvent.asLine()
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |