public class WidgetJsonGenerator
extends org.codehaus.jackson.JsonGenerator
| Constructor and Description |
|---|
WidgetJsonGenerator(org.codehaus.jackson.JsonGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseSchema(org.codehaus.jackson.FormatSchema schema) |
void |
close() |
org.codehaus.jackson.JsonGenerator |
configure(org.codehaus.jackson.JsonGenerator.Feature f,
boolean state) |
void |
copyCurrentEvent(org.codehaus.jackson.JsonParser jsonParser) |
void |
copyCurrentStructure(org.codehaus.jackson.JsonParser jsonParser) |
org.codehaus.jackson.JsonGenerator |
disable(org.codehaus.jackson.JsonGenerator.Feature feature) |
org.codehaus.jackson.JsonGenerator |
enable(org.codehaus.jackson.JsonGenerator.Feature feature) |
void |
flush() |
org.codehaus.jackson.io.CharacterEscapes |
getCharacterEscapes() |
org.codehaus.jackson.ObjectCodec |
getCodec() |
int |
getHighestEscapedChar() |
org.codehaus.jackson.JsonStreamContext |
getOutputContext() |
Object |
getOutputTarget() |
boolean |
isClosed() |
boolean |
isEnabled(org.codehaus.jackson.JsonGenerator.Feature feature) |
org.codehaus.jackson.JsonGenerator |
setCharacterEscapes(org.codehaus.jackson.io.CharacterEscapes esc) |
org.codehaus.jackson.JsonGenerator |
setCodec(org.codehaus.jackson.ObjectCodec objectCodec) |
org.codehaus.jackson.JsonGenerator |
setHighestNonEscapedChar(int charCode) |
org.codehaus.jackson.JsonGenerator |
setPrettyPrinter(org.codehaus.jackson.PrettyPrinter pp) |
void |
setSchema(org.codehaus.jackson.FormatSchema schema) |
org.codehaus.jackson.JsonGenerator |
useDefaultPrettyPrinter() |
org.codehaus.jackson.Version |
version() |
void |
writeBinary(org.codehaus.jackson.Base64Variant base64Variant,
byte[] bytes,
int i,
int i1) |
void |
writeBinary(byte[] data) |
void |
writeBinary(byte[] data,
int offset,
int len) |
void |
writeBoolean(boolean b) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(org.codehaus.jackson.SerializableString name) |
void |
writeFieldName(org.codehaus.jackson.io.SerializedString name) |
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(org.codehaus.jackson.SerializableString text) |
void |
writeString(String s) |
void |
writeStringField(String fieldName,
String value) |
void |
writeTree(org.codehaus.jackson.JsonNode jsonNode) |
void |
writeUTF8String(byte[] bytes,
int i,
int i1) |
disableFeature, enableFeature, isFeatureEnabled, setFeature, writeArrayFieldStart, writeBinaryField, writeBooleanField, writeNullField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStartpublic WidgetJsonGenerator(org.codehaus.jackson.JsonGenerator generator)
public void setSchema(org.codehaus.jackson.FormatSchema schema)
setSchema in class org.codehaus.jackson.JsonGeneratorpublic boolean canUseSchema(org.codehaus.jackson.FormatSchema schema)
canUseSchema in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.Version version()
version in interface org.codehaus.jackson.Versionedversion in class org.codehaus.jackson.JsonGeneratorpublic Object getOutputTarget()
getOutputTarget in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator enable(org.codehaus.jackson.JsonGenerator.Feature feature)
enable in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator disable(org.codehaus.jackson.JsonGenerator.Feature feature)
disable in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator configure(org.codehaus.jackson.JsonGenerator.Feature f,
boolean state)
configure in class org.codehaus.jackson.JsonGeneratorpublic boolean isEnabled(org.codehaus.jackson.JsonGenerator.Feature feature)
isEnabled in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator setCodec(org.codehaus.jackson.ObjectCodec objectCodec)
setCodec in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.ObjectCodec getCodec()
getCodec in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator setPrettyPrinter(org.codehaus.jackson.PrettyPrinter pp)
setPrettyPrinter in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator useDefaultPrettyPrinter()
useDefaultPrettyPrinter in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator setHighestNonEscapedChar(int charCode)
setHighestNonEscapedChar in class org.codehaus.jackson.JsonGeneratorpublic int getHighestEscapedChar()
getHighestEscapedChar in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.io.CharacterEscapes getCharacterEscapes()
getCharacterEscapes in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator setCharacterEscapes(org.codehaus.jackson.io.CharacterEscapes esc)
setCharacterEscapes in class org.codehaus.jackson.JsonGeneratorpublic void writeStartArray()
throws IOException
writeStartArray in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeEndArray()
throws IOException
writeEndArray in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeStartObject()
throws IOException
writeStartObject in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeEndObject()
throws IOException
writeEndObject in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeFieldName(String s) throws IOException
writeFieldName in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeFieldName(org.codehaus.jackson.io.SerializedString name)
throws IOException
writeFieldName in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeFieldName(org.codehaus.jackson.SerializableString name)
throws IOException
writeFieldName in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeString(String s) throws IOException
writeString in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeString(char[] chars,
int i,
int i1)
throws IOException
writeString in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeString(org.codehaus.jackson.SerializableString text)
throws IOException
writeString in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRawUTF8String(byte[] bytes,
int i,
int i1)
throws IOException
writeRawUTF8String in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeUTF8String(byte[] bytes,
int i,
int i1)
throws IOException
writeUTF8String in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRaw(String s) throws IOException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRaw(String s, int i, int i1) throws IOException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRaw(char[] chars,
int i,
int i1)
throws IOException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRaw(char c)
throws IOException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRawValue(String s) throws IOException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRawValue(String s, int i, int i1) throws IOException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeRawValue(char[] chars,
int i,
int i1)
throws IOException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeBinary(org.codehaus.jackson.Base64Variant base64Variant,
byte[] bytes,
int i,
int i1)
throws IOException
writeBinary in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeBinary(byte[] data,
int offset,
int len)
throws IOException
writeBinary in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeBinary(byte[] data)
throws IOException
writeBinary in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(int i)
throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(long l)
throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(BigInteger bigInteger) throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(double v)
throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(float v)
throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(BigDecimal bigDecimal) throws IOException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNumber(String s) throws IOException, UnsupportedOperationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionUnsupportedOperationExceptionpublic void writeBoolean(boolean b)
throws IOException
writeBoolean in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeNull()
throws IOException
writeNull in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeObject(Object o) throws IOException
writeObject in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeTree(org.codehaus.jackson.JsonNode jsonNode)
throws IOException
writeTree in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void writeStringField(String fieldName, String value) throws IOException
writeStringField in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void copyCurrentEvent(org.codehaus.jackson.JsonParser jsonParser)
throws IOException
copyCurrentEvent in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void copyCurrentStructure(org.codehaus.jackson.JsonParser jsonParser)
throws IOException
copyCurrentStructure in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic org.codehaus.jackson.JsonStreamContext getOutputContext()
getOutputContext in class org.codehaus.jackson.JsonGeneratorpublic void flush()
throws IOException
flush in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic boolean isClosed()
isClosed in class org.codehaus.jackson.JsonGeneratorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.codehaus.jackson.JsonGeneratorIOExceptionCopyright © 2018. All rights reserved.