|
xmlgraphics-commons 2.0.1 | |||||||||
| 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 DSCEventDSCEvent.isComment()public boolean isDSCComment()
DSCEvent
isDSCComment in interface DSCEventDSCEvent.isDSCComment()public boolean isHeaderComment()
DSCEvent
isHeaderComment in interface DSCEventDSCEvent.isHeaderComment()public boolean isLine()
DSCEvent
isLine in interface DSCEventDSCEvent.isLine()public DSCComment asDSCComment()
DSCEvent
asDSCComment in interface DSCEventDSCEvent.asDSCComment()public PostScriptLine asLine()
DSCEvent
asLine in interface DSCEventDSCEvent.asLine()
|
xmlgraphics-commons 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||