Interface JcrPathParser.Listener
-
- Enclosing class:
- JcrPathParser
public static interface JcrPathParser.Listener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancurrent()voiderror(String message)Informs this listener that parsing the jcr name failed.booleanname(String name, int index)Informs this listener about the result ofJcrNameParser.parse(String, Listener, int)booleanparent()booleanroot()
-
-
-
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 (or0when not specified)
-
-