org.jboss.dna.graph
Interface SubgraphNode
- All Superinterfaces:
- Iterable<Location>, Node
public interface SubgraphNode
- extends Node
An extended Node
that includes the ability to get nodes in the subgraph
relative to this node.
getNode
SubgraphNode getNode(Name childName)
- Get the node at the supplied path that is relative to this node.
- Parameters:
childName
- the name of the child node
- Returns:
- the node, or null if the node is not
included
in these results
getNode
SubgraphNode getNode(Path relativePath)
- Get the node at the supplied path that is relative to this node.
- Parameters:
relativePath
- the name that makes up a relative path to the node that is an immediate child of the
root
- Returns:
- the node, or null if the node is not
included
in these results
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.