Copyright© 2008-2026 Sitevision AB, all rights reserved.
public static class TraversingItemVisitor.Default extends TraversingItemVisitor
TraversingItemVisitor.TraversingItemVisitor.DefaultbreadthFirst, maxLevel| Constructor and Description |
|---|
Default() |
Default(boolean breadthFirst) |
Default(boolean breadthFirst,
int maxLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
entering(Node node,
int level)
Implement this method to add behavior performed before a
Node is visited. |
protected void |
entering(Property property,
int level)
Implement this method to add behavior performed before a
Property is visited. |
protected void |
leaving(Node node,
int level)
Implement this method to add behavior performed after a
Node
is visited. |
protected void |
leaving(Property property,
int level)
Implement this method to add behavior performed after a
Property is visited. |
visit, visitpublic Default()
TraversingItemVisitor()public Default(boolean breadthFirst)
breadthFirst - a booleanTraversingItemVisitor()public Default(boolean breadthFirst,
int maxLevel)
breadthFirst - a booleanmaxLevel - an intTraversingItemVisitor(boolean, int)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 occurs.TraversingItemVisitor.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 occurs.TraversingItemVisitor.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 occurs.TraversingItemVisitor.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 occurs.TraversingItemVisitor.leaving(Property, int)Sitevision - Content Management Made Easy
Sitevision is an advanced Java enterprise portal product that implements Java Content Repository (JSR 283).
Copyright© 2008-2026 Sitevision AB, all rights reserved.