From a345ebaf394542aaab68180b2a8b60e8da9da1e3 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 21 Sep 2017 11:22:23 +0200 Subject: [PATCH] Remove yangtools APIs Downstream consumers are not using them anymore, remove them. Change-Id: Idd9d8f6b2d1f7b3ab719904a694c342d2e79f210 Signed-off-by: Robert Varga --- binding/mdsal-binding-dom-codec/pom.xml | 1 - .../data/codec/api/BindingCodecTree.java | 34 ---- .../codec/api/BindingCodecTreeFactory.java | 50 ------ .../data/codec/api/BindingCodecTreeNode.java | 147 ------------------ .../BindingNormalizedNodeCachingCodec.java | 31 ---- .../codec/api/BindingNormalizedNodeCodec.java | 41 ----- .../api/BindingNormalizedNodeSerializer.java | 113 -------------- .../BindingNormalizedNodeWriterFactory.java | 110 ------------- 8 files changed, 527 deletions(-) delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTree.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeFactory.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeNode.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCachingCodec.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCodec.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeSerializer.java delete mode 100644 binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeWriterFactory.java diff --git a/binding/mdsal-binding-dom-codec/pom.xml b/binding/mdsal-binding-dom-codec/pom.xml index 98d8700d25..bb41aeabc4 100644 --- a/binding/mdsal-binding-dom-codec/pom.xml +++ b/binding/mdsal-binding-dom-codec/pom.xml @@ -96,7 +96,6 @@ org.opendaylight.mdsal.binding.dom.codec.*, org.opendaylight.mdsal.binding.dom.codec.gen.impl.*, org.opendaylight.mdsal.binding.dom.codec.impl.*, - org.opendaylight.yangtools.binding.data.codec.*, org.opendaylight.yangtools.binding.data.codec.gen.impl.*, org.opendaylight.yangtools.binding.data.codec.impl.*, ;-split-package:=error diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTree.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTree.java deleted file mode 100644 index 147d543ae2..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTree.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import javax.annotation.Nullable; -import org.opendaylight.yangtools.yang.binding.DataObject; -import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; -import org.opendaylight.yangtools.yang.model.api.SchemaPath; - -/** - * - * Navigable tree representing hierarchy of Binding to Normalized Node codecs - * - * This navigable tree is associated to conrete set of YANG models, represented by SchemaContext and - * provides access to subtree specific serialization context. - * - * @deprecated Use {@link org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTree} instead. - **/ -@Deprecated -public interface BindingCodecTree { - - @Nullable BindingCodecTreeNode getSubtreeCodec(InstanceIdentifier path); - - @Nullable BindingCodecTreeNode getSubtreeCodec(YangInstanceIdentifier path); - - @Nullable BindingCodecTreeNode getSubtreeCodec(SchemaPath path); - -} \ No newline at end of file diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeFactory.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeFactory.java deleted file mode 100644 index daa03c27fe..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeFactory.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import com.google.common.annotations.Beta; -import org.opendaylight.mdsal.binding.generator.util.BindingRuntimeContext; -import org.opendaylight.yangtools.yang.model.api.SchemaContext; - - -/** - * - * @deprecated Use {@link org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory} - * instead. - */ -@Deprecated -public interface BindingCodecTreeFactory { - - /** - * - * Creates Binding Codec Tree for specified Binding runtime context. - * - * @param context - * Binding Runtime Context for which Binding codecs should be - * instantiated. - * @return Binding Codec Tree for specified Binding runtime context. - */ - BindingCodecTree create(BindingRuntimeContext context); - - /** - * - * Creates Binding Codec Tree for specified Binding runtime context. - * - * @param context - * Binding Runtime Context for which Binding codecs should be - * instantiated. - * @param bindingClasses - * Binding Runtime Context will be constructed using bindings - * which contains specified classes, in order to support - * deserialization in multi-classloader environment. - * @return Binding Codec Tree for specified Binding runtime context. - */ - @Beta - BindingCodecTree create(SchemaContext context, Class... bindingClasses); - -} diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeNode.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeNode.java deleted file mode 100644 index ffc97fc5f6..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingCodecTreeNode.java +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import com.google.common.annotations.Beta; -import com.google.common.base.Optional; -import com.google.common.collect.ImmutableCollection; -import java.util.List; -import javax.annotation.Nonnull; -import javax.annotation.Nullable; -import org.opendaylight.yangtools.yang.binding.BindingStreamEventWriter; -import org.opendaylight.yangtools.yang.binding.DataObject; -import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; -import org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter; - -/** - * Subtree codec specific to model subtree between Java Binding and - * NormalizedNode. - * - */ -@Deprecated -public interface BindingCodecTreeNode extends BindingNormalizedNodeCodec { - - /** - * - * Returns binding class of interface which represents API of current - * schema node. - * - * The result is same as invoking {@link DataObject#getImplementedInterface()} - * on instance of data. - * - * @return interface which defines API of binding representation of data. - */ - @Nonnull - Class getBindingClass(); - - /** - * - * Returns child context as if it was walked by - * {@link BindingStreamEventWriter}. This means that to enter case, one must - * issue getChild(ChoiceClass).getChild(CaseClass). - * - * @param childClass Child class by Biding Stream navigation - * @return Context of child - * @throws IllegalArgumentException - * If supplied child class is not valid in specified context. - */ - @Nonnull - BindingCodecTreeNode streamChild(@Nonnull Class childClass); - - /** - * - * Returns child context as if it was walked by - * {@link BindingStreamEventWriter}. This means that to enter case, one must - * issue getChild(ChoiceClass).getChild(CaseClass). - * - * This method differs from {@link #streamChild(Class)}, that is less - * stricter for interfaces representing augmentation and cases, that - * may return {@link BindingCodecTreeNode} even if augmentation interface - * containing same data was supplied and does not represent augmentation - * of this node. - * - * @param childClass - * @return Context of child or Optional absent is supplied class is not - * applicable in context. - */ - Optional> possibleStreamChild(@Nonnull Class childClass); - - /** - * Returns nested node context using supplied YANG Instance Identifier - * - * @param child - * Yang Instance Identifier Argument - * @return Context of child - * @throws IllegalArgumentException - * If supplied argument does not represent valid child. - */ - @Nonnull - BindingCodecTreeNode yangPathArgumentChild(@Nonnull YangInstanceIdentifier.PathArgument child); - - /** - * Returns nested node context using supplied Binding Instance Identifier - * and adds YANG instance identifiers to supplied list. - * - * @param arg - * Binding Instance Identifier Argument - * @param builder - * Mutable instance of list, which is appended by YangInstanceIdentifiers - * as tree is walked. Use null if such side-product is not needed. - * @return Context of child - * @throws IllegalArgumentException - * If supplied argument does not represent valid child. - */ - @Nonnull - BindingCodecTreeNode bindingPathArgumentChild(@Nonnull InstanceIdentifier.PathArgument arg, - @Nullable List builder); - - /** - * - * Returns codec which uses caches serialization / deserialization results - * - * Caching may introduce performance penalty to serialization / deserialization - * but may decrease use of heap for repetitive objects. - * - * - * @param cacheSpecifier Set of objects, for which cache may be in place - * @return Codec whihc uses cache for serialization / deserialization. - */ - @Nonnull - BindingNormalizedNodeCachingCodec createCachingCodec(@Nonnull - ImmutableCollection> cacheSpecifier); - - @Beta - void writeAsNormalizedNode(T data, NormalizedNodeStreamWriter writer); - - /** - * Serializes path argument for current node. - * - * @param arg Binding Path Argument, may be null if Binding Instance Identifier does not have - * representation for current node (e.g. choice or case). - * @return Yang Path Argument, may be null if Yang Instance Identifier does not have - * representation for current node (e.g. case). - * @throws IllegalArgumentException If supplied {@code arg} is not valid. - */ - @Beta - @Nullable YangInstanceIdentifier.PathArgument serializePathArgument(@Nullable InstanceIdentifier.PathArgument arg); - - /** - * Deserializes path argument for current node. - * - * @param arg Yang Path Argument, may be null if Yang Instance Identifier does not have - * representation for current node (e.g. case). - * @return Binding Path Argument, may be null if Binding Instance Identifier does not have - * representation for current node (e.g. choice or case). - * @throws IllegalArgumentException If supplied {@code arg} is not valid. - */ - @Beta - @Nullable InstanceIdentifier.PathArgument deserializePathArgument(@Nullable YangInstanceIdentifier.PathArgument arg); - - Object getSchema(); -} diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCachingCodec.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCachingCodec.java deleted file mode 100644 index 4fbf569603..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCachingCodec.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import org.opendaylight.yangtools.yang.binding.DataObject; - -/** - * Caching variant of Binding to Normalized Node codec. - * - * Caching may introduce performance penalty to serialization / deserialization - * but may decrease use of heap for repetitive objects. - * - * @param Binding representtion of data - */ -@Deprecated -public interface BindingNormalizedNodeCachingCodec extends BindingNormalizedNodeCodec, AutoCloseable { - /** - * Invoking close will invalidate this codec and any of its child - * codecs and will invalidate cache. - * - * Any subsequent calls to this codec will fail with {@link IllegalStateException} - * thrown. - */ - @Override - void close(); -} diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCodec.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCodec.java deleted file mode 100644 index 3fa6e4de59..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeCodec.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import javax.annotation.Nonnull; -import org.opendaylight.yangtools.yang.binding.DataObject; -import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; - -/** - * - * Codec providing serialization and deserializiation between Binding - * and NormalizedNode representation of data. - * - * - * @param Binding representation of data - */ -@Deprecated -public interface BindingNormalizedNodeCodec { - - /** - * Converts from Normalized Node to Binding representation of data. - * - * @param data Normalized Node representation of data - * @return Binding representation of data - */ - @Nonnull T deserialize(@Nonnull NormalizedNode data); - - /** - * Converts from Binding to Normalized Node representation of data. - * - * @param data Binding representation of data - * @return Normalized Node representation of data - */ - @Nonnull NormalizedNode serialize(@Nonnull T data); - -} diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeSerializer.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeSerializer.java deleted file mode 100644 index 18c270899a..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeSerializer.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import java.util.Map.Entry; -import javax.annotation.Nonnull; -import javax.annotation.Nullable; -import org.opendaylight.yangtools.yang.binding.DataContainer; -import org.opendaylight.yangtools.yang.binding.DataObject; -import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; -import org.opendaylight.yangtools.yang.binding.Notification; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; -import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode; -import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; -import org.opendaylight.yangtools.yang.model.api.SchemaPath; - -/** - * Serialization service, which provides two-way serialization between Java - * Binding Data representation and NormalizedNode representation. - */ -@Deprecated -public interface BindingNormalizedNodeSerializer { - - /** - * Translates supplied Binding Instance Identifier into NormalizedNode - * instance identifier. - * - * @param binding - * Binding Instance Identifier - * @return DOM Instance Identifier - * @throws IllegalArgumentException - * If supplied Instance Identifier is not valid. - */ - YangInstanceIdentifier toYangInstanceIdentifier(@Nonnull InstanceIdentifier binding); - - /** - * Translates supplied YANG Instance Identifier into Binding instance - * identifier. - * - * @param dom - * YANG Instance Identifier - * @return Binding Instance Identifier, or null if the instance identifier - * is not representable. - */ - @Nullable - InstanceIdentifier fromYangInstanceIdentifier(@Nonnull YangInstanceIdentifier dom); - - /** - * Translates supplied Binding Instance Identifier and data into - * NormalizedNode representation. - * - * @param path - * Binding Instance Identifier pointing to data - * @param data - * Data object representing data - * @return NormalizedNode representation - * @throws IllegalArgumentException - * If supplied Instance Identifier is not valid. - */ - Entry> toNormalizedNode( - InstanceIdentifier path, T data); - - /** - * Translates supplied YANG Instance Identifier and NormalizedNode into - * Binding data. - * - * @param path Binding Instance Identifier - * @param data NormalizedNode representing data - * @return DOM Instance Identifier - */ - @Nullable - Entry, DataObject> fromNormalizedNode(@Nonnull YangInstanceIdentifier path, - NormalizedNode data); - - /** - * Translates supplied NormalizedNode Notification into Binding data. - * - * @param path Schema Path of Notification, schema path is absolute, and consists of Notification QName. - * @param data NormalizedNode representing data - * @return Binding representation of Notification - */ - @Nullable Notification fromNormalizedNodeNotification(@Nonnull SchemaPath path,@Nonnull ContainerNode data); - - /** - * Translates supplied NormalizedNode RPC input or output into Binding data. - * - * @param path Schema path of RPC data, Schema path consists of rpc QName and input / output QName. - * @param data NormalizedNode representing data - * @return Binding representation of RPC data - */ - @Nullable DataObject fromNormalizedNodeRpcData(@Nonnull SchemaPath path,@Nonnull ContainerNode data); - - /** - * Translates supplied Binding Notification or output into NormalizedNode notification. - * - * @param data NormalizedNode representing notification data - * @return NormalizedNode representation of notification - */ - @Nonnull ContainerNode toNormalizedNodeNotification(@Nonnull Notification data); - - /** - * Translates supplied Binding RPC input or output into NormalizedNode data. - * - * @param data NormalizedNode representing rpc data - * @return NormalizedNode representation of rpc data - */ - @Nonnull ContainerNode toNormalizedNodeRpcData(@Nonnull DataContainer data); -} diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeWriterFactory.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeWriterFactory.java deleted file mode 100644 index 21832907b6..0000000000 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/api/BindingNormalizedNodeWriterFactory.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.yangtools.binding.data.codec.api; - -import java.util.Map.Entry; -import javax.annotation.Nonnull; -import org.opendaylight.yangtools.yang.binding.BindingStreamEventWriter; -import org.opendaylight.yangtools.yang.binding.DataContainer; -import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; -import org.opendaylight.yangtools.yang.binding.Notification; -import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; -import org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeStreamWriter; - -/** - * - * Factory for {@link BindingStreamEventWriter}, which provides stream writers - * which translates data and delegates calls to - * {@link NormalizedNodeStreamWriter}. - * - */ -@Deprecated -public interface BindingNormalizedNodeWriterFactory { - - /** - * - * Creates a {@link BindingStreamEventWriter} for data tree path which will - * translate to NormalizedNode model and invoke proper events on supplied - * {@link NormalizedNodeStreamWriter}. - *

- * Also provides translation of supplied Instance Identifier to - * {@link YangInstanceIdentifier} so client code, does not need to translate - * that separately. - *

- * If {@link YangInstanceIdentifier} is not needed, please use - * {@link #newWriter(InstanceIdentifier, NormalizedNodeStreamWriter)} - * method to conserve resources. - * - * @param path - * Binding Path in conceptual data tree, for which writer should - * be instantiated - * @param domWriter - * Stream writer on which events will be invoked. - * @return Instance Identifier and {@link BindingStreamEventWriter} - * which will write to supplied {@link NormalizedNodeStreamWriter}. - * @throws IllegalArgumentException If supplied Instance Identifier is not valid. - */ - @Nonnull Entry newWriterAndIdentifier(@Nonnull InstanceIdentifier path, - @Nonnull NormalizedNodeStreamWriter domWriter); - - /** - * - * Creates a {@link BindingStreamEventWriter} for data tree path which will - * translate to NormalizedNode model and invoke proper events on supplied - * {@link NormalizedNodeStreamWriter}. - *

- * - * This variation does not provide YANG instance identifier and is useful - * for use-cases, where {@link InstanceIdentifier} translation is done - * in other way, or YANG instance identifier is unnecessary (e.g. notifications, RPCs). - * - * @param path Binding Path in conceptual data tree, for which writer should - * be instantiated - * @param domWriter Stream writer on which events will be invoked. - * @return {@link BindingStreamEventWriter} - * which will write to supplied {@link NormalizedNodeStreamWriter}. - * @throws IllegalArgumentException If supplied Instance Identifier is not valid. - */ - @Nonnull - BindingStreamEventWriter newWriter(@Nonnull InstanceIdentifier path, - @Nonnull NormalizedNodeStreamWriter domWriter); - - /** - * - * Creates a {@link BindingStreamEventWriter} for rpc data which will - * translate to NormalizedNode model and invoke proper events on supplied - * {@link NormalizedNodeStreamWriter}. - * - * @param rpcInputOrOutput Binding class representing RPC input or output, - * for which writer should be instantiated - * @param domWriter - * Stream writer on which events will be invoked. - * @return {@link BindingStreamEventWriter} which will write to supplied - * {@link NormalizedNodeStreamWriter}. - */ - @Nonnull - BindingStreamEventWriter newRpcWriter(@Nonnull Class rpcInputOrOutput, - @Nonnull NormalizedNodeStreamWriter domWriter); - - /** - * - * Creates a {@link BindingStreamEventWriter} for notification which will - * translate to NormalizedNode model and invoke proper events on supplied - * {@link NormalizedNodeStreamWriter}. - * - * @param notification Binding class representing notification, - * for which writer should be instantiated - * @param domWriter - * Stream writer on which events will be invoked. - * @return {@link BindingStreamEventWriter} which will write to supplied - * {@link NormalizedNodeStreamWriter}. - */ - @Nonnull - BindingStreamEventWriter newNotificationWriter(@Nonnull Class notification, - @Nonnull NormalizedNodeStreamWriter domWriter); -} -- 2.36.6