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