[jackson-annotations] 105/207: javadoc improvements
Timo Aaltonen
tjaalton at moszumanska.debian.org
Sat Sep 6 13:55:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton pushed a commit to branch master
in repository jackson-annotations.
commit 4c7fbf34cfbdec0a89d029d4fe25230ff8b0ec9d
Author: Tatu Saloranta <tsaloranta at gmail.com>
Date: Tue Feb 26 15:04:36 2013 -0800
javadoc improvements
---
pom.xml | 2 +-
src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a26e002..6033286 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>com.fasterxml</groupId>
<artifactId>oss-parent</artifactId>
- <version>4</version>
+ <version>7</version>
</parent>
<groupId>com.fasterxml.jackson.core</groupId>
diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java b/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
index b20111f..ce05b9b 100644
--- a/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
+++ b/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
@@ -220,6 +220,14 @@ public @interface JsonTypeInfo
* this is used with type-name -based resolution, to cover cases
* where new sub-types are added, but base type is not changed to
* reference new sub-types.
+ *<p>
+ * There are certain special values that indicate alternate behavior:
+ *<ul>
+ * <li>{@link None} means "there is no default implementation" (in which
+ * case an error results from unmappable type)
+ * <li><code>com.fasterxml.jackson.databind.annotation.NoClass</code> means that
+ * objects with unmappable (or missing) type are to be mapped to null references.
+ * </ul>
*/
public Class<?> defaultImpl() default None.class;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-annotations.git
More information about the pkg-java-commits
mailing list