1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:21 PDT 2013 --> 6<title>Versioned (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="Versioned (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/Versioned.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../index-all.html">Index</a></li> 34<li><a href="../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li> 40<li>Next Class</li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../index.html?org/codehaus/jackson/Versioned.html" target="_top">Frames</a></li> 44<li><a href="Versioned.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li>Field | </li> 66<li>Constr | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li>Constr | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson</div> 83<h2 title="Interface Versioned" class="title">Interface Versioned</h2> 84</div> 85<div class="contentContainer"> 86<div class="description"> 87<ul class="blockList"> 88<li class="blockList"> 89<dl> 90<dt>All Known Implementing Classes:</dt> 91<dd><a href="../../../org/codehaus/jackson/mrbean/AbstractTypeMaterializer.html" title="class in org.codehaus.jackson.mrbean">AbstractTypeMaterializer</a>, <a href="../../../org/codehaus/jackson/jaxrs/JacksonJaxbJsonProvider.html" title="class in org.codehaus.jackson.jaxrs">JacksonJaxbJsonProvider</a>, <a href="../../../org/codehaus/jackson/jaxrs/JacksonJsonProvider.html" title="class in org.codehaus.jackson.jaxrs">JacksonJsonProvider</a>, <a href="../../../org/codehaus/jackson/xc/JaxbAnnotationIntrospector.html" title="class in org.codehaus.jackson.xc">JaxbAnnotationIntrospector</a>, <a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>, <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>, <a href="../../../org/codehaus/jackson/impl/JsonGeneratorBase.html" title="class in org.codehaus.jackson.impl">JsonGeneratorBase</a>, <a href="../../../org/codehaus/jackson/util/JsonGeneratorDelegate.html" title="class in org.codehaus.jackson.util">JsonGeneratorDelegate</a>, <a href="../../../org/codehaus/jackson/impl/JsonNumericParserBase.html" title="class in org.codehaus.jackson.impl">JsonNumericParserBase</a>, <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>, <a href="../../../org/codehaus/jackson/impl/JsonParserBase.html" title="class in org.codehaus.jackson.impl">JsonParserBase</a>, <a href="../../../org/codehaus/jackson/util/JsonParserDelegate.html" title="class in org.codehaus.jackson.util">JsonParserDelegate</a>, <a href="../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a>, <a href="../../../org/codehaus/jackson/util/JsonParserSequence.html" title="class in org.codehaus.jackson.util">JsonParserSequence</a>, <a href="../../../org/codehaus/jackson/map/MappingJsonFactory.html" title="class in org.codehaus.jackson.map">MappingJsonFactory</a>, <a href="../../../org/codehaus/jackson/map/Module.html" title="class in org.codehaus.jackson.map">Module</a>, <a href="../../../org/codehaus/jackson/mrbean/MrBeanModule.html" title="class in org.codehaus.jackson.mrbean">MrBeanModule</a>, <a href="../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map">ObjectMapper</a>, <a href="../../../org/codehaus/jackson/map/ObjectReader.html" title="class in org.codehaus.jackson.map">ObjectReader</a>, <a href="../../../org/codehaus/jackson/map/ObjectWriter.html" title="class in org.codehaus.jackson.map">ObjectWriter</a>, <a href="../../../org/codehaus/jackson/impl/ReaderBasedParser.html" title="class in org.codehaus.jackson.impl">ReaderBasedParser</a>, <a href="../../../org/codehaus/jackson/impl/ReaderBasedParserBase.html" title="class in org.codehaus.jackson.impl">ReaderBasedParserBase</a>, <a href="../../../org/codehaus/jackson/map/module/SimpleModule.html" title="class in org.codehaus.jackson.map.module">SimpleModule</a>, <a href="../../../org/codehaus/jackson/smile/SmileFactory.html" title="class in org.codehaus.jackson.smile">SmileFactory</a>, <a href="../../../org/codehaus/jackson/smile/SmileGenerator.html" title="class in org.codehaus.jackson.smile">SmileGenerator</a>, <a href="../../../org/codehaus/jackson/smile/SmileParser.html" title="class in org.codehaus.jackson.smile">SmileParser</a>, <a href="../../../org/codehaus/jackson/impl/StreamBasedParserBase.html" title="class in org.codehaus.jackson.impl">StreamBasedParserBase</a>, <a href="../../../org/codehaus/jackson/util/TokenBuffer.html" title="class in org.codehaus.jackson.util">TokenBuffer</a>, <a href="../../../org/codehaus/jackson/util/TokenBuffer.Parser.html" title="class in org.codehaus.jackson.util">TokenBuffer.Parser</a>, <a href="../../../org/codehaus/jackson/node/TreeTraversingParser.html" title="class in org.codehaus.jackson.node">TreeTraversingParser</a>, <a href="../../../org/codehaus/jackson/impl/Utf8Generator.html" title="class in org.codehaus.jackson.impl">Utf8Generator</a>, <a href="../../../org/codehaus/jackson/impl/Utf8StreamParser.html" title="class in org.codehaus.jackson.impl">Utf8StreamParser</a>, <a href="../../../org/codehaus/jackson/impl/WriterBasedGenerator.html" title="class in org.codehaus.jackson.impl">WriterBasedGenerator</a></dd> 92</dl> 93<hr> 94<br> 95<pre>public interface <span class="strong">Versioned</span></pre> 96<div class="block">Interface that those Jackson components that are explicitly versioned will implement. 97 Intention is to allow both plug-in components (custom extensions) and applications and 98 frameworks that use Jackson to detect exact version of Jackson in use. 99 This may be useful for example for ensuring that proper Jackson version is deployed 100 (beyond mechanisms that deployment system may have), as well as for possible 101 workarounds.</div> 102<dl><dt><span class="strong">Since:</span></dt> 103 <dd>1.6</dd></dl> 104</li> 105</ul> 106</div> 107<div class="summary"> 108<ul class="blockList"> 109<li class="blockList"> 110<!-- ========== METHOD SUMMARY =========== --> 111<ul class="blockList"> 112<li class="blockList"><a name="method_summary"> 113<!-- --> 114</a> 115<h3>Method Summary</h3> 116<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 117<caption><span>Methods</span><span class="tabEnd"> </span></caption> 118<tr> 119<th class="colFirst" scope="col">Modifier and Type</th> 120<th class="colLast" scope="col">Method and Description</th> 121</tr> 122<tr class="altColor"> 123<td class="colFirst"><code><a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a></code></td> 124<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/Versioned.html#version()">version</a></strong>()</code> 125<div class="block">Method called to detect version of the component that implements this interface; 126 returned version should never be null, but may return specific "not available" 127 instance (see <a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div> 128</td> 129</tr> 130</table> 131</li> 132</ul> 133</li> 134</ul> 135</div> 136<div class="details"> 137<ul class="blockList"> 138<li class="blockList"> 139<!-- ============ METHOD DETAIL ========== --> 140<ul class="blockList"> 141<li class="blockList"><a name="method_detail"> 142<!-- --> 143</a> 144<h3>Method Detail</h3> 145<a name="version()"> 146<!-- --> 147</a> 148<ul class="blockListLast"> 149<li class="blockList"> 150<h4>version</h4> 151<pre><a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a> version()</pre> 152<div class="block">Method called to detect version of the component that implements this interface; 153 returned version should never be null, but may return specific "not available" 154 instance (see <a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div> 155</li> 156</ul> 157</li> 158</ul> 159</li> 160</ul> 161</div> 162</div> 163<!-- ========= END OF CLASS DATA ========= --> 164<!-- ======= START OF BOTTOM NAVBAR ====== --> 165<div class="bottomNav"><a name="navbar_bottom"> 166<!-- --> 167</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 168<!-- --> 169</a> 170<ul class="navList" title="Navigation"> 171<li><a href="../../../overview-summary.html">Overview</a></li> 172<li><a href="package-summary.html">Package</a></li> 173<li class="navBarCell1Rev">Class</li> 174<li><a href="class-use/Versioned.html">Use</a></li> 175<li><a href="package-tree.html">Tree</a></li> 176<li><a href="../../../deprecated-list.html">Deprecated</a></li> 177<li><a href="../../../index-all.html">Index</a></li> 178<li><a href="../../../help-doc.html">Help</a></li> 179</ul> 180</div> 181<div class="subNav"> 182<ul class="navList"> 183<li><a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li> 184<li>Next Class</li> 185</ul> 186<ul class="navList"> 187<li><a href="../../../index.html?org/codehaus/jackson/Versioned.html" target="_top">Frames</a></li> 188<li><a href="Versioned.html" target="_top">No Frames</a></li> 189</ul> 190<ul class="navList" id="allclasses_navbar_bottom"> 191<li><a href="../../../allclasses-noframe.html">All Classes</a></li> 192</ul> 193<div> 194<script type="text/javascript"><!-- 195 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 196 if(window==top) { 197 allClassesLink.style.display = "block"; 198 } 199 else { 200 allClassesLink.style.display = "none"; 201 } 202 //--> 203</script> 204</div> 205<div> 206<ul class="subNavList"> 207<li>Summary: </li> 208<li>Nested | </li> 209<li>Field | </li> 210<li>Constr | </li> 211<li><a href="#method_summary">Method</a></li> 212</ul> 213<ul class="subNavList"> 214<li>Detail: </li> 215<li>Field | </li> 216<li>Constr | </li> 217<li><a href="#method_detail">Method</a></li> 218</ul> 219</div> 220<a name="skip-navbar_bottom"> 221<!-- --> 222</a></div> 223<!-- ======== END OF BOTTOM NAVBAR ======= --> 224</body> 225</html> 226