|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
public abstract class MetaPatternParser
Base class for various MetaPattern based parsers.
Constructor Summary | |
---|---|
MetaPatternParser(CharSequence input)
Construct the parser. |
|
MetaPatternParser(MetaPattern pattern,
CharSequence input)
Construct the parser and initialize the matcher with the pattern given. |
Method Summary | |
---|---|
protected boolean |
advance(MetaPattern pattern)
Advance parsing to the next element. |
boolean |
atEnd()
Whether the internal cursor has advanced to the end of the input. |
Matcher |
matcher()
Gets the matcher. |
boolean |
matches()
Whether the matcher matches the pattern. |
void |
setPattern(MetaPattern pattern)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetaPatternParser(CharSequence input)
input
- to parseto initialize the matcher with the pattern.
public MetaPatternParser(MetaPattern pattern, CharSequence input)
pattern
- Meta patterninput
- Input to parseMethod Detail |
---|
public void setPattern(MetaPattern pattern)
pattern
- Patternprotected final boolean advance(MetaPattern pattern)
pattern
- Meta pattern
public boolean matches()
public final Matcher matcher()
public final boolean atEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |