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
_arrayEmptySeparator, _arrayIndenter, _arrayValueSeparator, _nesting, _objectEmptySeparator, _objectEntrySeparator, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATORFields inherited from interface com.fasterxml.jackson.core.PrettyPrinter
DEFAULT_ROOT_VALUE_SEPARATOR, DEFAULT_SEPARATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) voidbeforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) private voidmaybeOutputNl(com.fasterxml.jackson.core.JsonGenerator jg) private voidprivate voidmaybeOutputNlOrBlank(com.fasterxml.jackson.core.JsonGenerator jg) voidwriteArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) voidwriteObjectEntrySeparator(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, writeStartObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
writeObjectEntrySeparatorin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeObjectEntrySeparatorin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
writeArrayValueSeparator
public void writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
writeArrayValueSeparatorin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeArrayValueSeparatorin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
beforeArrayValues
public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
beforeArrayValuesin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
beforeArrayValuesin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
beforeObjectEntries
public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException, com.fasterxml.jackson.core.JsonGenerationException - Specified by:
beforeObjectEntriesin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
beforeObjectEntriesin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOExceptioncom.fasterxml.jackson.core.JsonGenerationException
-
maybeOutputNl
- Throws:
IOException
-
maybeOutputNlOrBlank
- Throws:
IOException
-
maybeOutputNlIndent
- Throws:
IOException
-