public class MessagePackGenerator
extends com.fasterxml.jackson.core.base.GeneratorBase
| Constructor and Description |
|---|
MessagePackGenerator(int features,
com.fasterxml.jackson.core.ObjectCodec codec,
java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_releaseBuffers() |
protected void |
_verifyValueWrite(java.lang.String typeMsg) |
void |
close() |
void |
flush() |
void |
writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
byte[] data,
int offset,
int len) |
void |
writeBoolean(boolean state) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(java.lang.String name) |
void |
writeNull() |
void |
writeNumber(java.math.BigDecimal dec) |
void |
writeNumber(java.math.BigInteger v) |
void |
writeNumber(double d) |
void |
writeNumber(float f) |
void |
writeNumber(int v) |
void |
writeNumber(long v) |
void |
writeNumber(java.lang.String encodedValue) |
void |
writeRaw(char c) |
void |
writeRaw(char[] text,
int offset,
int len) |
void |
writeRaw(java.lang.String text) |
void |
writeRaw(java.lang.String text,
int offset,
int len) |
void |
writeRawUTF8String(byte[] text,
int offset,
int length) |
void |
writeStartArray() |
void |
writeStartObject() |
void |
writeString(char[] text,
int offset,
int len) |
void |
writeString(java.lang.String text) |
void |
writeUTF8String(byte[] text,
int offset,
int length) |
disable, enable, getCodec, getFeatureMask, getOutputContext, isClosed, isEnabled, setCodec, setFeatureMask, useDefaultPrettyPrinter, version, writeBinary, writeFieldName, writeObject, writeRawValue, writeRawValue, writeRawValue, writeString, writeTree_reportError, _reportUnsupportedOperation, _throwInternal, _writeSimpleObject, canOmitFields, canUseSchema, canWriteBinaryNatively, canWriteObjectId, canWriteTypeId, configure, copyCurrentEvent, copyCurrentStructure, getCharacterEscapes, getHighestEscapedChar, getOutputTarget, getPrettyPrinter, getSchema, setCharacterEscapes, setHighestNonEscapedChar, setPrettyPrinter, setRootValueSeparator, setSchema, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeNullField, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writeRaw, writeStartArray, writeStringField, writeTypeIdpublic MessagePackGenerator(int features,
com.fasterxml.jackson.core.ObjectCodec codec,
java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic void writeStartArray()
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeEndArray()
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeStartObject()
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeEndObject()
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeFieldName(java.lang.String name)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeString(java.lang.String text)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeString in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeString(char[] text,
int offset,
int len)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeString in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeRawUTF8String(byte[] text,
int offset,
int length)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeUTF8String(byte[] text,
int offset,
int length)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeRaw(java.lang.String text)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeRaw(java.lang.String text,
int offset,
int len)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeRaw(char[] text,
int offset,
int len)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeRaw(char c)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
byte[] data,
int offset,
int len)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(int v)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(long v)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(java.math.BigInteger v)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(double d)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(float f)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(java.math.BigDecimal dec)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNumber(java.lang.String encodedValue)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException,
java.lang.UnsupportedOperationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionjava.lang.UnsupportedOperationExceptionpublic void writeBoolean(boolean state)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeNull()
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeNull in class com.fasterxml.jackson.core.JsonGeneratorjava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class com.fasterxml.jackson.core.base.GeneratorBasejava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class com.fasterxml.jackson.core.base.GeneratorBasejava.io.IOExceptionprotected void _releaseBuffers()
_releaseBuffers in class com.fasterxml.jackson.core.base.GeneratorBaseprotected void _verifyValueWrite(java.lang.String typeMsg)
throws java.io.IOException,
com.fasterxml.jackson.core.JsonGenerationException
_verifyValueWrite in class com.fasterxml.jackson.core.base.GeneratorBasejava.io.IOExceptioncom.fasterxml.jackson.core.JsonGenerationException