|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jeceira.syntax.Path.Normalizer
Normalizes any given path by resolving '.' and '..' elements. Note that
the start node of the path can change during the normalization process
and thus, a PathNotFoundException
might occur. Also note
that the array of normalized path elements can be empty. In this case,
the start node is the element that the path points to.
Constructor Summary | |
(package private) |
Path.Normalizer(SessionNode startNode)
Creates a path normalizer with the specified start node. |
Method Summary | |
(package private) void |
addElement(PathElement pathElement)
Adds the specified path element to the normalized path. |
(package private) PathElement[] |
getElements()
Returns the path elements of the normalized path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
Path.Normalizer(SessionNode startNode)
Method Detail |
void addElement(PathElement pathElement) throws PathNotFoundException, RepositoryException
PathNotFoundException
- if the specified element is the first element of the
currently normalized path and equal to
PathElement.DOUBLE_DOT
and the start node is a
root node
RepositoryException
PathElement[] getElements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |