Class WordParser
- java.lang.Object
-
- org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
-
- org.apache.wicket.util.parse.metapattern.parsers.WordParser
-
public final class WordParser extends MetaPatternParser
Matches a 'word' surrounded by whitespace. See java.util.regex.Pattern for more details on what 'word' means.- Author:
- Jonathan Locke
-
-
Constructor Summary
Constructors Constructor Description WordParser(CharSequence input)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWord()
Gets the word including the optional whitespace surrounding the word.-
Methods inherited from class org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
advance, atEnd, matcher, matches, setPattern
-
-
-
-
Constructor Detail
-
WordParser
public WordParser(CharSequence input)
Construct.- Parameters:
input
- to parse
-
-