org.codehaus.jackson
Interface Versioned

All Known Implementing Classes:
AbstractTypeMaterializer, JacksonJaxbJsonProvider, JacksonJsonProvider, JaxbAnnotationIntrospector, JsonFactory, JsonGenerator, JsonGeneratorBase, JsonGeneratorDelegate, JsonNumericParserBase, JsonParser, JsonParserBase, JsonParserDelegate, JsonParserMinimalBase, JsonParserSequence, MappingJsonFactory, ObjectMapper, ObjectReader, ObjectWriter, ReaderBasedNumericParser, ReaderBasedParser, ReaderBasedParserBase, SmileFactory, SmileGenerator, SmileParser, StreamBasedParserBase, TokenBuffer, TokenBuffer.Parser, TreeTraversingParser, Utf8Generator, Utf8NumericParser, Utf8StreamParser, WriterBasedGenerator

public interface Versioned

Interface that those Jackson components that are explicitly versioned will implement. Intention is to allow both plug-in components (custom extensions) and applications and frameworks that use Jackson to detect exact version of Jackson in use. This may be useful for example for ensuring that proper Jackson version is deployed (beyond mechanisms that deployment system may have), as well as for possible workarounds.

Since:
1.6

Method Summary
 Version version()
          Method called to detect version of the component that implements this interface; returned version should never be null, but may return specific "not available" instance (see Version for details).
 

Method Detail

version

Version version()
Method called to detect version of the component that implements this interface; returned version should never be null, but may return specific "not available" instance (see Version for details).