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, writeStringField
public 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.JsonGenerator
public 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.JsonGenerator
public org.codehaus.jackson.JsonGenerator disable(org.codehaus.jackson.JsonGenerator.Feature feature)
disable
in class org.codehaus.jackson.JsonGenerator
public 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.JsonGenerator
public boolean isEnabled(org.codehaus.jackson.JsonGenerator.Feature f)
isEnabled
in class org.codehaus.jackson.JsonGenerator
public org.codehaus.jackson.JsonGenerator useDefaultPrettyPrinter()
useDefaultPrettyPrinter
in class org.codehaus.jackson.JsonGenerator
public org.codehaus.jackson.JsonGenerator setCodec(org.codehaus.jackson.ObjectCodec codec)
setCodec
in class org.codehaus.jackson.JsonGenerator
public org.codehaus.jackson.ObjectCodec getCodec()
getCodec
in class org.codehaus.jackson.JsonGenerator
public void writeRawValue(String rawString) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawValue
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRawValue(String rawString, int startIndex, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawValue
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRawValue(char[] rawChars, int startIndex, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawValue
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(BigInteger number) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeObject(Object o) throws IOException, org.codehaus.jackson.JsonProcessingException
writeObject
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonProcessingException
public void writeTree(org.codehaus.jackson.JsonNode node) throws IOException, org.codehaus.jackson.JsonProcessingException
writeTree
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonProcessingException
public boolean isClosed()
isClosed
in class org.codehaus.jackson.JsonGenerator
public org.codehaus.jackson.JsonStreamContext getOutputContext()
getOutputContext
in class org.codehaus.jackson.JsonGenerator
public void writeStartArray() throws IOException, org.codehaus.jackson.JsonGenerationException
writeStartArray
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeEndArray() throws IOException, org.codehaus.jackson.JsonGenerationException
writeEndArray
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeStartObject() throws IOException, org.codehaus.jackson.JsonGenerationException
writeStartObject
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeEndObject() throws IOException, org.codehaus.jackson.JsonGenerationException
writeEndObject
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeFieldName(String name) throws IOException, org.codehaus.jackson.JsonGenerationException
writeFieldName
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeString(String s) throws IOException, org.codehaus.jackson.JsonGenerationException
writeString
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeString(char[] text, int start, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeString
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRawUTF8String(byte[] bytes, int start, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRawUTF8String
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeUTF8String(byte[] bytes, int start, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeUTF8String
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRaw(String raw) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRaw(String raw, int start, int length) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRaw(char[] raw, int start, int count) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeRaw(char c) throws IOException, org.codehaus.jackson.JsonGenerationException
writeRaw
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public 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.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(int i) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(long l) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(double d) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(float f) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(BigDecimal bd) throws IOException, org.codehaus.jackson.JsonGenerationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNumber(String number) throws IOException, org.codehaus.jackson.JsonGenerationException, UnsupportedOperationException
writeNumber
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
UnsupportedOperationException
public void writeBoolean(boolean b) throws IOException, org.codehaus.jackson.JsonGenerationException
writeBoolean
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void writeNull() throws IOException, org.codehaus.jackson.JsonGenerationException
writeNull
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonGenerationException
public void copyCurrentEvent(org.codehaus.jackson.JsonParser parser) throws IOException, org.codehaus.jackson.JsonProcessingException
copyCurrentEvent
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonProcessingException
public void copyCurrentStructure(org.codehaus.jackson.JsonParser parser) throws IOException, org.codehaus.jackson.JsonProcessingException
copyCurrentStructure
in class org.codehaus.jackson.JsonGenerator
IOException
org.codehaus.jackson.JsonProcessingException
public void flush() throws IOException
flush
in class org.codehaus.jackson.JsonGenerator
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.codehaus.jackson.JsonGenerator
IOException
Copyright © 2013 Oracle Corporation. All rights reserved.