public class WidgetJsonGenerator
extends com.fasterxml.jackson.core.JsonGenerator
| Constructor and Description |
|---|
WidgetJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseSchema(com.fasterxml.jackson.core.FormatSchema schema) |
void |
close() |
void |
copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jsonParser) |
void |
copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jsonParser) |
com.fasterxml.jackson.core.JsonGenerator |
disable(com.fasterxml.jackson.core.JsonGenerator.Feature feature) |
com.fasterxml.jackson.core.JsonGenerator |
enable(com.fasterxml.jackson.core.JsonGenerator.Feature feature) |
void |
flush() |
com.fasterxml.jackson.core.io.CharacterEscapes |
getCharacterEscapes() |
com.fasterxml.jackson.core.ObjectCodec |
getCodec() |
int |
getFeatureMask() |
int |
getHighestEscapedChar() |
com.fasterxml.jackson.core.JsonStreamContext |
getOutputContext() |
Object |
getOutputTarget() |
boolean |
isClosed() |
boolean |
isEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature feature) |
com.fasterxml.jackson.core.JsonGenerator |
setCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc) |
com.fasterxml.jackson.core.JsonGenerator |
setCodec(com.fasterxml.jackson.core.ObjectCodec objectCodec) |
com.fasterxml.jackson.core.JsonGenerator |
setFeatureMask(int values) |
com.fasterxml.jackson.core.JsonGenerator |
setHighestNonEscapedChar(int charCode) |
com.fasterxml.jackson.core.JsonGenerator |
setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp) |
void |
setSchema(com.fasterxml.jackson.core.FormatSchema schema) |
com.fasterxml.jackson.core.JsonGenerator |
useDefaultPrettyPrinter() |
com.fasterxml.jackson.core.Version |
version() |
void |
writeBinary(com.fasterxml.jackson.core.Base64Variant base64Variant,
byte[] bytes,
int i,
int i1) |
int |
writeBinary(com.fasterxml.jackson.core.Base64Variant bv,
InputStream data,
int dataLength) |
void |
writeBinary(byte[] data) |
void |
writeBinary(byte[] data,
int offset,
int len) |
void |
writeBoolean(boolean b) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
void |
writeFieldName(com.fasterxml.jackson.core.io.SerializedString name)
Deprecated.
since 1811, use
writeFieldName(SerializableString) instead |
void |
writeFieldName(String s) |
void |
writeNull() |
void |
writeNumber(BigDecimal bigDecimal) |
void |
writeNumber(BigInteger bigInteger) |
void |
writeNumber(double v) |
void |
writeNumber(float v) |
void |
writeNumber(int i) |
void |
writeNumber(long l) |
void |
writeNumber(String s) |
void |
writeObject(Object o) |
void |
writeRaw(char c) |
void |
writeRaw(char[] chars,
int i,
int i1) |
void |
writeRaw(String s) |
void |
writeRaw(String s,
int i,
int i1) |
void |
writeRawUTF8String(byte[] bytes,
int i,
int i1) |
void |
writeRawValue(char[] chars,
int i,
int i1) |
void |
writeRawValue(String s) |
void |
writeRawValue(String s,
int i,
int i1) |
void |
writeStartArray() |
void |
writeStartObject() |
void |
writeString(char[] chars,
int i,
int i1) |
void |
writeString(com.fasterxml.jackson.core.SerializableString text) |
void |
writeString(String s) |
void |
writeStringField(String fieldName,
String value) |
void |
writeTree(com.fasterxml.jackson.databind.JsonNode jsonNode)
Deprecated.
since 1811, use
writeTree(TreeNode) instead |
void |
writeTree(com.fasterxml.jackson.core.TreeNode rootNode) |
void |
writeUTF8String(byte[] bytes,
int i,
int i1) |
_reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, canOmitFields, canWriteBinaryNatively, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, getCurrentValue, getFormatFeatures, getOutputBuffered, getPrettyPrinter, getSchema, overrideFormatFeatures, overrideStdFeatures, setCurrentValue, setRootValueSeparator, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writeRaw, writeRawValue, writeStartArray, writeStartObject, writeString, writeTypeId, writeTypePrefix, writeTypeSuffixpublic WidgetJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator)
public void setSchema(com.fasterxml.jackson.core.FormatSchema schema)
setSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)
canUseSchema in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.Version version()
version in interface com.fasterxml.jackson.core.Versionedversion in class com.fasterxml.jackson.core.JsonGeneratorpublic Object getOutputTarget()
getOutputTarget in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator enable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
enable in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator disable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
disable in class com.fasterxml.jackson.core.JsonGeneratorpublic boolean isEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
isEnabled in class com.fasterxml.jackson.core.JsonGeneratorpublic int getFeatureMask()
getFeatureMask in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator setFeatureMask(int values)
setFeatureMask in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator setCodec(com.fasterxml.jackson.core.ObjectCodec objectCodec)
setCodec in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.ObjectCodec getCodec()
getCodec in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
setPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator useDefaultPrettyPrinter()
useDefaultPrettyPrinter in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator setHighestNonEscapedChar(int charCode)
setHighestNonEscapedChar in class com.fasterxml.jackson.core.JsonGeneratorpublic int getHighestEscapedChar()
getHighestEscapedChar in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.io.CharacterEscapes getCharacterEscapes()
getCharacterEscapes in class com.fasterxml.jackson.core.JsonGeneratorpublic com.fasterxml.jackson.core.JsonGenerator setCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc)
setCharacterEscapes in class com.fasterxml.jackson.core.JsonGeneratorpublic void writeStartArray()
throws IOException
writeStartArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeEndArray()
throws IOException
writeEndArray in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStartObject()
throws IOException
writeStartObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeEndObject()
throws IOException
writeEndObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeFieldName(String s) throws IOException
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeFieldName(com.fasterxml.jackson.core.io.SerializedString name)
throws IOException
writeFieldName(SerializableString) insteadIOExceptionpublic void writeFieldName(com.fasterxml.jackson.core.SerializableString name)
throws IOException
writeFieldName in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(String s) throws IOException
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(char[] chars,
int i,
int i1)
throws IOException
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeString(com.fasterxml.jackson.core.SerializableString text)
throws IOException
writeString in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawUTF8String(byte[] bytes,
int i,
int i1)
throws IOException
writeRawUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeUTF8String(byte[] bytes,
int i,
int i1)
throws IOException
writeUTF8String in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String s) throws IOException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(String s, int i, int i1) throws IOException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char[] chars,
int i,
int i1)
throws IOException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRaw(char c)
throws IOException
writeRaw in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String s) throws IOException
writeRawValue in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(String s, int i, int i1) throws IOException
writeRawValue in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeRawValue(char[] chars,
int i,
int i1)
throws IOException
writeRawValue in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant base64Variant,
byte[] bytes,
int i,
int i1)
throws IOException
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBinary(byte[] data,
int offset,
int len)
throws IOException
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeBinary(byte[] data)
throws IOException
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic int writeBinary(com.fasterxml.jackson.core.Base64Variant bv,
InputStream data,
int dataLength)
throws IOException
writeBinary in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(int i)
throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(long l)
throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger bigInteger) throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(double v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(float v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal bigDecimal) throws IOException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNumber(String s) throws IOException, UnsupportedOperationException
writeNumber in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionUnsupportedOperationExceptionpublic void writeBoolean(boolean b)
throws IOException
writeBoolean in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeNull()
throws IOException
writeNull in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeObject(Object o) throws IOException
writeObject in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeTree(com.fasterxml.jackson.databind.JsonNode jsonNode)
throws IOException
writeTree(TreeNode) insteadIOExceptionpublic void writeTree(com.fasterxml.jackson.core.TreeNode rootNode)
throws IOException
writeTree in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void writeStringField(String fieldName, String value) throws IOException
writeStringField in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jsonParser)
throws IOException
copyCurrentEvent in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic void copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jsonParser)
throws IOException
copyCurrentStructure in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic com.fasterxml.jackson.core.JsonStreamContext getOutputContext()
getOutputContext in class com.fasterxml.jackson.core.JsonGeneratorpublic void flush()
throws IOException
flush in interface Flushableflush in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionpublic boolean isClosed()
isClosed in class com.fasterxml.jackson.core.JsonGeneratorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.JsonGeneratorIOExceptionCopyright © 2018. All rights reserved.