Package com.hybris.cockpitng.json.impl
Class WidgetJsonGenerator
- java.lang.Object
-
- com.fasterxml.jackson.core.JsonGenerator
-
- com.hybris.cockpitng.json.impl.WidgetJsonGenerator
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned,java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class WidgetJsonGenerator extends com.fasterxml.jackson.core.JsonGenerator
-
-
Constructor Summary
Constructors Constructor Description WidgetJsonGenerator(com.fasterxml.jackson.core.JsonGenerator generator)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanUseSchema(com.fasterxml.jackson.core.FormatSchema schema)voidclose()voidcopyCurrentEvent(com.fasterxml.jackson.core.JsonParser jsonParser)voidcopyCurrentStructure(com.fasterxml.jackson.core.JsonParser jsonParser)com.fasterxml.jackson.core.JsonGeneratordisable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)com.fasterxml.jackson.core.JsonGeneratorenable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)voidflush()com.fasterxml.jackson.core.io.CharacterEscapesgetCharacterEscapes()com.fasterxml.jackson.core.ObjectCodecgetCodec()intgetFeatureMask()intgetHighestEscapedChar()com.fasterxml.jackson.core.JsonStreamContextgetOutputContext()java.lang.ObjectgetOutputTarget()booleanisClosed()booleanisEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature feature)com.fasterxml.jackson.core.JsonGeneratorsetCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc)com.fasterxml.jackson.core.JsonGeneratorsetCodec(com.fasterxml.jackson.core.ObjectCodec objectCodec)com.fasterxml.jackson.core.JsonGeneratorsetFeatureMask(int values)com.fasterxml.jackson.core.JsonGeneratorsetHighestNonEscapedChar(int charCode)com.fasterxml.jackson.core.JsonGeneratorsetPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)voidsetSchema(com.fasterxml.jackson.core.FormatSchema schema)com.fasterxml.jackson.core.JsonGeneratoruseDefaultPrettyPrinter()com.fasterxml.jackson.core.Versionversion()voidwriteBinary(byte[] data)voidwriteBinary(byte[] data, int offset, int len)voidwriteBinary(com.fasterxml.jackson.core.Base64Variant base64Variant, byte[] bytes, int i, int i1)intwriteBinary(com.fasterxml.jackson.core.Base64Variant bv, java.io.InputStream data, int dataLength)voidwriteBoolean(boolean b)voidwriteEndArray()voidwriteEndObject()voidwriteFieldName(com.fasterxml.jackson.core.io.SerializedString name)Deprecated, for removal: This API element is subject to removal in a future version.since 1811, usewriteFieldName(SerializableString)insteadvoidwriteFieldName(com.fasterxml.jackson.core.SerializableString name)voidwriteFieldName(java.lang.String s)voidwriteNull()voidwriteNumber(double v)voidwriteNumber(float v)voidwriteNumber(int i)voidwriteNumber(long l)voidwriteNumber(java.lang.String s)voidwriteNumber(java.math.BigDecimal bigDecimal)voidwriteNumber(java.math.BigInteger bigInteger)voidwriteObject(java.lang.Object o)voidwriteRaw(char c)voidwriteRaw(char[] chars, int i, int i1)voidwriteRaw(java.lang.String s)voidwriteRaw(java.lang.String s, int i, int i1)voidwriteRawUTF8String(byte[] bytes, int i, int i1)voidwriteRawValue(char[] chars, int i, int i1)voidwriteRawValue(java.lang.String s)voidwriteRawValue(java.lang.String s, int i, int i1)voidwriteStartArray()voidwriteStartObject()voidwriteString(char[] chars, int i, int i1)voidwriteString(com.fasterxml.jackson.core.SerializableString text)voidwriteString(java.lang.String s)voidwriteStringField(java.lang.String fieldName, java.lang.String value)voidwriteTree(com.fasterxml.jackson.core.TreeNode rootNode)voidwriteTree(com.fasterxml.jackson.databind.JsonNode jsonNode)Deprecated, for removal: This API element is subject to removal in a future version.since 1811, usewriteTree(TreeNode)insteadvoidwriteUTF8String(byte[] bytes, int i, int i1)-
Methods inherited from class com.fasterxml.jackson.core.JsonGenerator
_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, canOmitFields, canWriteBinaryNatively, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, getCurrentValue, getFormatFeatures, getOutputBuffered, getPrettyPrinter, getSchema, isEnabled, overrideFormatFeatures, overrideStdFeatures, setCurrentValue, setRootValueSeparator, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writeRaw, writeRawValue, writeStartArray, writeStartArray, writeStartArray, writeStartObject, writeStartObject, writeString, writeTypeId, writeTypePrefix, writeTypeSuffix
-
-
-
-
Method Detail
-
setSchema
public void setSchema(com.fasterxml.jackson.core.FormatSchema schema)
- Overrides:
setSchemain classcom.fasterxml.jackson.core.JsonGenerator
-
canUseSchema
public boolean canUseSchema(com.fasterxml.jackson.core.FormatSchema schema)
- Overrides:
canUseSchemain classcom.fasterxml.jackson.core.JsonGenerator
-
version
public com.fasterxml.jackson.core.Version version()
- Specified by:
versionin interfacecom.fasterxml.jackson.core.Versioned- Specified by:
versionin classcom.fasterxml.jackson.core.JsonGenerator
-
getOutputTarget
public java.lang.Object getOutputTarget()
- Overrides:
getOutputTargetin classcom.fasterxml.jackson.core.JsonGenerator
-
enable
public com.fasterxml.jackson.core.JsonGenerator enable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
- Specified by:
enablein classcom.fasterxml.jackson.core.JsonGenerator
-
disable
public com.fasterxml.jackson.core.JsonGenerator disable(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
- Specified by:
disablein classcom.fasterxml.jackson.core.JsonGenerator
-
isEnabled
public boolean isEnabled(com.fasterxml.jackson.core.JsonGenerator.Feature feature)
- Specified by:
isEnabledin classcom.fasterxml.jackson.core.JsonGenerator
-
getFeatureMask
public int getFeatureMask()
- Specified by:
getFeatureMaskin classcom.fasterxml.jackson.core.JsonGenerator
-
setFeatureMask
public com.fasterxml.jackson.core.JsonGenerator setFeatureMask(int values)
- Specified by:
setFeatureMaskin classcom.fasterxml.jackson.core.JsonGenerator
-
setCodec
public com.fasterxml.jackson.core.JsonGenerator setCodec(com.fasterxml.jackson.core.ObjectCodec objectCodec)
- Specified by:
setCodecin classcom.fasterxml.jackson.core.JsonGenerator
-
getCodec
public com.fasterxml.jackson.core.ObjectCodec getCodec()
- Specified by:
getCodecin classcom.fasterxml.jackson.core.JsonGenerator
-
setPrettyPrinter
public com.fasterxml.jackson.core.JsonGenerator setPrettyPrinter(com.fasterxml.jackson.core.PrettyPrinter pp)
- Overrides:
setPrettyPrinterin classcom.fasterxml.jackson.core.JsonGenerator
-
useDefaultPrettyPrinter
public com.fasterxml.jackson.core.JsonGenerator useDefaultPrettyPrinter()
- Specified by:
useDefaultPrettyPrinterin classcom.fasterxml.jackson.core.JsonGenerator
-
setHighestNonEscapedChar
public com.fasterxml.jackson.core.JsonGenerator setHighestNonEscapedChar(int charCode)
- Overrides:
setHighestNonEscapedCharin classcom.fasterxml.jackson.core.JsonGenerator
-
getHighestEscapedChar
public int getHighestEscapedChar()
- Overrides:
getHighestEscapedCharin classcom.fasterxml.jackson.core.JsonGenerator
-
getCharacterEscapes
public com.fasterxml.jackson.core.io.CharacterEscapes getCharacterEscapes()
- Overrides:
getCharacterEscapesin classcom.fasterxml.jackson.core.JsonGenerator
-
setCharacterEscapes
public com.fasterxml.jackson.core.JsonGenerator setCharacterEscapes(com.fasterxml.jackson.core.io.CharacterEscapes esc)
- Overrides:
setCharacterEscapesin classcom.fasterxml.jackson.core.JsonGenerator
-
writeStartArray
public void writeStartArray() throws java.io.IOException- Specified by:
writeStartArrayin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeEndArray
public void writeEndArray() throws java.io.IOException- Specified by:
writeEndArrayin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeStartObject
public void writeStartObject() throws java.io.IOException- Specified by:
writeStartObjectin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeEndObject
public void writeEndObject() throws java.io.IOException- Specified by:
writeEndObjectin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeFieldName
public void writeFieldName(java.lang.String s) throws java.io.IOException- Specified by:
writeFieldNamein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeFieldName
@Deprecated(since="1811", forRemoval=true) public void writeFieldName(com.fasterxml.jackson.core.io.SerializedString name) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 1811, usewriteFieldName(SerializableString)instead- Throws:
java.io.IOException
-
writeFieldName
public void writeFieldName(com.fasterxml.jackson.core.SerializableString name) throws java.io.IOException- Specified by:
writeFieldNamein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeString
public void writeString(java.lang.String s) throws java.io.IOException- Specified by:
writeStringin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeString
public void writeString(char[] chars, int i, int i1) throws java.io.IOException- Specified by:
writeStringin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeString
public void writeString(com.fasterxml.jackson.core.SerializableString text) throws java.io.IOException- Specified by:
writeStringin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRawUTF8String
public void writeRawUTF8String(byte[] bytes, int i, int i1) throws java.io.IOException- Specified by:
writeRawUTF8Stringin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeUTF8String
public void writeUTF8String(byte[] bytes, int i, int i1) throws java.io.IOException- Specified by:
writeUTF8Stringin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRaw
public void writeRaw(java.lang.String s) throws java.io.IOException- Specified by:
writeRawin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRaw
public void writeRaw(java.lang.String s, int i, int i1) throws java.io.IOException- Specified by:
writeRawin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRaw
public void writeRaw(char[] chars, int i, int i1) throws java.io.IOException- Specified by:
writeRawin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRaw
public void writeRaw(char c) throws java.io.IOException- Specified by:
writeRawin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRawValue
public void writeRawValue(java.lang.String s) throws java.io.IOException- Specified by:
writeRawValuein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRawValue
public void writeRawValue(java.lang.String s, int i, int i1) throws java.io.IOException- Specified by:
writeRawValuein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeRawValue
public void writeRawValue(char[] chars, int i, int i1) throws java.io.IOException- Specified by:
writeRawValuein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeBinary
public void writeBinary(com.fasterxml.jackson.core.Base64Variant base64Variant, byte[] bytes, int i, int i1) throws java.io.IOException- Specified by:
writeBinaryin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeBinary
public void writeBinary(byte[] data, int offset, int len) throws java.io.IOException- Overrides:
writeBinaryin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeBinary
public void writeBinary(byte[] data) throws java.io.IOException- Overrides:
writeBinaryin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeBinary
public int writeBinary(com.fasterxml.jackson.core.Base64Variant bv, java.io.InputStream data, int dataLength) throws java.io.IOException- Specified by:
writeBinaryin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(int i) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(long l) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(java.math.BigInteger bigInteger) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(double v) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(float v) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(java.math.BigDecimal bigDecimal) throws java.io.IOException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNumber
public void writeNumber(java.lang.String s) throws java.io.IOException, java.lang.UnsupportedOperationException- Specified by:
writeNumberin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOExceptionjava.lang.UnsupportedOperationException
-
writeBoolean
public void writeBoolean(boolean b) throws java.io.IOException- Specified by:
writeBooleanin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeNull
public void writeNull() throws java.io.IOException- Specified by:
writeNullin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeObject
public void writeObject(java.lang.Object o) throws java.io.IOException- Specified by:
writeObjectin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeTree
@Deprecated(since="1811", forRemoval=true) public void writeTree(com.fasterxml.jackson.databind.JsonNode jsonNode) throws java.io.IOExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 1811, usewriteTree(TreeNode)instead- Throws:
java.io.IOException
-
writeTree
public void writeTree(com.fasterxml.jackson.core.TreeNode rootNode) throws java.io.IOException- Specified by:
writeTreein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
writeStringField
public void writeStringField(java.lang.String fieldName, java.lang.String value) throws java.io.IOException- Overrides:
writeStringFieldin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
copyCurrentEvent
public void copyCurrentEvent(com.fasterxml.jackson.core.JsonParser jsonParser) throws java.io.IOException- Overrides:
copyCurrentEventin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
copyCurrentStructure
public void copyCurrentStructure(com.fasterxml.jackson.core.JsonParser jsonParser) throws java.io.IOException- Overrides:
copyCurrentStructurein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
getOutputContext
public com.fasterxml.jackson.core.JsonStreamContext getOutputContext()
- Specified by:
getOutputContextin classcom.fasterxml.jackson.core.JsonGenerator
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Specified by:
flushin classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin classcom.fasterxml.jackson.core.JsonGenerator
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classcom.fasterxml.jackson.core.JsonGenerator- Throws:
java.io.IOException
-
-