• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:22 PDT 2013 -->
6<title>Indenter (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="Indenter (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/Indenter.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/impl/DefaultPrettyPrinter.html" title="class in org.codehaus.jackson.impl"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/impl/JsonGeneratorBase.html" title="class in org.codehaus.jackson.impl"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/impl/Indenter.html" target="_top">Frames</a></li>
44<li><a href="Indenter.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li>Field&nbsp;|&nbsp;</li>
66<li>Constr&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li>Field&nbsp;|&nbsp;</li>
72<li>Constr&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.impl</div>
83<h2 title="Interface Indenter" class="title">Interface Indenter</h2>
84</div>
85<div class="contentContainer">
86<div class="description">
87<ul class="blockList">
88<li class="blockList">
89<dl>
90<dt>All Known Implementing Classes:</dt>
91<dd><a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.FixedSpaceIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.FixedSpaceIndenter</a>, <a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.Lf2SpacesIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.Lf2SpacesIndenter</a>, <a href="../../../../org/codehaus/jackson/util/DefaultPrettyPrinter.NopIndenter.html" title="class in org.codehaus.jackson.util">DefaultPrettyPrinter.NopIndenter</a></dd>
92</dl>
93<hr>
94<br>
95<pre>public interface <span class="strong">Indenter</span></pre>
96<div class="block">Interface that defines objects that can produce indentation used
97 to separate object entries and array values. Indentation in this
98 context just means insertion of white space, independent of whether
99 linefeeds are output.</div>
100</li>
101</ul>
102</div>
103<div class="summary">
104<ul class="blockList">
105<li class="blockList">
106<!-- ========== METHOD SUMMARY =========== -->
107<ul class="blockList">
108<li class="blockList"><a name="method_summary">
109<!--   -->
110</a>
111<h3>Method Summary</h3>
112<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
113<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
114<tr>
115<th class="colFirst" scope="col">Modifier and Type</th>
116<th class="colLast" scope="col">Method and Description</th>
117</tr>
118<tr class="altColor">
119<td class="colFirst"><code>boolean</code></td>
120<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/Indenter.html#isInline()">isInline</a></strong>()</code>&nbsp;</td>
121</tr>
122<tr class="rowColor">
123<td class="colFirst"><code>void</code></td>
124<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/Indenter.html#writeIndentation(org.codehaus.jackson.JsonGenerator, int)">writeIndentation</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
125                int&nbsp;level)</code>&nbsp;</td>
126</tr>
127</table>
128</li>
129</ul>
130</li>
131</ul>
132</div>
133<div class="details">
134<ul class="blockList">
135<li class="blockList">
136<!-- ============ METHOD DETAIL ========== -->
137<ul class="blockList">
138<li class="blockList"><a name="method_detail">
139<!--   -->
140</a>
141<h3>Method Detail</h3>
142<a name="writeIndentation(org.codehaus.jackson.JsonGenerator, int)">
143<!--   -->
144</a>
145<ul class="blockList">
146<li class="blockList">
147<h4>writeIndentation</h4>
148<pre>void&nbsp;writeIndentation(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
149                    int&nbsp;level)
150                      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>,
151                             <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
152<dl><dt><span class="strong">Throws:</span></dt>
153<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>
154<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
155</li>
156</ul>
157<a name="isInline()">
158<!--   -->
159</a>
160<ul class="blockListLast">
161<li class="blockList">
162<h4>isInline</h4>
163<pre>boolean&nbsp;isInline()</pre>
164<dl><dt><span class="strong">Returns:</span></dt><dd>True if indenter is considered inline (does not add linefeeds),
165   false otherwise</dd></dl>
166</li>
167</ul>
168</li>
169</ul>
170</li>
171</ul>
172</div>
173</div>
174<!-- ========= END OF CLASS DATA ========= -->
175<!-- ======= START OF BOTTOM NAVBAR ====== -->
176<div class="bottomNav"><a name="navbar_bottom">
177<!--   -->
178</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
179<!--   -->
180</a>
181<ul class="navList" title="Navigation">
182<li><a href="../../../../overview-summary.html">Overview</a></li>
183<li><a href="package-summary.html">Package</a></li>
184<li class="navBarCell1Rev">Class</li>
185<li><a href="class-use/Indenter.html">Use</a></li>
186<li><a href="package-tree.html">Tree</a></li>
187<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
188<li><a href="../../../../index-all.html">Index</a></li>
189<li><a href="../../../../help-doc.html">Help</a></li>
190</ul>
191</div>
192<div class="subNav">
193<ul class="navList">
194<li><a href="../../../../org/codehaus/jackson/impl/DefaultPrettyPrinter.html" title="class in org.codehaus.jackson.impl"><span class="strong">Prev Class</span></a></li>
195<li><a href="../../../../org/codehaus/jackson/impl/JsonGeneratorBase.html" title="class in org.codehaus.jackson.impl"><span class="strong">Next Class</span></a></li>
196</ul>
197<ul class="navList">
198<li><a href="../../../../index.html?org/codehaus/jackson/impl/Indenter.html" target="_top">Frames</a></li>
199<li><a href="Indenter.html" target="_top">No Frames</a></li>
200</ul>
201<ul class="navList" id="allclasses_navbar_bottom">
202<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
203</ul>
204<div>
205<script type="text/javascript"><!--
206  allClassesLink = document.getElementById("allclasses_navbar_bottom");
207  if(window==top) {
208    allClassesLink.style.display = "block";
209  }
210  else {
211    allClassesLink.style.display = "none";
212  }
213  //-->
214</script>
215</div>
216<div>
217<ul class="subNavList">
218<li>Summary:&nbsp;</li>
219<li>Nested&nbsp;|&nbsp;</li>
220<li>Field&nbsp;|&nbsp;</li>
221<li>Constr&nbsp;|&nbsp;</li>
222<li><a href="#method_summary">Method</a></li>
223</ul>
224<ul class="subNavList">
225<li>Detail:&nbsp;</li>
226<li>Field&nbsp;|&nbsp;</li>
227<li>Constr&nbsp;|&nbsp;</li>
228<li><a href="#method_detail">Method</a></li>
229</ul>
230</div>
231<a name="skip-navbar_bottom">
232<!--   -->
233</a></div>
234<!-- ======== END OF BOTTOM NAVBAR ======= -->
235</body>
236</html>
237