org.apache.wicket.util.parse.metapattern.parsers
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
Method Summary |
String |
getWord()
Gets the word including the optional whitespace surrounding the word. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordParser
public WordParser(CharSequence input)
- Construct.
- Parameters:
input
- to parse
getWord
public String getWord()
- Gets the word including the optional whitespace surrounding the word.
- Returns:
- the word surrounded by whitespace
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.