Modifier and Type | Method and Description |
---|---|
Node |
select(Node node,
Direction dir,
TraversalContext context)
Traverse from owner, in direction dir.
|
Node |
selectFirst(TraversalContext context)
Return the first traversable node for the specified context (root).
|
Node |
selectLast(TraversalContext context)
Return the last traversable node for the specified context (root).
|
public Node select(Node node, Direction dir, TraversalContext context)
Algorithm
public Node selectFirst(TraversalContext context)
Algorithm
selectFirst
in interface Algorithm
context
- the context that contains the rootpublic Node selectLast(TraversalContext context)
Algorithm
selectLast
in interface Algorithm
context
- the context that contains the rootCopyright © 2020. All rights reserved.