public interface Matcher
| Modifier and Type | Field and Description |
|---|---|
static Matcher |
NON_MATCHING |
| Modifier and Type | Method and Description |
|---|---|
int |
depth()
Matcher depth.
|
String |
getMatchedPath()
Relative node path from the bundling root if
there was a match
|
boolean |
isMatch()
Returns true if there was a match wrt current child node path
|
boolean |
matchesAllChildren()
Returns true if matcher for all immediate child node
would also be a matching matcher.
|
Matcher |
next(String name)
Returns a matcher for given child node name based on current state
|
static final Matcher NON_MATCHING
Matcher next(String name)
name - child node nameboolean isMatch()
String getMatchedPath()
int depth()
boolean matchesAllChildren()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.