Class ForwardingDOMNotificationService

    • Constructor Detail

      • ForwardingDOMNotificationService

        public ForwardingDOMNotificationService()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • registerNotificationListener

        public <T extends DOMNotificationListenerListenerRegistration<T> registerNotificationListener​(T listener,
                                                                                                        Collection<SchemaPath> types)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DOMNotificationService
        Register a DOMNotificationListener to receive a set of notifications. As with other ListenerRegistration-based interfaces, registering an instance multiple times results in notifications being delivered for each registration.
        Specified by:
        registerNotificationListener in interface DOMNotificationService
        Parameters:
        listener - Notification instance to register
        types - Notification types which should be delivered to the listener. Duplicate entries are processed only once, null entries are ignored.
        Returns:
        Registration handle. Invoking ListenerRegistration.close() will stop the delivery of notifications to the listener
      • registerNotificationListener

        public <T extends DOMNotificationListenerListenerRegistration<T> registerNotificationListener​(T listener,
                                                                                                        SchemaPath... types)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: DOMNotificationService
        Register a DOMNotificationListener to receive a set of notifications. As with other ListenerRegistration-based interfaces, registering an instance multiple times results in notifications being delivered for each registration.
        Specified by:
        registerNotificationListener in interface DOMNotificationService
        Parameters:
        listener - Notification instance to register
        types - Notification types which should be delivered to the listener. Duplicate entries are processed only once, null entries are ignored.
        Returns:
        Registration handle. Invoking ListenerRegistration.close() will stop the delivery of notifications to the listener