net.infonode.properties.util
public class PropertyPath extends Object
Version: $Revision: 1.3 $
| Constructor Summary | |
|---|---|
| PropertyPath(Property property)
Creates a path containing a single property.
| |
| PropertyPath(Property property, PropertyPath tail)
Creates a path by prepending a path with a property.
| |
| Method Summary | |
|---|---|
| PropertyPath | copy()
Creates a new path that is a copy of this path.
|
| Property | getProperty()
Returns the first property in this path.
|
| PropertyPath | getTail()
Returns the path after the first property.
|
Parameters: property the property
Parameters: property the property to prepend tail the path to prepend to
Returns: a copy of this path
Returns: the first property in the path
Returns: the path after the first property