public class LabeledIDEvent extends LabeledEvent
| Constructor and Description |
|---|
LabeledIDEvent(EventContentType contentType,
java.lang.String id,
java.lang.String label)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkID(java.lang.String id,
java.lang.String idName) |
java.lang.String |
getID()
Returns the document-wide unique ID of the data element represented by this event.
|
getLabel, hasLabelasCharacterDefinitionEvent, asCharacterSetIntervalEvent, asCommentEvent, asEdgeEvent, asLabeledIDEvent, asLinkedLabeledIDEvent, asLiteralMetadataContentEvent, asLiteralMetadataEvent, asNodeEvent, asPartEndEvent, asResourceMetadataEvent, asSequenceTokensEvent, asSetElementEvent, asSingleSequenceTokenEvent, asSingleTokenDefinitionEvent, asTokenSetDefinitionEvent, asUnknownCommandEvent, createEndEvent, getTypepublic LabeledIDEvent(EventContentType contentType, java.lang.String id, java.lang.String label)
contentType - the content type of the eventid - the unique ID associated with the represented data element (Must be a valid
NCName.)label - a label associated with the represented data element (Maybe null.)java.lang.NullPointerException - if contentType, topologyType or id are nulljava.lang.IllegalArgumentException - if the specified ID is not a valid
NCName