Uses of Class
org.apache.jackrabbit.spi.commons.name.Pattern
- 
Packages that use Pattern Package Description org.apache.jackrabbit.spi.commons.name  - 
- 
Uses of Pattern in org.apache.jackrabbit.spi.commons.name
Methods in org.apache.jackrabbit.spi.commons.name that return Pattern Modifier and Type Method Description static PatternPattern. all()A pattern which matches all input.static PatternPattern. name(String namespaceUri, String localName)Constructs a pattern which matches a path elements against regular expressions.static PatternPattern. name(Name name)Construct a new pattern which matches a path element of a given namestatic PatternPattern. nothing()A pattern which matches nothing.static PatternPattern. path(Path path)Construct a new pattern which matches an exact pathstatic PatternPattern. repeat(Pattern pattern)A pattern which matchespatternas many times as possiblestatic PatternPattern. repeat(Pattern pattern, int min, int max)A pattern which matchespatternas many times as possible but at leastmintimes and at mostmaxtimes.static PatternPattern. selection(Pattern pattern1, Pattern pattern2)A pattern which matchespattern1followed bypattern2and returns the longer of the two matches.static PatternPattern. sequence(Pattern pattern1, Pattern pattern2)A pattern which matchespattern1followed bypattern2.Methods in org.apache.jackrabbit.spi.commons.name with parameters of type Pattern Modifier and Type Method Description static MatchResultMatcher. findMatch(Pattern pattern, Path input)Find the first match of a pattern in a path.static MatchResultMatcher. findMatch(Pattern pattern, Path input, int pos)Find the first match of a pattern in a path starting at a given position.static PathMatcher. match(Pattern pattern, Path input)Match a pattern against an input path and return the remaining path.static booleanMatcher. matches(Pattern pattern, Path input)Checks whether a pattern matches an input path.static PatternPattern. repeat(Pattern pattern)A pattern which matchespatternas many times as possiblestatic PatternPattern. repeat(Pattern pattern, int min, int max)A pattern which matchespatternas many times as possible but at leastmintimes and at mostmaxtimes.static PatternPattern. selection(Pattern pattern1, Pattern pattern2)A pattern which matchespattern1followed bypattern2and returns the longer of the two matches.static PatternPattern. sequence(Pattern pattern1, Pattern pattern2)A pattern which matchespattern1followed bypattern2. 
 -