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