public interface Matcher
Modifier and Type | Field and Description |
---|---|
static Matcher |
NON_MATCHING |
Modifier and Type | Method and Description |
---|---|
int |
depth()
Matcher depth.
|
java.lang.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(java.lang.String name)
Returns a matcher for given child node name based on current state
|
static final Matcher NON_MATCHING
Matcher next(java.lang.String name)
name
- child node nameboolean isMatch()
java.lang.String getMatchedPath()
int depth()
boolean matchesAllChildren()
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.