public class DataNodeIterator extends Object implements Iterator<DataSchemaNode>
DataSchemaNode present in subtree.
Iterator instance is eagerly created, walking happens on initialization. Iteration is not ordered.
| Constructor and Description |
|---|
DataNodeIterator(DataNodeContainer container) |
| Modifier and Type | Method and Description |
|---|---|
List<ChoiceSchemaNode> |
allChoices()
Returns list all choices present in subtree.
|
List<ContainerSchemaNode> |
allContainers()
Returns list all containers present in subtree.
|
List<GroupingDefinition> |
allGroupings()
Returns list all groupings present in subtree.
|
List<ListSchemaNode> |
allLists()
Returns list all lists present in subtree.
|
List<TypeDefinition<?>> |
allTypedefs()
Returns list all typedefs present in subtree.
|
boolean |
hasNext() |
DataSchemaNode |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic DataNodeIterator(DataNodeContainer container)
public List<ContainerSchemaNode> allContainers()
public List<ListSchemaNode> allLists()
public List<ChoiceSchemaNode> allChoices()
public List<GroupingDefinition> allGroupings()
public List<TypeDefinition<?>> allTypedefs()
public boolean hasNext()
hasNext in interface Iterator<DataSchemaNode>public DataSchemaNode next()
next in interface Iterator<DataSchemaNode>Copyright © 2019 OpenDaylight. All rights reserved.