|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Node
A node in a graph
, with methods to access the properties and children.
Method Summary | |
---|---|
List<Location> |
getChildren()
Get the children of the node. |
List<Path.Segment> |
getChildrenSegments()
Get the list of child segments . |
Graph |
getGraph()
Get the graph containing the node. |
Location |
getLocation()
Get the location of the node. |
Collection<Property> |
getProperties()
Get the properties on the node. |
Map<Name,Property> |
getPropertiesByName()
Get the map of properties keyed by the property names. |
Property |
getProperty(Name name)
Get the property with the supplied name. |
Property |
getProperty(String name)
Get the property with the supplied name. |
boolean |
hasChildren()
Return whether this node has children. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Graph getGraph()
Location getLocation()
Collection<Property> getProperties()
Property getProperty(String name)
name
- the property name
Property getProperty(Name name)
name
- the property name
Map<Name,Property> getPropertiesByName()
List<Location> getChildren()
List<Path.Segment> getChildrenSegments()
segments
.
boolean hasChildren()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |