Interface JcrPathParser.Listener
-
- Enclosing class:
- JcrPathParser
public static interface JcrPathParser.Listener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
current()
void
error(String message)
Informs this listener that parsing the jcr name failed.boolean
name(String name, int index)
Informs this listener about the result ofJcrNameParser.parse(String, Listener, int)
boolean
parent()
boolean
root()
-
-
-
Method Detail
-
root
boolean root()
-
current
boolean current()
-
parent
boolean parent()
-
error
void error(String message)
Informs this listener that parsing the jcr name failed.- Parameters:
message
- Details about the error.- See Also:
JcrNameParser.parse(String, Listener, int)
-
name
boolean name(String name, int index)
Informs this listener about the result ofJcrNameParser.parse(String, Listener, int)
- Parameters:
name
- The resulting name upon successful completion ofJcrNameParser.parse(String, Listener, int)
index
- the index (or0
when not specified)
-
-