Path
consisting of those Path.Element objects between the given from
, inclusive, and the given to
, exclusive. An IllegalArgumentException
is thrown if from
is greater or equal than to
or if any of both params is out of the possible range. A RepositoryException
is thrown if this Path
is not normalized.
@param from index of the element to start with and low endpoint(inclusive) within the list of elements to use for the sub-path.
@param to index of the element outside of the range i.e. high endpoint(exclusive) within the list of elements to use for the sub-path.
@return a new Path
consisting of those Path.Element objectsbetween the given from
, inclusive, and the given to
, exclusive.
@throws IllegalArgumentException if from
is greater or equal than to
or if any of both params is out of the possible range.
@throws RepositoryException If this Path is not normalized.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|