Module org.apache.wicket.util
Class WordParser
java.lang.Object
org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
org.apache.wicket.util.parse.metapattern.parsers.WordParser
Matches a 'word' surrounded by whitespace. See java.util.regex.Pattern for more details on what 'word' means.
- Author:
- Jonathan Locke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
advance, atEnd, matcher, matches, setPattern
-
Constructor Details
-
WordParser
Construct.- Parameters:
input
- to parse
-
-
Method Details
-
getWord
Gets the word including the optional whitespace surrounding the word.- Returns:
- the word surrounded by whitespace
-