public class JSONStreamVisitorToPipe<M extends MessageSchema<M>,K extends Enum<K> & TrieKeyable> extends Object implements JSONStreamVisitor
| Constructor and Description |
|---|
JSONStreamVisitorToPipe(Pipe<M> pipe,
Class<K> keys,
int bottom,
MapJSONToPipeBuilder<M,K> mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray() |
void |
beginObject() |
void |
customString(int id) |
void |
endArray() |
void |
endObject() |
boolean |
isReady() |
void |
literalFalse() |
void |
literalNull() |
void |
literalTrue() |
void |
nameSeparator() |
void |
numberValue(long m,
byte e) |
ByteConsumer |
stringAccumulator() |
void |
stringBegin() |
void |
stringEnd() |
void |
valueSeparator() |
void |
whiteSpace(byte b) |
protected void |
writeDecimal(int loc,
byte e,
long m) |
protected void |
writeInt(int loc,
int value) |
protected void |
writeLong(int loc,
long value) |
protected void |
writeUTF8(int loc,
CharSequence value) |
public boolean isReady()
isReady in interface JSONStreamVisitorpublic void nameSeparator()
nameSeparator in interface JSONStreamVisitorpublic void endObject()
endObject in interface JSONStreamVisitorpublic void beginObject()
beginObject in interface JSONStreamVisitorpublic void beginArray()
beginArray in interface JSONStreamVisitorpublic void endArray()
endArray in interface JSONStreamVisitorpublic void valueSeparator()
valueSeparator in interface JSONStreamVisitorpublic void whiteSpace(byte b)
whiteSpace in interface JSONStreamVisitorpublic void literalTrue()
literalTrue in interface JSONStreamVisitorpublic void literalNull()
literalNull in interface JSONStreamVisitorpublic void literalFalse()
literalFalse in interface JSONStreamVisitorprotected void writeUTF8(int loc,
CharSequence value)
protected void writeInt(int loc,
int value)
protected void writeLong(int loc,
long value)
protected void writeDecimal(int loc,
byte e,
long m)
public void numberValue(long m,
byte e)
numberValue in interface JSONStreamVisitorpublic void stringBegin()
stringBegin in interface JSONStreamVisitorpublic ByteConsumer stringAccumulator()
stringAccumulator in interface JSONStreamVisitorpublic void stringEnd()
stringEnd in interface JSONStreamVisitorpublic void customString(int id)
customString in interface JSONStreamVisitorCopyright © 2018. All Rights Reserved.