public static class TraversingItemVisitor.Default extends TraversingItemVisitor
TraversingItemVisitor.TraversingItemVisitor.DefaultbreadthFirst, maxLevel| Constructor and Description |
|---|
TraversingItemVisitor.Default() |
TraversingItemVisitor.Default(boolean breadthFirst) |
TraversingItemVisitor.Default(boolean breadthFirst,
int maxLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
entering(Node node,
int level)
Implement this method to add behaviour performed before a
Node is visited. |
protected void |
entering(Property property,
int level)
Implement this method to add behaviour performed before a
Property is visited. |
protected void |
leaving(Node node,
int level)
Implement this method to add behaviour performed after a
Node is visited. |
protected void |
leaving(Property property,
int level)
Implement this method to add behaviour performed after a
Property is visited. |
visit, visitpublic TraversingItemVisitor.Default()
public TraversingItemVisitor.Default(boolean breadthFirst)
public TraversingItemVisitor.Default(boolean breadthFirst,
int maxLevel)
protected void entering(Node node, int level) throws RepositoryException
TraversingItemVisitorNode is visited.entering in class TraversingItemVisitornode - the Node that is accepting this visitor.level - hierarchy level of this node (the root node starts at level 0)RepositoryException - if an error occurrsTraversingItemVisitor.entering(Node, int)protected void entering(Property property, int level) throws RepositoryException
TraversingItemVisitorProperty is visited.entering in class TraversingItemVisitorproperty - the Property that is accepting this visitor.level - hierarchy level of this property (the root node starts at level 0)RepositoryException - if an error occurrsTraversingItemVisitor.entering(Property, int)protected void leaving(Node node, int level) throws RepositoryException
TraversingItemVisitorNode is visited.leaving in class TraversingItemVisitornode - the Node that is accepting this visitor.level - hierarchy level of this node (the root node starts at level 0)RepositoryException - if an error occurrsTraversingItemVisitor.leaving(Node, int)protected void leaving(Property property, int level) throws RepositoryException
TraversingItemVisitorProperty is visited.leaving in class TraversingItemVisitorproperty - the Property that is accepting this visitor.level - hierarchy level of this property (the root node starts at level 0)RepositoryException - if an error occurrsTraversingItemVisitor.leaving(Property, int)