EngineEventTargetData

open class EngineEventTargetData(val frameworkComponent: EngineEventTargetFrameworkComponent, val locator: SimpleLocatorData?, val mediaType: String, val nodeData: EngineEventTargetXmlElementNodeData?, val objectType: EngineEventTargetObjectType = EngineEventTargetObjectType.ENGINE_EVENT_TARGET, val readerDocumentIndexInSpine: Int?)

Contains information about the publication content targeted by an EngineEvent.

Constructors

Link copied to clipboard
fun EngineEventTargetData(frameworkComponent: EngineEventTargetFrameworkComponent, locator: SimpleLocatorData?, mediaType: String, nodeData: EngineEventTargetXmlElementNodeData?, objectType: EngineEventTargetObjectType = EngineEventTargetObjectType.ENGINE_EVENT_TARGET, readerDocumentIndexInSpine: Int?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

Describes the framework component that was the target of the event.

Link copied to clipboard

A locator that points to the publication content related with the event.

Link copied to clipboard

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

Link copied to clipboard

A JSON compatible data structure representing the underlying node that was the target of the event, like for example a HTML node in a HTML content-document.

Link copied to clipboard

The type of EngineEventTarget object this JSON structure represents.

Link copied to clipboard

The index of the reader document that was the target of the event if any.

Inheritors

Link copied to clipboard