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 Mon Apr 22 19:50:38 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>DOMSerializer (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="DOMSerializer (jackson-databind 2.2.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/DOMSerializer.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMDeserializer.NodeDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ext/OptionalHandlerFactory.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/DOMSerializer.html" target="_top">Frames</a></li> 45<li><a href="DOMSerializer.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.ext</div> 84<h2 title="Class DOMSerializer" class="title">Class DOMSerializer</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<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> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializer</a><T></li> 92<li> 93<ul class="inheritance"> 94<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="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></li> 95<li> 96<ul class="inheritance"> 97<li>com.fasterxml.jackson.databind.ext.DOMSerializer</li> 98</ul> 99</li> 100</ul> 101</li> 102</ul> 103</li> 104</ul> 105<div class="description"> 106<ul class="blockList"> 107<li class="blockList"> 108<dl> 109<dt>All Implemented Interfaces:</dt> 110<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></dd> 111</dl> 112<hr> 113<br> 114<pre>public class <span class="strong">DOMSerializer</span> 115extends <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></pre> 116</li> 117</ul> 118</div> 119<div class="summary"> 120<ul class="blockList"> 121<li class="blockList"> 122<!-- ======== NESTED CLASS SUMMARY ======== --> 123<ul class="blockList"> 124<li class="blockList"><a name="nested_class_summary"> 125<!-- --> 126</a> 127<h3>Nested Class Summary</h3> 128<ul class="blockList"> 129<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer"> 130<!-- --> 131</a> 132<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> 133<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></code></li> 134</ul> 135</li> 136</ul> 137<!-- =========== FIELD SUMMARY =========== --> 138<ul class="blockList"> 139<li class="blockList"><a name="field_summary"> 140<!-- --> 141</a> 142<h3>Field Summary</h3> 143<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 144<caption><span>Fields</span><span class="tabEnd"> </span></caption> 145<tr> 146<th class="colFirst" scope="col">Modifier and Type</th> 147<th class="colLast" scope="col">Field and Description</th> 148</tr> 149<tr class="altColor"> 150<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/ls/DOMImplementationLS.html?is-external=true" title="class or interface in org.w3c.dom.ls">DOMImplementationLS</a></code></td> 151<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#_domImpl">_domImpl</a></strong></code> </td> 152</tr> 153</table> 154<ul class="blockList"> 155<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.ser.std.StdSerializer"> 156<!-- --> 157</a> 158<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> 159<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#_handledType">_handledType</a></code></li> 160</ul> 161</li> 162</ul> 163<!-- ======== CONSTRUCTOR SUMMARY ======== --> 164<ul class="blockList"> 165<li class="blockList"><a name="constructor_summary"> 166<!-- --> 167</a> 168<h3>Constructor Summary</h3> 169<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 170<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 171<tr> 172<th class="colOne" scope="col">Constructor and Description</th> 173</tr> 174<tr class="altColor"> 175<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#DOMSerializer()">DOMSerializer</a></strong>()</code> </td> 176</tr> 177</table> 178</li> 179</ul> 180<!-- ========== METHOD SUMMARY =========== --> 181<ul class="blockList"> 182<li class="blockList"><a name="method_summary"> 183<!-- --> 184</a> 185<h3>Method Summary</h3> 186<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 187<caption><span>Methods</span><span class="tabEnd"> </span></caption> 188<tr> 189<th class="colFirst" scope="col">Modifier and Type</th> 190<th class="colLast" scope="col">Method and Description</th> 191</tr> 192<tr class="altColor"> 193<td class="colFirst"><code>void</code></td> 194<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.databind.JavaType)">acceptJsonFormatVisitor</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor, 195 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> typeHint)</code> 196<div class="block">Default implementation specifies no format.</div> 197</td> 198</tr> 199<tr class="rowColor"> 200<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMSerializer.html#getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type)">getSchema</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 202 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> typeHint)</code> 203<div class="block">Default implementation simply claims type is "string"; usually 204 overriden by custom serializers.</div> 205</td> 206</tr> 207<tr class="altColor"> 208<td class="colFirst"><code>void</code></td> 209<td class="colLast"><code><strong><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></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> value, 210 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 211 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 212<div class="block">Method that can be called to ask implementation to serialize 213 values of type this serializer handles.</div> 214</td> 215</tr> 216</table> 217<ul class="blockList"> 218<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.std.StdSerializer"> 219<!-- --> 220</a> 221<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> 222<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createObjectNode()">createObjectNode</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#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#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#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> 223</ul> 224<ul class="blockList"> 225<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer"> 226<!-- --> 227</a> 228<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> 229<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#getDelegatee()">getDelegatee</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#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></code></li> 230</ul> 231<ul class="blockList"> 232<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 233<!-- --> 234</a> 235<h3>Methods inherited from class 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> 236<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> 237</ul> 238</li> 239</ul> 240</li> 241</ul> 242</div> 243<div class="details"> 244<ul class="blockList"> 245<li class="blockList"> 246<!-- ============ FIELD DETAIL =========== --> 247<ul class="blockList"> 248<li class="blockList"><a name="field_detail"> 249<!-- --> 250</a> 251<h3>Field Detail</h3> 252<a name="_domImpl"> 253<!-- --> 254</a> 255<ul class="blockListLast"> 256<li class="blockList"> 257<h4>_domImpl</h4> 258<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/ls/DOMImplementationLS.html?is-external=true" title="class or interface in org.w3c.dom.ls">DOMImplementationLS</a> _domImpl</pre> 259</li> 260</ul> 261</li> 262</ul> 263<!-- ========= CONSTRUCTOR DETAIL ======== --> 264<ul class="blockList"> 265<li class="blockList"><a name="constructor_detail"> 266<!-- --> 267</a> 268<h3>Constructor Detail</h3> 269<a name="DOMSerializer()"> 270<!-- --> 271</a> 272<ul class="blockListLast"> 273<li class="blockList"> 274<h4>DOMSerializer</h4> 275<pre>public DOMSerializer()</pre> 276</li> 277</ul> 278</li> 279</ul> 280<!-- ============ METHOD DETAIL ========== --> 281<ul class="blockList"> 282<li class="blockList"><a name="method_detail"> 283<!-- --> 284</a> 285<h3>Method Detail</h3> 286<a name="serialize(org.w3c.dom.Node, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 287<!-- --> 288</a> 289<ul class="blockList"> 290<li class="blockList"> 291<h4>serialize</h4> 292<pre>public void serialize(<a href="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> value, 293 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 294 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 295 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>, 296 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre> 297<div class="block"><strong>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></strong></div> 298<div class="block">Method that can be called to ask implementation to serialize 299 values of type this serializer handles.</div> 300<dl> 301<dt><strong>Specified by:</strong></dt> 302<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="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 303<dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - Value to serialize; can <b>not</b> be null.</dd><dd><code>jgen</code> - Generator used to output resulting Json content</dd><dd><code>provider</code> - Provider that can be used to get serializers for 304 serializing Objects value contains, if any.</dd> 305<dt><span class="strong">Throws:</span></dt> 306<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> 307<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd></dl> 308</li> 309</ul> 310<a name="getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type)"> 311<!-- --> 312</a> 313<ul class="blockList"> 314<li class="blockList"> 315<h4>getSchema</h4> 316<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, 317 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> typeHint)</pre> 318<div class="block"><strong>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></strong></div> 319<div class="block">Default implementation simply claims type is "string"; usually 320 overriden by custom serializers.</div> 321<dl> 322<dt><strong>Specified by:</strong></dt> 323<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> 324<dt><strong>Overrides:</strong></dt> 325<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="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 326<dt><span class="strong">Parameters:</span></dt><dd><code>provider</code> - The serializer provider.</dd><dd><code>typeHint</code> - A hint about the type.</dd> 327<dt><span class="strong">Returns:</span></dt><dd><a href="http://json-schema.org/">Json-schema</a> for this serializer.</dd></dl> 328</li> 329</ul> 330<a name="acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.databind.JavaType)"> 331<!-- --> 332</a> 333<ul class="blockListLast"> 334<li class="blockList"> 335<h4>acceptJsonFormatVisitor</h4> 336<pre>public void acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor, 337 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> typeHint) 338 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 339<div class="block"><strong>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></strong></div> 340<div class="block">Default implementation specifies no format. This behavior is usually 341 overriden by custom serializers.</div> 342<dl> 343<dt><strong>Specified by:</strong></dt> 344<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> 345<dt><strong>Overrides:</strong></dt> 346<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="http://docs.oracle.com/javase/6/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a>></code></dd> 347<dd><code>typeHint</code> - Type of element (entity like property) being visited</dd> 348<dt><span class="strong">Throws:</span></dt> 349<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 350</li> 351</ul> 352</li> 353</ul> 354</li> 355</ul> 356</div> 357</div> 358<!-- ========= END OF CLASS DATA ========= --> 359<!-- ======= START OF BOTTOM NAVBAR ====== --> 360<div class="bottomNav"><a name="navbar_bottom"> 361<!-- --> 362</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 363<!-- --> 364</a> 365<ul class="navList" title="Navigation"> 366<li><a href="../../../../../overview-summary.html">Overview</a></li> 367<li><a href="package-summary.html">Package</a></li> 368<li class="navBarCell1Rev">Class</li> 369<li><a href="class-use/DOMSerializer.html">Use</a></li> 370<li><a href="package-tree.html">Tree</a></li> 371<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 372<li><a href="../../../../../index-all.html">Index</a></li> 373<li><a href="../../../../../help-doc.html">Help</a></li> 374</ul> 375</div> 376<div class="subNav"> 377<ul class="navList"> 378<li><a href="../../../../../com/fasterxml/jackson/databind/ext/DOMDeserializer.NodeDeserializer.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Prev Class</span></a></li> 379<li><a href="../../../../../com/fasterxml/jackson/databind/ext/OptionalHandlerFactory.html" title="class in com.fasterxml.jackson.databind.ext"><span class="strong">Next Class</span></a></li> 380</ul> 381<ul class="navList"> 382<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ext/DOMSerializer.html" target="_top">Frames</a></li> 383<li><a href="DOMSerializer.html" target="_top">No Frames</a></li> 384</ul> 385<ul class="navList" id="allclasses_navbar_bottom"> 386<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 387</ul> 388<div> 389<script type="text/javascript"><!-- 390 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 391 if(window==top) { 392 allClassesLink.style.display = "block"; 393 } 394 else { 395 allClassesLink.style.display = "none"; 396 } 397 //--> 398</script> 399</div> 400<div> 401<ul class="subNavList"> 402<li>Summary: </li> 403<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 404<li><a href="#field_summary">Field</a> | </li> 405<li><a href="#constructor_summary">Constr</a> | </li> 406<li><a href="#method_summary">Method</a></li> 407</ul> 408<ul class="subNavList"> 409<li>Detail: </li> 410<li><a href="#field_detail">Field</a> | </li> 411<li><a href="#constructor_detail">Constr</a> | </li> 412<li><a href="#method_detail">Method</a></li> 413</ul> 414</div> 415<a name="skip-navbar_bottom"> 416<!-- --> 417</a></div> 418<!-- ======== END OF BOTTOM NAVBAR ======= --> 419<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 420</body> 421</html> 422