public abstract class ContinuedEvent extends ConcreteJPhyloIOEvent
This class differs from PartEndEvent
, which terminates part of a larger event sequence and can be directly
instantiated.
Constructor and Description |
---|
ContinuedEvent(EventContentType contentType,
boolean continuedInNextEvent)
Returns a new instance of this class with the topology type
EventTopologyType.SOLE . |
Modifier and Type | Method and Description |
---|---|
boolean |
isContinuedInNextEvent()
Returns whether this event only contains a part of a long text (e.g.
|
asCharacterDefinitionEvent, asCharacterSetIntervalEvent, asCommentEvent, asEdgeEvent, asLabeledIDEvent, asLinkedLabeledIDEvent, asLiteralMetadataContentEvent, asLiteralMetadataEvent, asNodeEvent, asPartEndEvent, asResourceMetadataEvent, asSequenceTokensEvent, asSetElementEvent, asSingleSequenceTokenEvent, asSingleTokenDefinitionEvent, asTokenSetDefinitionEvent, asUnknownCommandEvent, createEndEvent, getType
public ContinuedEvent(EventContentType contentType, boolean continuedInNextEvent)
EventTopologyType.SOLE
.contentType
- the content type of the new instancecontinuedInNextEvent
- Specify true
here if this event does not contain the final part of
its value and more events are ahead or false otherwise
.public boolean isContinuedInNextEvent()
true
here.)false
if this event includes the final characters of the current text or true
if future
events will contain the remaining characters from the current text