• 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 (1.8.0_162) on Tue Mar 24 11:44:39 PDT 2020 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>NioPathSerializer (jackson-databind 2.11.0.rc1 API)</title>
8<meta name="date" content="2020-03-24">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="NioPathSerializer (jackson-databind 2.11.0.rc1 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/NioPathSerializer.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/ext/OptionalHandlerFactory.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/NioPathSerializer.html" target="_top">Frames</a></li>
58<li><a href="NioPathSerializer.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a>&nbsp;|&nbsp;</li>
79<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.ext</div>
97<h2 title="Class NioPathSerializer" class="title">Class NioPathSerializer</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializer</a>&lt;T&gt;</li>
105<li>
106<ul class="inheritance">
107<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.StdSerializer</a>&lt;T&gt;</li>
108<li>
109<ul class="inheritance">
110<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.StdScalarSerializer</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;</li>
111<li>
112<ul class="inheritance">
113<li>com.fasterxml.jackson.databind.ext.NioPathSerializer</li>
114</ul>
115</li>
116</ul>
117</li>
118</ul>
119</li>
120</ul>
121</li>
122</ul>
123<div class="description">
124<ul class="blockList">
125<li class="blockList">
126<dl>
127<dt>All Implemented Interfaces:</dt>
128<dd><a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitable.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitable</a>, <a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
129</dl>
130<hr>
131<br>
132<pre>public class <span class="typeNameLabel">NioPathSerializer</span>
133extends <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdScalarSerializer</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;</pre>
134<dl>
135<dt><span class="simpleTagLabel">Since:</span></dt>
136<dd>2.8</dd>
137<dt><span class="seeLabel">See Also:</span></dt>
138<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ext.NioPathSerializer">Serialized Form</a></dd>
139</dl>
140</li>
141</ul>
142</div>
143<div class="summary">
144<ul class="blockList">
145<li class="blockList">
146<!-- ======== NESTED CLASS SUMMARY ======== -->
147<ul class="blockList">
148<li class="blockList"><a name="nested.class.summary">
149<!--   -->
150</a>
151<h3>Nested Class Summary</h3>
152<ul class="blockList">
153<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">
154<!--   -->
155</a>
156<h3>Nested classes/interfaces inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3>
157<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></code></li>
158</ul>
159</li>
160</ul>
161<!-- =========== FIELD SUMMARY =========== -->
162<ul class="blockList">
163<li class="blockList"><a name="field.summary">
164<!--   -->
165</a>
166<h3>Field Summary</h3>
167<ul class="blockList">
168<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer">
169<!--   -->
170</a>
171<h3>Fields inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3>
172<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_handledType">_handledType</a></code></li>
173</ul>
174</li>
175</ul>
176<!-- ======== CONSTRUCTOR SUMMARY ======== -->
177<ul class="blockList">
178<li class="blockList"><a name="constructor.summary">
179<!--   -->
180</a>
181<h3>Constructor Summary</h3>
182<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
183<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
184<tr>
185<th class="colOne" scope="col">Constructor and Description</th>
186</tr>
187<tr class="altColor">
188<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathSerializer.html#NioPathSerializer--">NioPathSerializer</a></span>()</code>&nbsp;</td>
189</tr>
190</table>
191</li>
192</ul>
193<!-- ========== METHOD SUMMARY =========== -->
194<ul class="blockList">
195<li class="blockList"><a name="method.summary">
196<!--   -->
197</a>
198<h3>Method Summary</h3>
199<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
200<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
201<tr>
202<th class="colFirst" scope="col">Modifier and Type</th>
203<th class="colLast" scope="col">Method and Description</th>
204</tr>
205<tr id="i0" class="altColor">
206<td class="colFirst"><code>void</code></td>
207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathSerializer.html#serialize-java.nio.file.Path-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;value,
208         <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
209         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;serializers)</code>
210<div class="block">Method that can be called to ask implementation to serialize
211 values of type this serializer handles.</div>
212</td>
213</tr>
214<tr id="i1" class="rowColor">
215<td class="colFirst"><code>void</code></td>
216<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathSerializer.html#serializeWithType-java.nio.file.Path-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;value,
217                 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
218                 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
219                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)</code>
220<div class="block">Default implementation will write type prefix, call regular serialization
221 method (since assumption is that value itself does not need JSON
222 Array or Object start/end markers), and then write type suffix.</div>
223</td>
224</tr>
225</table>
226<ul class="blockList">
227<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdScalarSerializer">
228<!--   -->
229</a>
230<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdScalarSerializer</a></h3>
231<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">acceptJsonFormatVisitor</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">getSchema</a></code></li>
232</ul>
233<ul class="blockList">
234<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer">
235<!--   -->
236</a>
237<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3>
238<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_neitherNull-java.lang.Object-java.lang.Object-">_neitherNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_nonEmpty-java.util.Collection-">_nonEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode-java.lang.String-">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode-java.lang.String-boolean-">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findAnnotatedContentSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-">findAnnotatedContentSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findContextualConvertingSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-com.fasterxml.jackson.databind.JsonSerializer-">findContextualConvertingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findConvertingContentSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-com.fasterxml.jackson.databind.JsonSerializer-">findConvertingContentSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findFormatFeature-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-com.fasterxml.jackson.annotation.JsonFormat.Feature-">findFormatFeature</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findFormatOverrides-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-">findFormatOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findIncludeOverrides-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-">findIncludeOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findPropertyFilter-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Object-java.lang.Object-">findPropertyFilter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-boolean-">getSchema</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#handledType--">handledType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#isDefaultSerializer-com.fasterxml.jackson.databind.JsonSerializer-">isDefaultSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitArrayFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes-">visitArrayFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitArrayFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.JavaType-">visitArrayFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitFloatFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-">visitFloatFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitIntFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-">visitIntFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitIntFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat-">visitIntFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitStringFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">visitStringFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitStringFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat-">visitStringFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Throwable-java.lang.Object-int-">wrapAndThrow</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Throwable-java.lang.Object-java.lang.String-">wrapAndThrow</a></code></li>
239</ul>
240<ul class="blockList">
241<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">
242<!--   -->
243</a>
244<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3>
245<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#getDelegatee--">getDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-T-">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isEmpty-T-">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isUnwrappingSerializer--">isUnwrappingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#properties--">properties</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#replaceDelegatee-com.fasterxml.jackson.databind.JsonSerializer-">replaceDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#unwrappingSerializer-com.fasterxml.jackson.databind.util.NameTransformer-">unwrappingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#usesObjectId--">usesObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#withFilterId-java.lang.Object-">withFilterId</a></code></li>
246</ul>
247<ul class="blockList">
248<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
249<!--   -->
250</a>
251<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
252<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
253</ul>
254</li>
255</ul>
256</li>
257</ul>
258</div>
259<div class="details">
260<ul class="blockList">
261<li class="blockList">
262<!-- ========= CONSTRUCTOR DETAIL ======== -->
263<ul class="blockList">
264<li class="blockList"><a name="constructor.detail">
265<!--   -->
266</a>
267<h3>Constructor Detail</h3>
268<a name="NioPathSerializer--">
269<!--   -->
270</a>
271<ul class="blockListLast">
272<li class="blockList">
273<h4>NioPathSerializer</h4>
274<pre>public&nbsp;NioPathSerializer()</pre>
275</li>
276</ul>
277</li>
278</ul>
279<!-- ============ METHOD DETAIL ========== -->
280<ul class="blockList">
281<li class="blockList"><a name="method.detail">
282<!--   -->
283</a>
284<h3>Method Detail</h3>
285<a name="serialize-java.nio.file.Path-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">
286<!--   -->
287</a>
288<ul class="blockList">
289<li class="blockList">
290<h4>serialize</h4>
291<pre>public&nbsp;void&nbsp;serialize(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;value,
292                      <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
293                      <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;serializers)
294               throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
295<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#serialize-T-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">JsonSerializer</a></code></span></div>
296<div class="block">Method that can be called to ask implementation to serialize
297 values of type this serializer handles.</div>
298<dl>
299<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
300<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#serialize-T-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;</code></dd>
301<dt><span class="paramLabel">Parameters:</span></dt>
302<dd><code>value</code> - Value to serialize; can <b>not</b> be null.</dd>
303<dd><code>gen</code> - Generator used to output resulting Json content</dd>
304<dd><code>serializers</code> - Provider that can be used to get serializers for
305   serializing Objects value contains, if any.</dd>
306<dt><span class="throwsLabel">Throws:</span></dt>
307<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
308</dl>
309</li>
310</ul>
311<a name="serializeWithType-java.nio.file.Path-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">
312<!--   -->
313</a>
314<ul class="blockListLast">
315<li class="blockList">
316<h4>serializeWithType</h4>
317<pre>public&nbsp;void&nbsp;serializeWithType(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&nbsp;value,
318                              <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
319                              <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
320                              <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)
321                       throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
322<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html#serializeWithType-T-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">StdScalarSerializer</a></code></span></div>
323<div class="block">Default implementation will write type prefix, call regular serialization
324 method (since assumption is that value itself does not need JSON
325 Array or Object start/end markers), and then write type suffix.
326 This should work for most cases; some sub-classes may want to
327 change this behavior.</div>
328<dl>
329<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
330<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html#serializeWithType-T-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdScalarSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdScalarSerializer</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/file/Path.html?is-external=true" title="class or interface in java.nio.file">Path</a>&gt;</code></dd>
331<dt><span class="paramLabel">Parameters:</span></dt>
332<dd><code>value</code> - Value to serialize; can <b>not</b> be null.</dd>
333<dd><code>g</code> - Generator used to output resulting Json content</dd>
334<dd><code>provider</code> - Provider that can be used to get serializers for
335   serializing Objects value contains, if any.</dd>
336<dd><code>typeSer</code> - Type serializer to use for including type information</dd>
337<dt><span class="throwsLabel">Throws:</span></dt>
338<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
339</dl>
340</li>
341</ul>
342</li>
343</ul>
344</li>
345</ul>
346</div>
347</div>
348<!-- ========= END OF CLASS DATA ========= -->
349<!-- ======= START OF BOTTOM NAVBAR ====== -->
350<div class="bottomNav"><a name="navbar.bottom">
351<!--   -->
352</a>
353<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
354<a name="navbar.bottom.firstrow">
355<!--   -->
356</a>
357<ul class="navList" title="Navigation">
358<li><a href="../../../../../overview-summary.html">Overview</a></li>
359<li><a href="package-summary.html">Package</a></li>
360<li class="navBarCell1Rev">Class</li>
361<li><a href="class-use/NioPathSerializer.html">Use</a></li>
362<li><a href="package-tree.html">Tree</a></li>
363<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
364<li><a href="../../../../../index-all.html">Index</a></li>
365<li><a href="../../../../../help-doc.html">Help</a></li>
366</ul>
367</div>
368<div class="subNav">
369<ul class="navList">
370<li><a href="../../../../../com/fasterxml/jackson/databind/ext/NioPathDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
371<li><a href="../../../../../com/fasterxml/jackson/databind/ext/OptionalHandlerFactory.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
372</ul>
373<ul class="navList">
374<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/NioPathSerializer.html" target="_top">Frames</a></li>
375<li><a href="NioPathSerializer.html" target="_top">No&nbsp;Frames</a></li>
376</ul>
377<ul class="navList" id="allclasses_navbar_bottom">
378<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
379</ul>
380<div>
381<script type="text/javascript"><!--
382  allClassesLink = document.getElementById("allclasses_navbar_bottom");
383  if(window==top) {
384    allClassesLink.style.display = "block";
385  }
386  else {
387    allClassesLink.style.display = "none";
388  }
389  //-->
390</script>
391</div>
392<div>
393<ul class="subNavList">
394<li>Summary:&nbsp;</li>
395<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a>&nbsp;|&nbsp;</li>
396<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer">Field</a>&nbsp;|&nbsp;</li>
397<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
398<li><a href="#method.summary">Method</a></li>
399</ul>
400<ul class="subNavList">
401<li>Detail:&nbsp;</li>
402<li>Field&nbsp;|&nbsp;</li>
403<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
404<li><a href="#method.detail">Method</a></li>
405</ul>
406</div>
407<a name="skip.navbar.bottom">
408<!--   -->
409</a></div>
410<!-- ======== END OF BOTTOM NAVBAR ======= -->
411<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
412</body>
413</html>
414