All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.jackson.impl.Indenter Maven / Gradle / Ivy

Go to download

Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured and this has made it the most widely-used Java-based cache.

There is a newer version: 2.10.9.2
Show newest version
package org.codehaus.jackson.impl;

import java.io.IOException;

import org.codehaus.jackson.*;

/**
 * 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.
 */
public interface Indenter
{
    public void writeIndentation(JsonGenerator jg, int level)
        throws IOException, JsonGenerationException;

    /**
     * @return True if indenter is considered inline (does not add linefeeds),
     *   false otherwise
     */
    public boolean isInline();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy