<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:24 PDT 2013 -->
<title>DefaultPrettyPrinter (Jackson JSON Processor)</title>
<meta name="date" content="2013-07-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="DefaultPrettyPrinter (Jackson JSON Processor)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultPrettyPrinter.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/codehaus/jackson/util/CharTypes.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.FixedSpaceIndenter.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/codehaus/jackson/util/DefaultPrettyPrinter.html" target="_top">Frames</a></li>
<li><a href="DefaultPrettyPrinter.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.codehaus.jackson.util</div>
<h2 title="Class DefaultPrettyPrinter" class="title">Class DefaultPrettyPrinter</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.codehaus.jackson.util.DefaultPrettyPrinter</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/codehaus/jackson/impl/DefaultPrettyPrinter.html" title="class in org.codehaus.jackson.impl">DefaultPrettyPrinter</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">DefaultPrettyPrinter</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></pre>
<div class="block">Default <a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson"><code>PrettyPrinter</code></a> implementation that uses 2-space
 indentation with platform-default linefeeds.
 Usually this class is not instantiated directly, but instead
 method <a href="../../../../org/codehaus/jackson/JsonGenerator.html#useDefaultPrettyPrinter()"><code>JsonGenerator.useDefaultPrettyPrinter()</code></a> is
 used, which will use an instance of this class for operation.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.FixedSpaceIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.FixedSpaceIndenter</a></strong></code>
<div class="block">This is a very simple indenter that only every adds a
 single space for indentation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.Lf2SpacesIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.Lf2SpacesIndenter</a></strong></code>
<div class="block">Default linefeed-based indenter uses system-specific linefeeds and
 2 spaces for indentation per level.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.NopIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.NopIndenter</a></strong></code>
<div class="block">Dummy implementation that adds no indentation whatsoever</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#_arrayIndenter">_arrayIndenter</a></strong></code>
<div class="block">By default, let's use only spaces to separate array values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#_nesting">_nesting</a></strong></code>
<div class="block">Number of open levels of nesting.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#_objectIndenter">_objectIndenter</a></strong></code>
<div class="block">By default, let's use linefeed-adding indenter for separate
 object entries.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#_spacesInObjectEntries">_spacesInObjectEntries</a></strong></code>
<div class="block">By default we will add spaces around colons used to
 separate object fields and values.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#DefaultPrettyPrinter()">DefaultPrettyPrinter</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#beforeArrayValues(org.codehaus.jackson.JsonGenerator)">beforeArrayValues</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after array start marker has been output,
 and right before the first value is to be output.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#beforeObjectEntries(org.codehaus.jackson.JsonGenerator)">beforeObjectEntries</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after object start marker has been output,
 and right before the field name of the first entry is
 to be output.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#indentArraysWith(org.codehaus.jackson.impl.Indenter)">indentArraysWith</a></strong>(<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a>&nbsp;i)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#indentObjectsWith(org.codehaus.jackson.impl.Indenter)">indentObjectsWith</a></strong>(<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a>&nbsp;i)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#spacesInObjectEntries(boolean)">spacesInObjectEntries</a></strong>(boolean&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeArrayValueSeparator(org.codehaus.jackson.JsonGenerator)">writeArrayValueSeparator</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after an array value has been completely
 output, and before another value is to be output.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeEndArray(org.codehaus.jackson.JsonGenerator, int)">writeEndArray</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
             int&nbsp;nrOfValues)</code>
<div class="block">Method called after an Array value has been completely output
 (minus closing bracket).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeEndObject(org.codehaus.jackson.JsonGenerator, int)">writeEndObject</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
              int&nbsp;nrOfEntries)</code>
<div class="block">Method called after an Object value has been completely output
 (minus closing curly bracket).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeObjectEntrySeparator(org.codehaus.jackson.JsonGenerator)">writeObjectEntrySeparator</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after an object entry (field:value) has been completely
 output, and before another value is to be output.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeObjectFieldValueSeparator(org.codehaus.jackson.JsonGenerator)">writeObjectFieldValueSeparator</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after an object field has been output, but
 before the value is output.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeRootValueSeparator(org.codehaus.jackson.JsonGenerator)">writeRootValueSeparator</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called after a root-level value has been completely
 output, and before another value is to be output.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeStartArray(org.codehaus.jackson.JsonGenerator)">writeStartArray</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called when an Array value is to be output, before
 any member/child values are output.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.html#writeStartObject(org.codehaus.jackson.JsonGenerator)">writeStartObject</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)</code>
<div class="block">Method called when an Object value is to be output, before
 any fields are output.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="_arrayIndenter">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_arrayIndenter</h4>
<pre>protected&nbsp;<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a> _arrayIndenter</pre>
<div class="block">By default, let's use only spaces to separate array values.</div>
</li>
</ul>
<a name="_objectIndenter">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_objectIndenter</h4>
<pre>protected&nbsp;<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a> _objectIndenter</pre>
<div class="block">By default, let's use linefeed-adding indenter for separate
 object entries. We'll further configure indenter to use
 system-specific linefeeds, and 2 spaces per level (as opposed to,
 say, single tabs)</div>
</li>
</ul>
<a name="_spacesInObjectEntries">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_spacesInObjectEntries</h4>
<pre>protected&nbsp;boolean _spacesInObjectEntries</pre>
<div class="block">By default we will add spaces around colons used to
 separate object fields and values.
 If disabled, will not use spaces around colon.</div>
</li>
</ul>
<a name="_nesting">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>_nesting</h4>
<pre>protected&nbsp;int _nesting</pre>
<div class="block">Number of open levels of nesting. Used to determine amount of
 indentation to use.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultPrettyPrinter()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultPrettyPrinter</h4>
<pre>public&nbsp;DefaultPrettyPrinter()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="indentArraysWith(org.codehaus.jackson.impl.Indenter)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indentArraysWith</h4>
<pre>public&nbsp;void&nbsp;indentArraysWith(<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a>&nbsp;i)</pre>
</li>
</ul>
<a name="indentObjectsWith(org.codehaus.jackson.impl.Indenter)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indentObjectsWith</h4>
<pre>public&nbsp;void&nbsp;indentObjectsWith(<a href="../../../../org/codehaus/jackson/impl/Indenter.html" title="interface in org.codehaus.jackson.impl">Indenter</a>&nbsp;i)</pre>
</li>
</ul>
<a name="spacesInObjectEntries(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>spacesInObjectEntries</h4>
<pre>public&nbsp;void&nbsp;spacesInObjectEntries(boolean&nbsp;b)</pre>
</li>
</ul>
<a name="writeRootValueSeparator(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeRootValueSeparator</h4>
<pre>public&nbsp;void&nbsp;writeRootValueSeparator(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                             throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                    <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeRootValueSeparator(org.codehaus.jackson.JsonGenerator)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called after a root-level value has been completely
 output, and before another value is to be output.
<p>
 Default
 handling (without pretty-printing) will output a space, to
 allow values to be parsed correctly. Pretty-printer is
 to output some other suitable and nice-looking separator
 (tab(s), space(s), linefeed(s) or any combination thereof).</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeRootValueSeparator(org.codehaus.jackson.JsonGenerator)">writeRootValueSeparator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeStartObject(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeStartObject</h4>
<pre>public&nbsp;void&nbsp;writeStartObject(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                             <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeStartObject(org.codehaus.jackson.JsonGenerator)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called when an Object value is to be output, before
 any fields are output.
<p>
 Default handling (without pretty-printing) will output
 the opening curly bracket.
 Pretty-printer is
 to output a curly bracket as well, but can surround that
 with other (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeStartObject(org.codehaus.jackson.JsonGenerator)">writeStartObject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="beforeObjectEntries(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeObjectEntries</h4>
<pre>public&nbsp;void&nbsp;beforeObjectEntries(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeObjectEntries(org.codehaus.jackson.JsonGenerator)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called after object start marker has been output,
 and right before the field name of the first entry is
 to be output.
 It is <b>not</b> called for objects without entries.
<p>
 Default handling does not output anything, but pretty-printer
 is free to add any white space decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeObjectEntries(org.codehaus.jackson.JsonGenerator)">beforeObjectEntries</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeObjectFieldValueSeparator(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeObjectFieldValueSeparator</h4>
<pre>public&nbsp;void&nbsp;writeObjectFieldValueSeparator(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                           <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block">Method called after an object field has been output, but
 before the value is output.
<p>
 Default handling (without pretty-printing) will output a single
 colon to separate the two. Pretty-printer is
 to output a colon as well, but can surround that with other
 (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeObjectFieldValueSeparator(org.codehaus.jackson.JsonGenerator)">writeObjectFieldValueSeparator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeObjectEntrySeparator(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeObjectEntrySeparator</h4>
<pre>public&nbsp;void&nbsp;writeObjectEntrySeparator(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                               throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                      <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block">Method called after an object entry (field:value) has been completely
 output, and before another value is to be output.
<p>
 Default handling (without pretty-printing) will output a single
 comma to separate the two. Pretty-printer is
 to output a comma as well, but can surround that with other
 (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeObjectEntrySeparator(org.codehaus.jackson.JsonGenerator)">writeObjectEntrySeparator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeEndObject(org.codehaus.jackson.JsonGenerator, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeEndObject</h4>
<pre>public&nbsp;void&nbsp;writeEndObject(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
                  int&nbsp;nrOfEntries)
                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                           <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeEndObject(org.codehaus.jackson.JsonGenerator, int)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called after an Object value has been completely output
 (minus closing curly bracket).
<p>
 Default handling (without pretty-printing) will output
 the closing curly bracket.
 Pretty-printer is
 to output a curly bracket as well, but can surround that
 with other (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeEndObject(org.codehaus.jackson.JsonGenerator, int)">writeEndObject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dd><code>nrOfEntries</code> - Number of direct members of the array that
   have been output</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeStartArray(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeStartArray</h4>
<pre>public&nbsp;void&nbsp;writeStartArray(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                     throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                            <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeStartArray(org.codehaus.jackson.JsonGenerator)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called when an Array value is to be output, before
 any member/child values are output.
<p>
 Default handling (without pretty-printing) will output
 the opening bracket.
 Pretty-printer is
 to output a bracket as well, but can surround that
 with other (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeStartArray(org.codehaus.jackson.JsonGenerator)">writeStartArray</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="beforeArrayValues(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeArrayValues</h4>
<pre>public&nbsp;void&nbsp;beforeArrayValues(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                       throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                              <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeArrayValues(org.codehaus.jackson.JsonGenerator)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called after array start marker has been output,
 and right before the first value is to be output.
 It is <b>not</b> called for arrays with no values.
<p>
 Default handling does not output anything, but pretty-printer
 is free to add any white space decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#beforeArrayValues(org.codehaus.jackson.JsonGenerator)">beforeArrayValues</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeArrayValueSeparator(org.codehaus.jackson.JsonGenerator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeArrayValueSeparator</h4>
<pre>public&nbsp;void&nbsp;writeArrayValueSeparator(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg)
                              throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                     <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block">Method called after an array value has been completely
 output, and before another value is to be output.
<p>
 Default handling (without pretty-printing) will output a single
 comma to separate the two. Pretty-printer is
 to output a comma as well, but can surround that with other
 (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeArrayValueSeparator(org.codehaus.jackson.JsonGenerator)">writeArrayValueSeparator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
<a name="writeEndArray(org.codehaus.jackson.JsonGenerator, int)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>writeEndArray</h4>
<pre>public&nbsp;void&nbsp;writeEndArray(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
                 int&nbsp;nrOfValues)
                   throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                          <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeEndArray(org.codehaus.jackson.JsonGenerator, int)">PrettyPrinter</a></code></strong></div>
<div class="block">Method called after an Array value has been completely output
 (minus closing bracket).
<p>
 Default handling (without pretty-printing) will output
 the closing bracket.
 Pretty-printer is
 to output a bracket as well, but can surround that
 with other (white-space) decoration.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html#writeEndArray(org.codehaus.jackson.JsonGenerator, int)">writeEndArray</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/PrettyPrinter.html" title="interface in org.codehaus.jackson">PrettyPrinter</a></code></dd>
<dd><code>nrOfValues</code> - Number of direct members of the array that
   have been output</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DefaultPrettyPrinter.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/codehaus/jackson/util/CharTypes.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.FixedSpaceIndenter.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/codehaus/jackson/util/DefaultPrettyPrinter.html" target="_top">Frames</a></li>
<li><a href="DefaultPrettyPrinter.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
