DSCParserConstants
, DSCComment
, DSCEvent
AbstractResourceDSCComment
, AbstractResourcesDSCComment
, DSCAtend
, DSCCommentBeginDocument
, DSCCommentBoundingBox
, DSCCommentEndComments
, DSCCommentEndOfFile
, DSCCommentLanguageLevel
, DSCCommentPage
, DSCCommentPages
, DSCCommentTitle
public abstract class AbstractDSCComment extends AbstractEvent implements DSCComment
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE
Constructor | Description |
---|---|
AbstractDSCComment() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
asLine, isComment, isHeaderComment, isLine
generate, getName, hasValues, parseValue
asLine, isComment, isHeaderComment, isLine
protected java.util.List splitParams(java.lang.String value)
value
- the DSC comment valuepublic 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()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.