java.lang.reflect.Typecom.fasterxml.jackson.databind.JavaType



Project FasterXML/jackson-databind in file ...erxml.jackson.databind.ext.CoreXMLSerializers.java (2012-08-02)
@@ -1,7 +1,6 @@
 package com.fasterxml.jackson.databind.ext;
 
 import java.io.IOException;
-import java.lang.reflect.Type;
 import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
@@ -12,6 +11,7 @@ import javax.xml.namespace.QName;
 
 import com.fasterxml.jackson.core.*;
 
+import com.fasterxml.jackson.databind.JavaType;
 import com.fasterxml.jackson.databind.JsonMappingException;
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.JsonSerializer;
@@ -63,7 +63,7 @@ public class CoreXMLSerializers
             CalendarSerializer.instance.serialize(value.toGregorianCalendar(), jgen, provider);
         }
 
-        public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, Type typeHint) {
+        public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, JavaType typeHint) {
             CalendarSerializer.instance.acceptJsonFormatVisitor(visitor, null);
         }
     }
Project FasterXML/jackson-databind in file ....fasterxml.jackson.databind.ext.DOMSerializer.java (2012-08-02)
@@ -1,7 +1,6 @@
 package com.fasterxml.jackson.databind.ext;
 
 import java.io.IOException;
-import java.lang.reflect.Type;
 
 import org.w3c.dom.Node;
 import  org.w3c.dom.bootstrap.DOMImplementationRegistry;
@@ -10,6 +9,7 @@ import  org.w3c.dom.ls.LSSerializer;
 
 import com.fasterxml.jackson.core.*;
 
+import com.fasterxml.jackson.databind.JavaType;
 import com.fasterxml.jackson.databind.SerializerProvider;
 import com.fasterxml.jackson.databind.jsonschema.visitors.JsonFormatVisitor;
 import com.fasterxml.jackson.databind.ser.std.StdSerializer;
@@ -41,7 +41,7 @@ public class DOMSerializer
     }
 
     @Override
-    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, Type typeHint)
+    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, JavaType typeHint)
     {
         visitor.anyFormat();
     }
Project FasterXML/jackson-databind in file ...erxml.jackson.databind.jsonschema.SchemaAware.java (2012-08-02)
@@ -1,7 +1,7 @@
 package com.fasterxml.jackson.databind.jsonschema;
 
-import java.lang.reflect.Type;
 
+import com.fasterxml.jackson.databind.JavaType;
 import com.fasterxml.jackson.databind.jsonschema.visitors.JsonFormatVisitor;
 
 /**
@@ -15,5 +15,5 @@ public interface SchemaAware
      *
      * @return <a href="http://json-schema.org/">Json-schema</a> for this serializer.
      */
-    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, Type typeHint);
+    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, JavaType typeHint);
 }
Project FasterXML/jackson-databind in file ...l.jackson.databind.ser.impl.FailingSerializer.java (2012-08-02)
@@ -1,10 +1,10 @@
 package com.fasterxml.jackson.databind.ser.impl;
 
 import java.io.IOException;
-import java.lang.reflect.Type;
 
 import com.fasterxml.jackson.core.*;
 
+import com.fasterxml.jackson.databind.JavaType;
 import com.fasterxml.jackson.databind.SerializerProvider;
 import com.fasterxml.jackson.databind.jsonschema.visitors.JsonFormatVisitor;
 import com.fasterxml.jackson.databind.ser.std.StdSerializer;
@@ -34,7 +34,7 @@ public final class FailingSerializer
     }
 
     @Override
-    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, Type typeHint)
+    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, JavaType typeHint)
     {
         ;
     }
Project FasterXML/jackson-databind in file ...ml.jackson.databind.ser.std.BooleanSerializer.java (2012-08-02)
@@ -1,11 +1,11 @@
 package com.fasterxml.jackson.databind.ser.std;
 
 import java.io.IOException;
-import java.lang.reflect.Type;
 
 import com.fasterxml.jackson.core.JsonGenerationException;
 import com.fasterxml.jackson.core.JsonGenerator;
 
+import com.fasterxml.jackson.databind.JavaType;
 import com.fasterxml.jackson.databind.JsonNode;
 import com.fasterxml.jackson.databind.SerializerProvider;
 import com.fasterxml.jackson.databind.annotation.JacksonStdImpl;
@@ -42,7 +42,7 @@ public final class BooleanSerializer
     }
 
     @Override
-    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, Type typeHint)
+    public void acceptJsonFormatVisitor(JsonFormatVisitor visitor, JavaType typeHint)
     {
         visitor.booleanFormat();
     }