|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser
org.apache.wicket.util.parse.metapattern.parsers.IntegerVariableAssignmentParser
public final class IntegerVariableAssignmentParser
Parses integer variable assignments, such as "x = 9" or "x=9".
| Constructor Summary | |
|---|---|
IntegerVariableAssignmentParser(CharSequence input)
Construct. |
|
| Method Summary | |
|---|---|
int |
getIntValue()
Gets the int part (eg the '9' from 'x = 9'). |
long |
getLongValue()
Gets the int part as a long. |
String |
getVariable()
Gets the variable part (eg the 'x' from 'x = 9'). |
| Methods inherited from class org.apache.wicket.util.parse.metapattern.parsers.MetaPatternParser |
|---|
advance, atEnd, matcher, matches, setPattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerVariableAssignmentParser(CharSequence input)
input - to parse| Method Detail |
|---|
public String getVariable()
public int getIntValue()
public long getLongValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||