public class MapWriter extends AbstractMapWriter<Map>
ValueWriter.Factory<V>, ValueWriter.Registry
Constructor and Description |
---|
MapWriter(ValueWriter.Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected int |
getMapCount() |
protected boolean |
hasMapNext() |
protected Object |
nextKey() |
protected Object |
nextValue() |
protected void |
onClear() |
protected void |
onReset() |
protected void |
onSetValue(Map value) |
static void |
register(ValueWriter.Registry registry) |
clear, getCount, getFourOctetEncodingCode, getSingleOctetEncodingCode, hasNext, next, reset
getRegistry, isCacheable, isComplete, setRegistry, setValue, writeToBuffer, writeToBuffer
public MapWriter(ValueWriter.Registry registry)
protected void onSetValue(Map value)
onSetValue
in class CompoundWriter<Map>
protected int getMapCount()
getMapCount
in class AbstractMapWriter<Map>
protected boolean hasMapNext()
hasMapNext
in class AbstractMapWriter<Map>
protected Object nextKey()
nextKey
in class AbstractMapWriter<Map>
protected Object nextValue()
nextValue
in class AbstractMapWriter<Map>
protected void onClear()
onClear
in class AbstractMapWriter<Map>
protected void onReset()
onReset
in class AbstractMapWriter<Map>
public static void register(ValueWriter.Registry registry)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.