public class FilteringJsonGenerator extends BaseJsonGenerator
base
Constructor and Description |
---|
FilteringJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator,
String[] filters) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jp) |
void |
copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jp) |
void |
writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
byte[] data,
int offset,
int len) |
int |
writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
InputStream data,
int dataLength) |
void |
writeBoolean(boolean state) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(com.fasterxml.jackson.core.SerializableString name) |
void |
writeFieldName(String name) |
void |
writeNull() |
void |
writeNumber(BigDecimal v) |
void |
writeNumber(BigInteger v) |
void |
writeNumber(double v) |
void |
writeNumber(float v) |
void |
writeNumber(int v) |
void |
writeNumber(long v) |
void |
writeNumber(short v) |
void |
writeNumber(String encodedValue) |
void |
writeRaw(char c) |
void |
writeRaw(char[] text,
int offset,
int len) |
void |
writeRaw(com.fasterxml.jackson.core.SerializableString raw) |
void |
writeRaw(String text) |
void |
writeRaw(String text,
int offset,
int len) |
void |
writeRawUTF8String(byte[] text,
int offset,
int length) |
protected void |
writeRawValue(byte[] content,
int offset,
int length,
OutputStream bos) |
protected void |
writeRawValue(byte[] content,
OutputStream bos) |
protected void |
writeRawValue(BytesReference content,
OutputStream bos) |
void |
writeRawValue(char[] text,
int offset,
int len) |
protected void |
writeRawValue(InputStream content,
OutputStream bos) |
void |
writeRawValue(String text) |
void |
writeRawValue(String text,
int offset,
int len) |
void |
writeStartArray() |
void |
writeStartArray(int size) |
void |
writeStartObject() |
void |
writeString(char[] text,
int offset,
int len) |
void |
writeString(com.fasterxml.jackson.core.SerializableString text) |
void |
writeString(String text) |
void |
writeUTF8String(byte[] text,
int offset,
int length) |
writeEndRaw, writeStartRaw
canOmitFields, canUseSchema, canWriteBinaryNatively, canWriteObjectId, canWriteTypeId, disable, enable, flush, getCharacterEscapes, getCodec, getCurrentValue, getDelegate, getFeatureMask, getHighestEscapedChar, getOutputBuffered, getOutputContext, getOutputTarget, getPrettyPrinter, getSchema, isClosed, isEnabled, setCharacterEscapes, setCodec, setCurrentValue, setFeatureMask, setHighestNonEscapedChar, setPrettyPrinter, setRootValueSeparator, setSchema, useDefaultPrettyPrinter, version, writeObject, writeObjectId, writeObjectRef, writeOmittedField, writeTree, writeTypeId
_reportError, _reportUnsupportedOperation, _throwInternal, _writeSimpleObject, configure, getFormatFeatures, overrideFormatFeatures, overrideStdFeatures, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeNullField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeRawValue, writeStringField
public FilteringJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator, String[] filters)
public void writeStartArray() throws IOException
writeStartArray
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeStartArray(int size) throws IOException
writeStartArray
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeEndArray() throws IOException
writeEndArray
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeStartObject() throws IOException
writeStartObject
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeEndObject() throws IOException
writeEndObject
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeFieldName(String name) throws IOException
writeFieldName
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeFieldName(com.fasterxml.jackson.core.SerializableString name) throws IOException
writeFieldName
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeString(String text) throws IOException
writeString
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeString(char[] text, int offset, int len) throws IOException
writeString
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeString(com.fasterxml.jackson.core.SerializableString text) throws IOException
writeString
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRawUTF8String(byte[] text, int offset, int length) throws IOException
writeRawUTF8String
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeUTF8String(byte[] text, int offset, int length) throws IOException
writeUTF8String
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRaw(String text) throws IOException
writeRaw
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRaw(String text, int offset, int len) throws IOException
writeRaw
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRaw(com.fasterxml.jackson.core.SerializableString raw) throws IOException
writeRaw
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRaw(char[] text, int offset, int len) throws IOException
writeRaw
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRaw(char c) throws IOException
writeRaw
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRawValue(String text) throws IOException
writeRawValue
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRawValue(String text, int offset, int len) throws IOException
writeRawValue
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeRawValue(char[] text, int offset, int len) throws IOException
writeRawValue
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, byte[] data, int offset, int len) throws IOException
writeBinary
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public int writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant, InputStream data, int dataLength) throws IOException
writeBinary
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(short v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(int v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(long v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(BigInteger v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(double v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(float v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(BigDecimal v) throws IOException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNumber(String encodedValue) throws IOException, UnsupportedOperationException
writeNumber
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
UnsupportedOperationException
public void writeBoolean(boolean state) throws IOException
writeBoolean
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void writeNull() throws IOException
writeNull
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jp) throws IOException
copyCurrentEvent
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
public void copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jp) throws IOException
copyCurrentStructure
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
protected void writeRawValue(byte[] content, OutputStream bos) throws IOException
writeRawValue
in class BaseJsonGenerator
IOException
protected void writeRawValue(byte[] content, int offset, int length, OutputStream bos) throws IOException
writeRawValue
in class BaseJsonGenerator
IOException
protected void writeRawValue(InputStream content, OutputStream bos) throws IOException
writeRawValue
in class BaseJsonGenerator
IOException
protected void writeRawValue(BytesReference content, OutputStream bos) throws IOException
writeRawValue
in class BaseJsonGenerator
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class com.fasterxml.jackson.core.util.JsonGeneratorDelegate
IOException
Copyright © 2009–2016. All rights reserved.