Deprecate DataNodeIterator 79/86879/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 14 Jan 2020 14:56:18 +0000 (15:56 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 14 Jan 2020 14:56:18 +0000 (15:56 +0100)
commitadf41b25c82b005f66a0de86a8e3c8a8a455cf76
tree749b13b0ebfe606c49a35ab3f3aea05bd7f80cb6
parent1adcabecdcab85b6ed657271758560fc5eeb917f
Deprecate DataNodeIterator

This class is used in two places only, where each of the places
only needs specific type of nodes. Expose utility methods for
those two cases and a general tranverser method from SchemaNodeUtils
and deprecate DataNodeIterator.

Change-Id: I4fdc47e16fe2ea7e6f042bb80fe869657ee93fac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeAggregator.java [new file with mode: 0644]
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/DataNodeIterator.java
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaNodeUtils.java