|
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
org.apache.xmlgraphics.ps.dsc.events.AbstractDSCComment
public abstract class AbstractDSCComment
Abstract base class for DSC comments.
Field Summary |
---|
Fields inherited from interface org.apache.xmlgraphics.ps.dsc.DSCParserConstants |
---|
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE |
Constructor Summary | |
---|---|
AbstractDSCComment()
|
Method Summary | |
---|---|
DSCComment |
asDSCComment()
Casts this instance to a DSCComment if possible. |
int |
getEventType()
Returns the event type. |
boolean |
isAtend()
Indicates whether the DSC comment's value is "Atend". |
boolean |
isDSCComment()
Indicates whether the instance is a DSC comment. |
protected java.util.List |
splitParams(java.lang.String value)
Splits the params of the DSC comment value in to a List. |
Methods inherited from class org.apache.xmlgraphics.ps.dsc.events.AbstractEvent |
---|
asLine, isComment, isHeaderComment, isLine |
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.DSCComment |
---|
generate, getName, hasValues, parseValue |
Methods inherited from interface org.apache.xmlgraphics.ps.dsc.events.DSCEvent |
---|
asLine, isComment, isHeaderComment, isLine |
Constructor Detail |
---|
public AbstractDSCComment()
Method Detail |
---|
protected java.util.List splitParams(java.lang.String value)
value
- the DSC comment value
public boolean isAtend()
DSCComment
isAtend
in interface DSCComment
DSCComment.isAtend()
public DSCComment asDSCComment()
DSCEvent
asDSCComment
in interface DSCEvent
asDSCComment
in class AbstractEvent
AbstractEvent.asDSCComment()
public boolean isDSCComment()
DSCEvent
isDSCComment
in interface DSCEvent
isDSCComment
in class AbstractEvent
AbstractEvent.isDSCComment()
public int getEventType()
DSCEvent
getEventType
in interface DSCEvent
DSCParserConstants
)DSCEvent.getEventType()
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |