|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jsieve.NumberArgument
public class NumberArgument
A parsed representation of the RFC3028 BNF...
1*DIGIT [QUANTIFIER]
Note that the stored value is the absolute value after applying the quantifier.
Constructor Summary | |
---|---|
NumberArgument(Token token)
Constructor for NumberArgument. |
Method Summary | |
---|---|
java.lang.Integer |
getInteger()
Method getInteger answers the value of the receiver as an Integer. |
java.lang.Object |
getValue()
Method getValue answers the value of the receiver's Argument. |
protected void |
setValue(java.lang.Integer number)
Sets the value of the reciver to an Integer. |
protected void |
setValue(Token aToken)
Sets the value of the receiver from a Token. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NumberArgument(Token token)
token
- Method Detail |
---|
protected void setValue(java.lang.Integer number)
number
- The value to setpublic java.lang.Object getValue()
Argument
getValue
in interface Argument
Argument.getValue()
public java.lang.Integer getInteger()
protected void setValue(Token aToken)
aToken
- The Token from which to extract the value to setpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |