Package org.apache.uima.json.impl
Class JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter
java.lang.Object
com.fasterxml.jackson.core.util.DefaultPrettyPrinter
org.apache.uima.json.impl.JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter
- All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter
,com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>
,Serializable
- Enclosing class:
- JsonContentHandlerJacksonWrapper
private class JsonContentHandlerJacksonWrapper.UimaJsonPrettyPrinter
extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
implements com.fasterxml.jackson.core.PrettyPrinter
-
Nested Class Summary
Nested classes/interfaces inherited from class 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
-
Field Summary
FieldsFields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
_arrayIndenter, _nesting, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATOR
Fields inherited from interface com.fasterxml.jackson.core.PrettyPrinter
DEFAULT_ROOT_VALUE_SEPARATOR, DEFAULT_SEPARATORS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeArrayValues
(com.fasterxml.jackson.core.JsonGenerator jg) void
beforeObjectEntries
(com.fasterxml.jackson.core.JsonGenerator jg) private void
maybeOutputNl
(com.fasterxml.jackson.core.JsonGenerator jg) private void
private void
maybeOutputNlOrBlank
(com.fasterxml.jackson.core.JsonGenerator jg) void
writeArrayValueSeparator
(com.fasterxml.jackson.core.JsonGenerator jg) void
writeObjectEntrySeparator
(com.fasterxml.jackson.core.JsonGenerator jg) Methods inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
_withSpaces, createInstance, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeEndArray, writeEndObject, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fasterxml.jackson.core.PrettyPrinter
writeEndArray, writeEndObject, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
UimaJsonPrettyPrinter
private UimaJsonPrettyPrinter()
-
-
Method Details
-
writeObjectEntrySeparator
public void writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
writeObjectEntrySeparator
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
writeObjectEntrySeparator
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
writeArrayValueSeparator
public void writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
writeArrayValueSeparator
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
writeArrayValueSeparator
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
beforeArrayValues
public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
beforeArrayValues
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
beforeArrayValues
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
beforeObjectEntries
public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
beforeObjectEntries
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
beforeObjectEntries
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
com.fasterxml.jackson.core.JsonGenerationException
-
maybeOutputNl
- Throws:
IOException
-
maybeOutputNlOrBlank
- Throws:
IOException
-
maybeOutputNlIndent
- Throws:
IOException
-