public class UnknownCommandEvent extends ConcreteJPhyloIOEvent
NexusCommandEventReader
implementation). Events of this type are only fired, if the parameter
ReadWriteParameterNames.KEY_CREATE_UNKNOWN_COMMAND_EVENTS
is set to true
. (Refer to the
individual reader documentations for details.)ReadWriteParameterNames.KEY_CREATE_UNKNOWN_COMMAND_EVENTS
Constructor and Description |
---|
UnknownCommandEvent(String key,
String value)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the name or key of the unknown command, if provided in the document.
|
String |
getValue()
Returns the value of the unknown command.
|
asCharacterDefinitionEvent, asCharacterSetIntervalEvent, asCommentEvent, asEdgeEvent, asLabeledIDEvent, asLinkedLabeledIDEvent, asLiteralMetadataContentEvent, asLiteralMetadataEvent, asNodeEvent, asPartEndEvent, asResourceMetadataEvent, asSequenceTokensEvent, asSetElementEvent, asSingleSequenceTokenEvent, asSingleTokenDefinitionEvent, asTokenSetDefinitionEvent, asUnknownCommandEvent, createEndEvent, getType
public UnknownCommandEvent(String key, String value)
key
- the name or key of the unknown commandvalue
- the value of the unknown command