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 Sat Apr 25 17:14:51 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>DOMSerializer (jackson-databind 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 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="DOMSerializer (jackson-databind 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":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/DOMSerializer.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/DOMDeserializer.NodeDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/ext/Java7Handlers.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/DOMSerializer.html" target="_top">Frames</a></li> 58<li><a href="DOMSerializer.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All 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: </li> 78<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </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 DOMSerializer" class="title">Class DOMSerializer</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><T></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><<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></li> 108<li> 109<ul class="inheritance"> 110<li>com.fasterxml.jackson.databind.ext.DOMSerializer</li> 111</ul> 112</li> 113</ul> 114</li> 115</ul> 116</li> 117</ul> 118<div class="description"> 119<ul class="blockList"> 120<li class="blockList"> 121<dl> 122<dt>All Implemented Interfaces:</dt> 123<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> 124</dl> 125<hr> 126<br> 127<pre>public class <span class="typeNameLabel">DOMSerializer</span> 128extends <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></pre> 129<dl> 130<dt><span class="seeLabel">See Also:</span></dt> 131<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ext.DOMSerializer">Serialized Form</a></dd> 132</dl> 133</li> 134</ul> 135</div> 136<div class="summary"> 137<ul class="blockList"> 138<li class="blockList"> 139<!-- ======== NESTED CLASS SUMMARY ======== --> 140<ul class="blockList"> 141<li class="blockList"><a name="nested.class.summary"> 142<!-- --> 143</a> 144<h3>Nested Class Summary</h3> 145<ul class="blockList"> 146<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer"> 147<!-- --> 148</a> 149<h3>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3> 150<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></code></li> 151</ul> 152</li> 153</ul> 154<!-- =========== FIELD SUMMARY =========== --> 155<ul class="blockList"> 156<li class="blockList"><a name="field.summary"> 157<!-- --> 158</a> 159<h3>Field Summary</h3> 160<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 161<caption><span>Fields</span><span class="tabEnd"> </span></caption> 162<tr> 163<th class="colFirst" scope="col">Modifier and Type</th> 164<th class="colLast" scope="col">Field and Description</th> 165</tr> 166<tr class="altColor"> 167<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/ls/DOMImplementationLS.html?is-external=true" title="class or interface in org.w3c.dom.ls">DOMImplementationLS</a></code></td> 168<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#Z:Z_domImpl">_domImpl</a></span></code> </td> 169</tr> 170</table> 171<ul class="blockList"> 172<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer"> 173<!-- --> 174</a> 175<h3>Fields inherited from class 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> 176<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_handledType">_handledType</a></code></li> 177</ul> 178</li> 179</ul> 180<!-- ======== CONSTRUCTOR SUMMARY ======== --> 181<ul class="blockList"> 182<li class="blockList"><a name="constructor.summary"> 183<!-- --> 184</a> 185<h3>Constructor Summary</h3> 186<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 187<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 188<tr> 189<th class="colOne" scope="col">Constructor and Description</th> 190</tr> 191<tr class="altColor"> 192<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#DOMSerializer--">DOMSerializer</a></span>()</code> </td> 193</tr> 194</table> 195</li> 196</ul> 197<!-- ========== METHOD SUMMARY =========== --> 198<ul class="blockList"> 199<li class="blockList"><a name="method.summary"> 200<!-- --> 201</a> 202<h3>Method Summary</h3> 203<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 204<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 205<tr> 206<th class="colFirst" scope="col">Modifier and Type</th> 207<th class="colLast" scope="col">Method and Description</th> 208</tr> 209<tr id="i0" class="altColor"> 210<td class="colFirst"><code>void</code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">acceptJsonFormatVisitor</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor, 212 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> typeHint)</code> 213<div class="block">Default implementation specifies no format.</div> 214</td> 215</tr> 216<tr id="i1" class="rowColor"> 217<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">getSchema</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 219 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> typeHint)</code> 220<div class="block">Default implementation simply claims type is "string"; usually 221 overriden by custom serializers.</div> 222</td> 223</tr> 224<tr id="i2" class="altColor"> 225<td class="colFirst"><code>void</code></td> 226<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#serialize-org.w3c.dom.Node-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> value, 227 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 228 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 229<div class="block">Method that can be called to ask implementation to serialize 230 values of type this serializer handles.</div> 231</td> 232</tr> 233</table> 234<ul class="blockList"> 235<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer"> 236<!-- --> 237</a> 238<h3>Methods inherited from class 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> 239<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> 240</ul> 241<ul class="blockList"> 242<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer"> 243<!-- --> 244</a> 245<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3> 246<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#serializeWithType-T-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</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> 247</ul> 248<ul class="blockList"> 249<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 250<!-- --> 251</a> 252<h3>Methods inherited from class 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> 253<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> 254</ul> 255</li> 256</ul> 257</li> 258</ul> 259</div> 260<div class="details"> 261<ul class="blockList"> 262<li class="blockList"> 263<!-- ============ FIELD DETAIL =========== --> 264<ul class="blockList"> 265<li class="blockList"><a name="field.detail"> 266<!-- --> 267</a> 268<h3>Field Detail</h3> 269<a name="Z:Z_domImpl"> 270<!-- --> 271</a> 272<ul class="blockListLast"> 273<li class="blockList"> 274<h4>_domImpl</h4> 275<pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/ls/DOMImplementationLS.html?is-external=true" title="class or interface in org.w3c.dom.ls">DOMImplementationLS</a> _domImpl</pre> 276</li> 277</ul> 278</li> 279</ul> 280<!-- ========= CONSTRUCTOR DETAIL ======== --> 281<ul class="blockList"> 282<li class="blockList"><a name="constructor.detail"> 283<!-- --> 284</a> 285<h3>Constructor Detail</h3> 286<a name="DOMSerializer--"> 287<!-- --> 288</a> 289<ul class="blockListLast"> 290<li class="blockList"> 291<h4>DOMSerializer</h4> 292<pre>public DOMSerializer()</pre> 293</li> 294</ul> 295</li> 296</ul> 297<!-- ============ METHOD DETAIL ========== --> 298<ul class="blockList"> 299<li class="blockList"><a name="method.detail"> 300<!-- --> 301</a> 302<h3>Method Detail</h3> 303<a name="serialize-org.w3c.dom.Node-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 304<!-- --> 305</a> 306<ul class="blockList"> 307<li class="blockList"> 308<h4>serialize</h4> 309<pre>public void serialize(<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> value, 310 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 311 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 312 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>, 313 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre> 314<div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> 315<div class="block">Method that can be called to ask implementation to serialize 316 values of type this serializer handles.</div> 317<dl> 318<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 319<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> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 320<dt><span class="paramLabel">Parameters:</span></dt> 321<dd><code>value</code> - Value to serialize; can <b>not</b> be null.</dd> 322<dd><code>jgen</code> - Generator used to output resulting Json content</dd> 323<dd><code>provider</code> - Provider that can be used to get serializers for 324 serializing Objects value contains, if any.</dd> 325<dt><span class="throwsLabel">Throws:</span></dt> 326<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> 327<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd> 328</dl> 329</li> 330</ul> 331<a name="getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-"> 332<!-- --> 333</a> 334<ul class="blockList"> 335<li class="blockList"> 336<h4>getSchema</h4> 337<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> getSchema(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 338 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> typeHint)</pre> 339<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">StdSerializer</a></code></span></div> 340<div class="block">Default implementation simply claims type is "string"; usually 341 overriden by custom serializers.</div> 342<dl> 343<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 344<dd><code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">getSchema</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a></code></dd> 345<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 346<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">getSchema</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 347<dt><span class="paramLabel">Parameters:</span></dt> 348<dd><code>provider</code> - The serializer provider.</dd> 349<dd><code>typeHint</code> - A hint about the type.</dd> 350<dt><span class="returnLabel">Returns:</span></dt> 351<dd><a href="http://json-schema.org/">Json-schema</a> for this serializer.</dd> 352</dl> 353</li> 354</ul> 355<a name="acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-"> 356<!-- --> 357</a> 358<ul class="blockListLast"> 359<li class="blockList"> 360<h4>acceptJsonFormatVisitor</h4> 361<pre>public void acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor, 362 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> typeHint) 363 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 364<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">StdSerializer</a></code></span></div> 365<div class="block">Default implementation specifies no format. This behavior is usually 366 overriden by custom serializers.</div> 367<dl> 368<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 369<dd><code><a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitable.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">acceptJsonFormatVisitor</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitable.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitable</a></code></dd> 370<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 371<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">acceptJsonFormatVisitor</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 372<dd><code>typeHint</code> - Type of element (entity like property) being visited</dd> 373<dt><span class="throwsLabel">Throws:</span></dt> 374<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 375</dl> 376</li> 377</ul> 378</li> 379</ul> 380</li> 381</ul> 382</div> 383</div> 384<!-- ========= END OF CLASS DATA ========= --> 385<!-- ======= START OF BOTTOM NAVBAR ====== --> 386<div class="bottomNav"><a name="navbar.bottom"> 387<!-- --> 388</a> 389<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 390<a name="navbar.bottom.firstrow"> 391<!-- --> 392</a> 393<ul class="navList" title="Navigation"> 394<li><a href="../../../../../overview-summary.html">Overview</a></li> 395<li><a href="package-summary.html">Package</a></li> 396<li class="navBarCell1Rev">Class</li> 397<li><a href="class-use/DOMSerializer.html">Use</a></li> 398<li><a href="package-tree.html">Tree</a></li> 399<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 400<li><a href="../../../../../index-all.html">Index</a></li> 401<li><a href="../../../../../help-doc.html">Help</a></li> 402</ul> 403</div> 404<div class="subNav"> 405<ul class="navList"> 406<li><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMDeserializer.NodeDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Prev Class</span></a></li> 407<li><a href="../../../../../com/fasterxml/jackson/databind/ext/Java7Handlers.html" title="class in com.fasterxml.jackson.databind.ext"><span class="typeNameLink">Next Class</span></a></li> 408</ul> 409<ul class="navList"> 410<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/DOMSerializer.html" target="_top">Frames</a></li> 411<li><a href="DOMSerializer.html" target="_top">No Frames</a></li> 412</ul> 413<ul class="navList" id="allclasses_navbar_bottom"> 414<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 415</ul> 416<div> 417<script type="text/javascript"><!-- 418 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 419 if(window==top) { 420 allClassesLink.style.display = "block"; 421 } 422 else { 423 allClassesLink.style.display = "none"; 424 } 425 //--> 426</script> 427</div> 428<div> 429<ul class="subNavList"> 430<li>Summary: </li> 431<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 432<li><a href="#field.summary">Field</a> | </li> 433<li><a href="#constructor.summary">Constr</a> | </li> 434<li><a href="#method.summary">Method</a></li> 435</ul> 436<ul class="subNavList"> 437<li>Detail: </li> 438<li><a href="#field.detail">Field</a> | </li> 439<li><a href="#constructor.detail">Constr</a> | </li> 440<li><a href="#method.detail">Method</a></li> 441</ul> 442</div> 443<a name="skip.navbar.bottom"> 444<!-- --> 445</a></div> 446<!-- ======== END OF BOTTOM NAVBAR ======= --> 447<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 448</body> 449</html> 450