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, writeStartRawcanOmitFields, canUseSchema, canWriteBinaryNatively, canWriteObjectId, canWriteTypeId, disable, enable, flush, getCharacterEscapes, getCodec, getCurrentValue, getDelegate, getFeatureMask, getHighestEscapedChar, 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, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeNullField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeRawValue, writeStringFieldpublic FilteringJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator,
String[] filters)
public void writeStartArray()
throws IOException
writeStartArray in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeStartArray(int size)
throws IOException
writeStartArray in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeEndArray()
throws IOException
writeEndArray in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeStartObject()
throws IOException
writeStartObject in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeEndObject()
throws IOException
writeEndObject in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeFieldName(String name) throws IOException
writeFieldName in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeFieldName(com.fasterxml.jackson.core.SerializableString name)
throws IOException
writeFieldName in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeString(String text) throws IOException
writeString in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeString(char[] text,
int offset,
int len)
throws IOException
writeString in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeString(com.fasterxml.jackson.core.SerializableString text)
throws IOException
writeString in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRawUTF8String(byte[] text,
int offset,
int length)
throws IOException
writeRawUTF8String in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeUTF8String(byte[] text,
int offset,
int length)
throws IOException
writeUTF8String in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRaw(String text) throws IOException
writeRaw in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRaw(String text, int offset, int len) throws IOException
writeRaw in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRaw(com.fasterxml.jackson.core.SerializableString raw)
throws IOException
writeRaw in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRaw(char[] text,
int offset,
int len)
throws IOException
writeRaw in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRaw(char c)
throws IOException
writeRaw in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRawValue(String text) throws IOException
writeRawValue in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRawValue(String text, int offset, int len) throws IOException
writeRawValue in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeRawValue(char[] text,
int offset,
int len)
throws IOException
writeRawValue in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
byte[] data,
int offset,
int len)
throws IOException
writeBinary in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic int writeBinary(com.fasterxml.jackson.core.Base64Variant b64variant,
InputStream data,
int dataLength)
throws IOException
writeBinary in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(short v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(int v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(long v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(BigInteger v) throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(double v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(float v)
throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(BigDecimal v) throws IOException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNumber(String encodedValue) throws IOException, UnsupportedOperationException
writeNumber in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionUnsupportedOperationExceptionpublic void writeBoolean(boolean state)
throws IOException
writeBoolean in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void writeNull()
throws IOException
writeNull in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
copyCurrentEvent in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionpublic void copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
copyCurrentStructure in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionprotected void writeRawValue(byte[] content,
OutputStream bos)
throws IOException
writeRawValue in class BaseJsonGeneratorIOExceptionprotected void writeRawValue(byte[] content,
int offset,
int length,
OutputStream bos)
throws IOException
writeRawValue in class BaseJsonGeneratorIOExceptionprotected void writeRawValue(InputStream content, OutputStream bos) throws IOException
writeRawValue in class BaseJsonGeneratorIOExceptionprotected void writeRawValue(BytesReference content, OutputStream bos) throws IOException
writeRawValue in class BaseJsonGeneratorIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class com.fasterxml.jackson.core.util.JsonGeneratorDelegateIOExceptionCopyright © 2009–2016. All rights reserved.