Package | Description |
---|---|
org.apache.jackrabbit.commons.flat |
Modifier and Type | Field and Description |
---|---|
protected TreeTraverser.ErrorHandler |
ItemSequence.errorHandler
The
TreeTraverser.ErrorHandler instance used for handling exceptions occurring
while traversing the hierarchy. |
static TreeTraverser.ErrorHandler |
TreeTraverser.ErrorHandler.IGNORE
Predefined error handler which ignores all exceptions.
|
Modifier and Type | Method and Description |
---|---|
static NodeSequence |
ItemSequence.createNodeSequence(TreeManager treeManager,
TreeTraverser.ErrorHandler errorHandler)
Create a new
NodeSequence instance. |
static PropertySequence |
ItemSequence.createPropertySequence(TreeManager treeManager,
TreeTraverser.ErrorHandler errorHandler)
Create a new
PropertySequence instance. |
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 |
---|
ItemSequence(TreeManager treeManager,
TreeTraverser.ErrorHandler errorHandler)
Create a new
ItemSequence instance. |
NodeSequenceImpl(TreeManager treeManager,
TreeTraverser.ErrorHandler errorHandler) |
PropertySequenceImpl(TreeManager treeManager,
TreeTraverser.ErrorHandler errorHandler) |
TreeTraverser(Node root,
TreeTraverser.ErrorHandler errorHandler,
TreeTraverser.InclusionPolicy<? super Node> inclusionPolicy)
Create a new instance of a TreeTraverser rooted at
node . |
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.