|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.stax2.typed.TypedValueDecoder
org.codehaus.stax2.ri.typed.ValueDecoderFactory.DecoderBase
org.codehaus.stax2.ri.typed.ValueDecoderFactory.FloatDecoder
public static final class ValueDecoderFactory.FloatDecoder
| Field Summary | |
|---|---|
protected float |
mValue
|
| Fields inherited from class org.codehaus.stax2.ri.typed.ValueDecoderFactory.DecoderBase |
|---|
mNextPtr |
| Constructor Summary | |
|---|---|
ValueDecoderFactory.FloatDecoder()
|
|
| Method Summary | |
|---|---|
void |
decode(char[] lexical,
int start,
int end)
Method used to invoke decoding functionality, for decoding the value encoded in given portion of character array It is to try decoding value, and either store decoded value for later access (using method(s) caller knows about), or throw an exception to indicate problem encountered. |
void |
decode(String lexical)
Method used to invoke decoding functionality, for decoding the value encoded in given substring. |
String |
getType()
|
float |
getValue()
|
| Methods inherited from class org.codehaus.stax2.ri.typed.ValueDecoderFactory.DecoderBase |
|---|
_clean, constructInvalidValue, constructInvalidValue, handleEmptyValue, lexicalDesc, lexicalDesc, parseInt, parseInt, parseInt, parseInt, parseLong, parseLong, skipSignAndZeroes, skipSignAndZeroes, verifyDigits, verifyDigits |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected float mValue
| Constructor Detail |
|---|
public ValueDecoderFactory.FloatDecoder()
| Method Detail |
|---|
public String getType()
getType in class ValueDecoderFactory.DecoderBasepublic float getValue()
public void decode(String lexical)
throws IllegalArgumentException
TypedValueDecoder
Note: method will get called with "trimmed" input, i.e. input
will never have any leading or trailing white space.
It will also never be called with empty content
(TypedValueDecoder.handleEmptyValue() is called instead for such cases)
decode in class TypedValueDecoderIllegalArgumentException
public void decode(char[] lexical,
int start,
int end)
throws IllegalArgumentException
TypedValueDecoder
Note: method will get called with "trimmed" input, i.e. input
will never have any leading or trailing white space.
It will also never be called with empty content
(TypedValueDecoder.handleEmptyValue() is called instead for such cases)
decode in class TypedValueDecoderIllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||