mediaType

Describes the media type of the document related with the event, and thereby what data types to expect in nodeData

This can be for example:

  • MediaType.APPLICATION_SMIL ("application/smil+xml") if node is a par node within a SMIL document.

  • MediaType.APPLICATION_XHTML ("application/xhtml+xml") if node is a XHTML node.

  • MediaType.APPLICATION_SVG ("image/svg") if node is a SVG node.

Some events will not generate any nodeData. In those cases, mediaType will be the empty string ''