public class JacksonArrayWrapperGenerator
extends org.codehaus.jackson.JsonGenerator
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyCurrentEvent(org.codehaus.jackson.JsonParser parser) |
void |
copyCurrentStructure(org.codehaus.jackson.JsonParser parser) |
static org.codehaus.jackson.JsonGenerator |
createArrayWrapperGenerator(org.codehaus.jackson.JsonGenerator g) |
static org.codehaus.jackson.JsonGenerator |
createArrayWrapperGenerator(org.codehaus.jackson.JsonGenerator g,
int arrayDepth) |
org.codehaus.jackson.JsonGenerator |
disable(org.codehaus.jackson.JsonGenerator.Feature feature) |
void |
disableFeature(org.codehaus.jackson.JsonGenerator.Feature feature)
Deprecated.
|
org.codehaus.jackson.JsonGenerator |
enable(org.codehaus.jackson.JsonGenerator.Feature feature) |
void |
enableFeature(org.codehaus.jackson.JsonGenerator.Feature feature)
Deprecated.
|
void |
flush() |
org.codehaus.jackson.ObjectCodec |
getCodec() |
org.codehaus.jackson.JsonStreamContext |
getOutputContext() |
boolean |
isClosed() |
boolean |
isEnabled(org.codehaus.jackson.JsonGenerator.Feature f) |
boolean |
isFeatureEnabled(org.codehaus.jackson.JsonGenerator.Feature feature)
Deprecated.
|
org.codehaus.jackson.JsonGenerator |
setCodec(org.codehaus.jackson.ObjectCodec codec) |
void |
setFeature(org.codehaus.jackson.JsonGenerator.Feature feature,
boolean enabled) |
org.codehaus.jackson.JsonGenerator |
useDefaultPrettyPrinter() |
void |
writeBinary(org.codehaus.jackson.Base64Variant variant,
byte[] bytes,
int start,
int count) |
void |
writeBoolean(boolean b) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(String name) |
void |
writeNull() |
void |
writeNumber(BigDecimal bd) |
void |
writeNumber(BigInteger number) |
void |
writeNumber(double d) |
void |
writeNumber(float f) |
void |
writeNumber(int i) |
void |
writeNumber(long l) |
void |
writeNumber(String number) |
void |
writeObject(Object o) |
void |
writeRaw(char c) |
void |
writeRaw(char[] raw,
int start,
int count) |
void |
writeRaw(String raw) |
void |
writeRaw(String raw,
int start,
int length) |
void |
writeRawUTF8String(byte[] bytes,
int start,
int length) |
void |
writeRawValue(char[] rawChars,
int startIndex,
int length) |
void |
writeRawValue(String rawString) |
void |
writeRawValue(String rawString,
int startIndex,
int length) |
void |
writeStartArray() |
void |
writeStartObject() |
void |
writeString(char[] text,
int start,
int length) |
void |
writeString(String s) |
void |
writeTree(org.codehaus.jackson.JsonNode node) |
void |
writeUTF8String(byte[] bytes,
int start,
int length) |
canUseSchema, configure, getCharacterEscapes, getHighestEscapedChar, getOutputTarget, setCharacterEscapes, setHighestNonEscapedChar, setPrettyPrinter, setSchema, version, writeArrayFieldStart, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeFieldName, writeFieldName, writeNullField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeString, writeStringFieldpublic static org.codehaus.jackson.JsonGenerator createArrayWrapperGenerator(org.codehaus.jackson.JsonGenerator g)
public static org.codehaus.jackson.JsonGenerator createArrayWrapperGenerator(org.codehaus.jackson.JsonGenerator g,
int arrayDepth)
@Deprecated public void enableFeature(org.codehaus.jackson.JsonGenerator.Feature feature)
enableFeature in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator enable(org.codehaus.jackson.JsonGenerator.Feature feature)
enable in class org.codehaus.jackson.JsonGenerator@Deprecated public void disableFeature(org.codehaus.jackson.JsonGenerator.Feature feature)
disableFeature in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator disable(org.codehaus.jackson.JsonGenerator.Feature feature)
disable in class org.codehaus.jackson.JsonGeneratorpublic void setFeature(org.codehaus.jackson.JsonGenerator.Feature feature,
boolean enabled)
setFeature in class org.codehaus.jackson.JsonGenerator@Deprecated public boolean isFeatureEnabled(org.codehaus.jackson.JsonGenerator.Feature feature)
isFeatureEnabled in class org.codehaus.jackson.JsonGeneratorpublic boolean isEnabled(org.codehaus.jackson.JsonGenerator.Feature f)
isEnabled in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator useDefaultPrettyPrinter()
useDefaultPrettyPrinter in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonGenerator setCodec(org.codehaus.jackson.ObjectCodec codec)
setCodec in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.ObjectCodec getCodec()
getCodec in class org.codehaus.jackson.JsonGeneratorpublic void writeRawValue(String rawString) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRawValue(String rawString, int startIndex, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRawValue(char[] rawChars,
int startIndex,
int length)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeRawValue in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(BigInteger number) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeObject(Object o) throws IOException, org.codehaus.jackson.JsonProcessingException
writeObject in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonProcessingExceptionpublic void writeTree(org.codehaus.jackson.JsonNode node)
throws IOException,
org.codehaus.jackson.JsonProcessingException
writeTree in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonProcessingExceptionpublic boolean isClosed()
isClosed in class org.codehaus.jackson.JsonGeneratorpublic org.codehaus.jackson.JsonStreamContext getOutputContext()
getOutputContext in class org.codehaus.jackson.JsonGeneratorpublic void writeStartArray()
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeStartArray in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeEndArray()
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeEndArray in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeStartObject()
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeStartObject in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeEndObject()
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeEndObject in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeFieldName(String name) throws IOException, org.codehaus.jackson.JsonGenerationException
writeFieldName in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeString(String s) throws IOException, org.codehaus.jackson.JsonGenerationException
writeString in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeString(char[] text,
int start,
int length)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeString in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRawUTF8String(byte[] bytes,
int start,
int length)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeRawUTF8String in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeUTF8String(byte[] bytes,
int start,
int length)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeUTF8String in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRaw(String raw) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRaw(String raw, int start, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRaw(char[] raw,
int start,
int count)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeRaw(char c)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeRaw in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeBinary(org.codehaus.jackson.Base64Variant variant,
byte[] bytes,
int start,
int count)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeBinary in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(int i)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(long l)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(double d)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(float f)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(BigDecimal bd) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNumber(String number) throws IOException, org.codehaus.jackson.JsonGenerationException, UnsupportedOperationException
writeNumber in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionUnsupportedOperationExceptionpublic void writeBoolean(boolean b)
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeBoolean in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void writeNull()
throws IOException,
org.codehaus.jackson.JsonGenerationException
writeNull in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonGenerationExceptionpublic void copyCurrentEvent(org.codehaus.jackson.JsonParser parser)
throws IOException,
org.codehaus.jackson.JsonProcessingException
copyCurrentEvent in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonProcessingExceptionpublic void copyCurrentStructure(org.codehaus.jackson.JsonParser parser)
throws IOException,
org.codehaus.jackson.JsonProcessingException
copyCurrentStructure in class org.codehaus.jackson.JsonGeneratorIOExceptionorg.codehaus.jackson.JsonProcessingExceptionpublic void flush()
throws IOException
flush in class org.codehaus.jackson.JsonGeneratorIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.codehaus.jackson.JsonGeneratorIOExceptionCopyright © 2014 Oracle Corporation. All rights reserved.