public class JCardPrettyPrinter extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.FixedSpaceIndenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.NopIndenter| Modifier and Type | Field and Description |
|---|---|
static Object |
PROPERTY_VALUE
The value that is assigned to
JsonGenerator.setCurrentValue(java.lang.Object) to
let the pretty-printer know that a vCard property is currently being
written. |
| Constructor and Description |
|---|
JCardPrettyPrinter() |
JCardPrettyPrinter(JCardPrettyPrinter base) |
| Modifier and Type | Method and Description |
|---|---|
JCardPrettyPrinter |
createInstance() |
void |
indentArraysWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter) |
void |
indentObjectsWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter) |
void |
indentVCardPropertiesWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter) |
protected static boolean |
isInVCardProperty(com.fasterxml.jackson.core.JsonStreamContext context) |
void |
writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeEndArray(com.fasterxml.jackson.core.JsonGenerator gen,
int numValues) |
void |
writeStartArray(com.fasterxml.jackson.core.JsonGenerator gen) |
_withSpaces, beforeArrayValues, beforeObjectEntries, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeEndObject, writeObjectEntrySeparator, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartObjectpublic static final Object PROPERTY_VALUE
JsonGenerator.setCurrentValue(java.lang.Object) to
let the pretty-printer know that a vCard property is currently being
written.public JCardPrettyPrinter()
public JCardPrettyPrinter(JCardPrettyPrinter base)
public JCardPrettyPrinter createInstance()
createInstance in interface com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>createInstance in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterpublic void indentArraysWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter)
indentArraysWith in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterpublic void indentObjectsWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter)
indentObjectsWith in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterpublic void indentVCardPropertiesWith(com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter indenter)
protected static boolean isInVCardProperty(com.fasterxml.jackson.core.JsonStreamContext context)
public void writeStartArray(com.fasterxml.jackson.core.JsonGenerator gen) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
writeStartArray in interface com.fasterxml.jackson.core.PrettyPrinterwriteStartArray in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeEndArray(com.fasterxml.jackson.core.JsonGenerator gen, int numValues) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
writeEndArray in interface com.fasterxml.jackson.core.PrettyPrinterwriteEndArray in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen) throws IOException
writeArrayValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinterwriteArrayValueSeparator in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterIOExceptionCopyright © 2012–2023 Michael Angstadt. All rights reserved.