DefaultPrettyPrinter.Indenter (Jackson-core 2.0.2 API)
Date: 2012-05-14

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.fasterxml.jackson.core.util
Interface DefaultPrettyPrinter.Indenter

All Known Implementing Classes:
  DefaultPrettyPrinter.FixedSpaceIndenter, DefaultPrettyPrinter.Lf2SpacesIndenter, DefaultPrettyPrinter.NopIndenter

Enclosing class:
  DefaultPrettyPrinter

    public static interface DefaultPrettyPrinter.Indenter

Interface that defines objects that can produce indentation used to separate object entries and array values. Indentation in this context just means insertion of white space, independent of whether linefeeds are output.

Method Summary
`boolean` | `isInline()`
`void` | `writeIndentation(JsonGenerator jg, int level)`

Method Detail

### writeIndentation

    void writeIndentation(JsonGenerator jg,
                          int level)
                          throws IOException,
                                 JsonGenerationException

  Throws:
    `IOException`
    `JsonGenerationException`

### isInline

    boolean isInline()

  Returns:
    True if indenter is considered inline (does not add linefeeds), false otherwise

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 fasterxml.com. All Rights Reserved.