|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Subgraph
A subgraph returned by the Graph
, containing the nodes in the subgraph as well as the properties and children for each
of those nodes. The Iterable.iterator()
method may be used to walk the nodes in the subgraph in a pre-order traversal.
Since this subgraph has a single node that is the top of the subgraph
, the methods that take a String
path or path object
will accept absolute or relative paths.
Method Summary | |
---|---|
Location |
getLocation()
Get the location of the node. |
int |
getMaximumDepth()
Get the maximum depth requested for this subgraph. |
Node |
getRoot()
Get the node that is at the root of the subgraph. |
Methods inherited from interface org.jboss.dna.graph.Results |
---|
getGraph, getNode, getNode, getNode, includes, includes, includes |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Location getLocation()
int getMaximumDepth()
Node getRoot()
root
of the subgraph.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |