It can either refer to a inner node (that is a {@link Tree}), to a leaf (that is a {@link PropertyState}) or to an invalid location which refers to neither of the former. {@code TreeLocation} instances provide methods for navigating trees such that navigationalways results in new {@code TreeLocation} instances. Navigation never fails. Errors aredeferred until the underlying item itself is accessed. That is, if a {@code TreeLocation}points to an item which does not exist or is unavailable otherwise (i.e. due to access control restrictions) accessing the tree will return {@code null} at this point.
It can either refer to a inner node (that is a {@link Tree}), to a leaf (that is a {@link PropertyState}) or to an invalid location which refers to neither of the former. {@code TreeLocation} instances provide methods for navigating trees such that navigationalways results in new {@code TreeLocation} instances. Navigation never fails. Errors aredeferred until the underlying item itself is accessed. That is, if a {@code TreeLocation}points to an item which does not exist or is unavailable otherwise (i.e. due to access control restrictions) accessing the tree will return {@code null} at this point.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|