Package | Description |
---|---|
org.apache.jackrabbit.commons.flat |
Modifier and Type | Field and Description |
---|---|
static TreeTraverser.InclusionPolicy<Item> |
TreeTraverser.InclusionPolicy.ALL
This inclusions policy includes all items.
|
static TreeTraverser.InclusionPolicy<Node> |
TreeTraverser.InclusionPolicy.LEAVES
This inclusion policy includes leave nodes only.
|
Modifier and Type | Method and Description |
---|---|
static Iterator<Node> |
TreeTraverser.nodeIterator(Node root,
TreeTraverser.ErrorHandler errorHandler,
TreeTraverser.InclusionPolicy<? super Node> inclusionPolicy)
Create an iterator for the nodes of the sub-tree rooted at
root . |
static Iterator<Property> |
TreeTraverser.propertyIterator(Iterator<Node> nodes,
TreeTraverser.ErrorHandler errorHandler,
TreeTraverser.InclusionPolicy<? super Property> inclusionPolicy)
Create an iterator of the properties for a given iterator of nodes.
|
static Iterator<Property> |
TreeTraverser.propertyIterator(Node root,
TreeTraverser.ErrorHandler errorHandler,
TreeTraverser.InclusionPolicy<Item> inclusionPolicy)
Create an iterator of the properties of all nodes of the sub-tree rooted
at
root . |
Constructor and Description |
---|
TreeTraverser(Node root,
TreeTraverser.ErrorHandler errorHandler,
TreeTraverser.InclusionPolicy<? super Node> inclusionPolicy)
Create a new instance of a TreeTraverser rooted at
node . |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.