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(java.lang.String key,
java.lang.String value)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey()
Returns the name or key of the unknown command, if provided in the document.
|
java.lang.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, getTypepublic UnknownCommandEvent(java.lang.String key, java.lang.String value)
key - the name or key of the unknown commandvalue - the value of the unknown commandpublic java.lang.String getKey()
null if no key or name is provided in the documentpublic java.lang.String getValue()
null.)