public class NumberHandler extends AbstractBodyDecoderHandler
Modifier and Type | Field and Description |
---|---|
static int |
MODE_BYTE |
static int |
MODE_DOUBLE |
static int |
MODE_FLOAT |
static int |
MODE_INT |
static int |
MODE_LONG |
static int |
MODE_SHORT |
elementName
objectTL, refTL
object, refId
Constructor and Description |
---|
NumberHandler(int mode) |
Modifier and Type | Method and Description |
---|---|
Decoder<?> |
getBodyDecoder()
Called when body data is encountered in this tag or a sub-tag.
|
clone, createNoBodyObject, endElement, getElementName, onBody, startElement, supportsNestedElements
getObject, getRefId, setObject, setRefId
endObject, endSubElement, startSubElement
public static final int MODE_BYTE
public static final int MODE_SHORT
public static final int MODE_INT
public static final int MODE_LONG
public static final int MODE_FLOAT
public static final int MODE_DOUBLE
public Decoder<?> getBodyDecoder()
DeserializationHandler
DeserializationHandler.onBody(Object)