public class IntervalValueListener extends ScalarListener
Modifier and Type | Field and Description |
---|---|
static org.joda.time.format.PeriodFormatter |
FORMATTER |
isArray, loader, writer
Constructor and Description |
---|
IntervalValueListener(JsonLoaderImpl loader,
ScalarWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
onValue(com.fasterxml.jackson.core.JsonToken token,
TokenIterator tokenizer)
Called for a JSON scalar token.
|
onText, schema, setArrayNull, setNull, typeConversionError
public IntervalValueListener(JsonLoaderImpl loader, ScalarWriter writer)
public void onValue(com.fasterxml.jackson.core.JsonToken token, TokenIterator tokenizer)
ValueListener
onValue
in interface ValueListener
onValue
in class ScalarListener
token
- the scalar tokentokenizer
- provides access to the value of the tokenCopyright © 1970 The Apache Software Foundation. All rights reserved.