Copyright© 2008-2018 SiteVision AB, all rights reserved.
public static class TraversingItemVisitor.Default extends TraversingItemVisitor
TraversingItemVisitor
.TraversingItemVisitor.Default
breadthFirst, 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, visit
public Default()
public Default(boolean breadthFirst)
breadthFirst
- a booleanTraversingItemVisitor.TraversingItemVisitor()
public Default(boolean breadthFirst, int maxLevel)
breadthFirst
- a booleanmaxLevel
- an intTraversingItemVisitor.TraversingItemVisitor(boolean, int)
protected void entering(Node node, int level) throws RepositoryException
TraversingItemVisitor
Node
is visited.entering
in class TraversingItemVisitor
node
- 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
TraversingItemVisitor
Property
is visited.entering
in class TraversingItemVisitor
property
- 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
TraversingItemVisitor
Node
is visited.leaving
in class TraversingItemVisitor
node
- 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
TraversingItemVisitor
Property
is visited.leaving
in class TraversingItemVisitor
property
- 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 - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2018 SiteVision AB, all rights reserved.