Class NounInflector.Replacer
java.lang.Object
org.glassfish.jersey.jaxb.internal.NounInflector.Replacer
- Enclosing class:
NounInflector
Internal class that uses a regular expression matcher to both match the specified regular expression to a specified word, and (if successful) perform the appropriate substitutions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreplacement
(String input) Replace the input if it matches the pattern.
-
Field Details
-
pattern
-
rule
-
-
Constructor Details
-
Replacer
-
-
Method Details
-
replacement
Replace the input if it matches the pattern.- Parameters:
input
- the input string.- Returns:
- the replacement, if the input matches, otherwise null.
-