public class NamespaceMatcher extends AbstractMatcher<NamespaceMatch>
| Constructor and Description |
|---|
NamespaceMatcher(PatternMatcher<?> patternMatcher,
Set<String> namespaces) |
NamespaceMatcher(PatternMatcher<?> patternMatcher,
Set<String> namespaces,
boolean appendNamedParameters)
Matches namespace strings against a wildcard pattern matcher
|
| Modifier and Type | Method and Description |
|---|---|
protected NamespaceMatch |
convert(String path,
NamespaceMatch orig,
Map<String,String> vars)
Clones the target object and its children, replacing various
properties with the values of the wildcard-matched strings.
|
addPattern, convertParam, freeze, match, replaceParameterspublic NamespaceMatcher(PatternMatcher<?> patternMatcher, Set<String> namespaces)
public NamespaceMatcher(PatternMatcher<?> patternMatcher, Set<String> namespaces, boolean appendNamedParameters)
patternMatcher - pattern matchernamespaces - A set of namespaces to processappendNamedParameters - To append named parameters or notprotected NamespaceMatch convert(String path, NamespaceMatch orig, Map<String,String> vars)
AbstractMatcherClones the target object and its children, replacing various properties with the values of the wildcard-matched strings.
convert in class AbstractMatcher<NamespaceMatch>path - The requested pathorig - The original objectvars - A Map of wildcard-matched stringsCopyright © 2000–2024 Apache Software Foundation. All rights reserved.