|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HierarchyResolver
HierarchyResolver
extends an IndexReader
with the ability to resolve a JCR hierarchy.
Method Summary | |
---|---|
int |
getParent(int n)
Returns the document number of the parent of n or
-1 if n does not have a parent (n
is the root node). |
Method Detail |
---|
int getParent(int n) throws IOException
n
or
-1
if n
does not have a parent (n
is the root node).
n
- the document number.
n
's parent.
IOException
- if an error occurs while reading from the index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |