calabash-android 0.4.7.pre6 → 0.4.7.pre7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-android/helpers.rb +7 -15
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/build.xml +2 -2
- data/test-server/instrumentation-backend/.classpath +0 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +1 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForProgress.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +1 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +203 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/apache/http/entity/mime/version.properties +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +413 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +937 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +1197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +879 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +1434 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +80 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +161 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +157 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +24 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +57 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +236 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +176 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +64 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +518 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +570 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +20 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +1067 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +539 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +178 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +228 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +197 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +1757 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +2966 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +1815 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +6 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +239 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +67 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +408 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +303 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +398 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +214 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +387 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +1485 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +171 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +123 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +33 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +926 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +262 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +356 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +339 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +115 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +166 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +335 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +1154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +190 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +81 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +255 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +2885 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +958 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +554 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +258 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +1041 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +198 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +552 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +137 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +118 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +32 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +29 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +216 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +35 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +26 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +19 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +894 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +1537 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +277 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +1474 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +177 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +827 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +326 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +494 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +13 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +280 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +141 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +173 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +102 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +41 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +22 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +139 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +89 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +314 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +412 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +201 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +583 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +1136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +392 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +227 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +55 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +164 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +248 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +15 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +75 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +65 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +217 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +980 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +143 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +56 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +188 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +85 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +101 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +615 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +364 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +813 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +83 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +209 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +713 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +648 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +424 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +12 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +53 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +74 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +110 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +129 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +191 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +69 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +103 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +121 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +138 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +151 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +202 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +37 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +154 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +31 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +9 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +86 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +130 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +59 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +206 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +16 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +7 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +806 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +512 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +126 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +140 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +780 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +17 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +11 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +18 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +852 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +372 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +14 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +93 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +231 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +304 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +114 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +76 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +340 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +113 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +42 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +218 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +47 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +116 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +51 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +63 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +422 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +34 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +281 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +90 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +184 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +476 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +249 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +195 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +43 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +95 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +119 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +36 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +73 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +66 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +204 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +94 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +88 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +265 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +146 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +250 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +148 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +351 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +1165 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +38 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +134 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +23 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +293 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +260 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +645 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +48 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +108 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +52 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +230 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +105 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +117 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +28 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +45 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +10 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +257 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +180 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +21 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +54 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +348 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +4 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +758 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +104 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +136 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +84 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +185 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +96 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +106 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +122 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +99 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +97 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +222 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +72 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +696 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +145 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +299 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +383 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +58 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +30 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +82 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +46 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +25 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +969 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +578 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +50 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +44 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +40 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +39 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +68 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +5 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +503 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +60 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +8 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +109 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +294 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +237 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +282 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +49 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +273 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +251 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +150 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +152 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +707 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +1233 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +79 -0
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +4 -0
- metadata +409 -5
- data/test-server/instrumentation-backend/libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar +0 -0
@@ -0,0 +1,262 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
import java.util.Calendar;
|
5
|
+
import java.util.Date;
|
6
|
+
|
7
|
+
import sh.calaba.org.codehaus.jackson.Base64Variant;
|
8
|
+
import sh.calaba.org.codehaus.jackson.JsonParser;
|
9
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
10
|
+
import sh.calaba.org.codehaus.jackson.JsonToken;
|
11
|
+
import sh.calaba.org.codehaus.jackson.map.type.TypeFactory;
|
12
|
+
import sh.calaba.org.codehaus.jackson.map.util.ArrayBuilders;
|
13
|
+
import sh.calaba.org.codehaus.jackson.map.util.ObjectBuffer;
|
14
|
+
import sh.calaba.org.codehaus.jackson.node.JsonNodeFactory;
|
15
|
+
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Context for deserialization process. Used to allow passing in configuration
|
19
|
+
* settings and reusable temporary objects (scrap arrays, containers).
|
20
|
+
*/
|
21
|
+
public abstract class DeserializationContext
|
22
|
+
{
|
23
|
+
protected final DeserializationConfig _config;
|
24
|
+
|
25
|
+
/**
|
26
|
+
* @since 1.7
|
27
|
+
*/
|
28
|
+
protected final int _featureFlags;
|
29
|
+
|
30
|
+
/*
|
31
|
+
/**********************************************************
|
32
|
+
/* Life-cycle
|
33
|
+
/**********************************************************
|
34
|
+
*/
|
35
|
+
|
36
|
+
protected DeserializationContext(DeserializationConfig config)
|
37
|
+
{
|
38
|
+
_config = config;
|
39
|
+
_featureFlags = config._featureFlags;
|
40
|
+
}
|
41
|
+
|
42
|
+
/*
|
43
|
+
/**********************************************************
|
44
|
+
/* Configuration methods
|
45
|
+
/**********************************************************
|
46
|
+
*/
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Method for accessing configuration setting object for
|
50
|
+
* currently active deserialization.
|
51
|
+
*/
|
52
|
+
public DeserializationConfig getConfig() { return _config; }
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Returns provider that can be used for dynamically locating
|
56
|
+
* other deserializers during runtime.
|
57
|
+
*
|
58
|
+
* @since 1.5
|
59
|
+
*/
|
60
|
+
public DeserializerProvider getDeserializerProvider() {
|
61
|
+
// will be overridden by impl class
|
62
|
+
return null;
|
63
|
+
}
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Convenience method for checking whether specified on/off
|
67
|
+
* feature is enabled
|
68
|
+
*/
|
69
|
+
public boolean isEnabled(DeserializationConfig.Feature feat) {
|
70
|
+
/* 03-Dec-2010, tatu: minor shortcut; since this is called quite often,
|
71
|
+
* let's use a local copy of feature settings:
|
72
|
+
*/
|
73
|
+
return (_featureFlags & feat.getMask()) != 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Convenience method for accessing the default Base64 encoding
|
78
|
+
* used for decoding base64 encoded binary content.
|
79
|
+
* Same as calling:
|
80
|
+
*<pre>
|
81
|
+
* getConfig().getBase64Variant();
|
82
|
+
*</pre>
|
83
|
+
*/
|
84
|
+
public Base64Variant getBase64Variant() {
|
85
|
+
return _config.getBase64Variant();
|
86
|
+
}
|
87
|
+
|
88
|
+
/**
|
89
|
+
* Accessor for getting access to the underlying JSON parser used
|
90
|
+
* for deserialization.
|
91
|
+
*/
|
92
|
+
public abstract JsonParser getParser();
|
93
|
+
|
94
|
+
public final JsonNodeFactory getNodeFactory() {
|
95
|
+
return _config.getNodeFactory();
|
96
|
+
}
|
97
|
+
|
98
|
+
/**
|
99
|
+
* @since 1.8
|
100
|
+
*/
|
101
|
+
public JavaType constructType(Class<?> cls) {
|
102
|
+
return _config.constructType(cls);
|
103
|
+
}
|
104
|
+
|
105
|
+
/**
|
106
|
+
* @since 1.9
|
107
|
+
*/
|
108
|
+
public TypeFactory getTypeFactory() {
|
109
|
+
return _config.getTypeFactory();
|
110
|
+
}
|
111
|
+
|
112
|
+
/**
|
113
|
+
* @since 1.9
|
114
|
+
*/
|
115
|
+
public abstract Object findInjectableValue(Object valueId,
|
116
|
+
BeanProperty forProperty, Object beanInstance);
|
117
|
+
|
118
|
+
/*
|
119
|
+
/**********************************************************
|
120
|
+
/* Methods for accessing reusable/recyclable helper objects
|
121
|
+
/**********************************************************
|
122
|
+
*/
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Method that can be used to get access to a reusable ObjectBuffer,
|
126
|
+
* useful for efficiently constructing Object arrays and Lists.
|
127
|
+
* Note that leased buffers should be returned once deserializer
|
128
|
+
* is done, to allow for reuse during same round of deserialization.
|
129
|
+
*/
|
130
|
+
public abstract ObjectBuffer leaseObjectBuffer();
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Method to call to return object buffer previously leased with
|
134
|
+
* {@link #leaseObjectBuffer}.
|
135
|
+
*
|
136
|
+
* @param buf Returned object buffer
|
137
|
+
*/
|
138
|
+
public abstract void returnObjectBuffer(ObjectBuffer buf);
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Method for accessing object useful for building arrays of
|
142
|
+
* primitive types (such as int[]).
|
143
|
+
*/
|
144
|
+
public abstract ArrayBuilders getArrayBuilders();
|
145
|
+
|
146
|
+
/*
|
147
|
+
/**********************************************************
|
148
|
+
/* Parsing methods that may use reusable/-cyclable objects
|
149
|
+
/**********************************************************
|
150
|
+
*/
|
151
|
+
|
152
|
+
/**
|
153
|
+
* Convenience method for parsing a Date from given String, using
|
154
|
+
* currently configured date format (accessed using
|
155
|
+
* {@link DeserializationConfig#getDateFormat()}).
|
156
|
+
*<p>
|
157
|
+
* Implementation will handle thread-safety issues related to
|
158
|
+
* date formats such that first time this method is called,
|
159
|
+
* date format is cloned, and cloned instance will be retained
|
160
|
+
* for use during this deserialization round.
|
161
|
+
*/
|
162
|
+
public abstract java.util.Date parseDate(String dateStr)
|
163
|
+
throws IllegalArgumentException;
|
164
|
+
|
165
|
+
/**
|
166
|
+
* Convenience method for constructing Calendar instance set
|
167
|
+
* to specified time, to be modified and used by caller.
|
168
|
+
*/
|
169
|
+
public abstract Calendar constructCalendar(Date d);
|
170
|
+
|
171
|
+
/*
|
172
|
+
/**********************************************************
|
173
|
+
/* Methods for problem handling, reporting
|
174
|
+
/**********************************************************
|
175
|
+
*/
|
176
|
+
|
177
|
+
/**
|
178
|
+
* Method deserializers can call to inform configured {@link DeserializationProblemHandler}s
|
179
|
+
* of an unrecognized property.
|
180
|
+
*
|
181
|
+
* @return True if there was a configured problem handler that was able to handle the
|
182
|
+
* proble
|
183
|
+
*
|
184
|
+
* @since 1.5
|
185
|
+
*/
|
186
|
+
public abstract boolean handleUnknownProperty(JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName)
|
187
|
+
throws IOException, JsonProcessingException;
|
188
|
+
|
189
|
+
/**
|
190
|
+
* Helper method for constructing generic mapping exception for specified type
|
191
|
+
*/
|
192
|
+
public abstract JsonMappingException mappingException(Class<?> targetClass);
|
193
|
+
|
194
|
+
/**
|
195
|
+
* @since 1.9
|
196
|
+
*/
|
197
|
+
public abstract JsonMappingException mappingException(Class<?> targetClass, JsonToken t);
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Helper method for constructing generic mapping exception with specified
|
201
|
+
* message and current location information
|
202
|
+
*
|
203
|
+
* @since 1.7
|
204
|
+
*/
|
205
|
+
public JsonMappingException mappingException(String message)
|
206
|
+
{
|
207
|
+
return JsonMappingException.from(getParser(), message);
|
208
|
+
}
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Helper method for constructing instantiation exception for specified type,
|
212
|
+
* to indicate problem with physically constructing instance of
|
213
|
+
* specified class (missing constructor, exception from constructor)
|
214
|
+
*/
|
215
|
+
public abstract JsonMappingException instantiationException(Class<?> instClass, Throwable t);
|
216
|
+
|
217
|
+
public abstract JsonMappingException instantiationException(Class<?> instClass, String msg);
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Helper method for constructing exception to indicate that input JSON
|
221
|
+
* String was not in recognized format for deserializing into given type.
|
222
|
+
*/
|
223
|
+
public abstract JsonMappingException weirdStringException(Class<?> instClass, String msg);
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Helper method for constructing exception to indicate that input JSON
|
227
|
+
* Number was not suitable for deserializing into given type.
|
228
|
+
*/
|
229
|
+
public abstract JsonMappingException weirdNumberException(Class<?> instClass, String msg);
|
230
|
+
|
231
|
+
/**
|
232
|
+
* Helper method for constructing exception to indicate that given JSON
|
233
|
+
* Object field name was not in format to be able to deserialize specified
|
234
|
+
* key type.
|
235
|
+
*/
|
236
|
+
public abstract JsonMappingException weirdKeyException(Class<?> keyClass, String keyValue, String msg);
|
237
|
+
|
238
|
+
/**
|
239
|
+
* Helper method for indicating that the current token was expected to be another
|
240
|
+
* token.
|
241
|
+
*/
|
242
|
+
public abstract JsonMappingException wrongTokenException(JsonParser jp, JsonToken expToken, String msg);
|
243
|
+
|
244
|
+
/**
|
245
|
+
* Helper method for constructing exception to indicate that JSON Object
|
246
|
+
* field name did not map to a known property of type being
|
247
|
+
* deserialized.
|
248
|
+
*
|
249
|
+
* @param instanceOrClass Either value being populated (if one has been
|
250
|
+
* instantiated), or Class that indicates type that would be (or
|
251
|
+
* have been) instantiated
|
252
|
+
*/
|
253
|
+
public abstract JsonMappingException unknownFieldException(Object instanceOrClass, String fieldName);
|
254
|
+
|
255
|
+
/**
|
256
|
+
* Helper method for constructing exception to indicate that given
|
257
|
+
* type id (parsed from JSON) could not be converted to a Java type.
|
258
|
+
*
|
259
|
+
* @since 1.5
|
260
|
+
*/
|
261
|
+
public abstract JsonMappingException unknownTypeException(JavaType baseType, String id);
|
262
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
|
5
|
+
import sh.calaba.org.codehaus.jackson.JsonProcessingException;
|
6
|
+
|
7
|
+
/**
|
8
|
+
* This is the class that can be registered (via
|
9
|
+
* {@link DeserializationConfig} object owner by
|
10
|
+
* {@link ObjectMapper}) to get calledn when a potentially
|
11
|
+
* recoverable problem is encountered during deserialization
|
12
|
+
* process. Handlers can try to resolve the problem, throw
|
13
|
+
* an exception or do nothing.
|
14
|
+
*<p>
|
15
|
+
* Default implementations for all methods implemented minimal
|
16
|
+
* "do nothing" functionality, which is roughly equivalent to
|
17
|
+
* not having a registered listener at all. This allows for
|
18
|
+
* only implemented handler methods one is interested in, without
|
19
|
+
* handling other cases.
|
20
|
+
*
|
21
|
+
* @author tatu
|
22
|
+
*/
|
23
|
+
public abstract class DeserializationProblemHandler
|
24
|
+
{
|
25
|
+
/**
|
26
|
+
* Method called when a Json Map ("Object") entry with an unrecognized
|
27
|
+
* name is encountered.
|
28
|
+
* Content (supposedly) matching the property are accessible via
|
29
|
+
* parser that can be obtained from passed deserialization context.
|
30
|
+
* Handler can also choose to skip the content; if so, it MUST return
|
31
|
+
* true to indicate it did handle property succesfully.
|
32
|
+
* Skipping is usually done like so:
|
33
|
+
*<pre>
|
34
|
+
* ctxt.getParser().skipChildren();
|
35
|
+
*</pre>
|
36
|
+
*<p>
|
37
|
+
* Note: version 1.2 added new deserialization feature
|
38
|
+
* (<code>DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES</code>).
|
39
|
+
* It will only have effect <b>after</b> handler is called, and only
|
40
|
+
* if handler did <b>not</b> handle the problem.
|
41
|
+
*
|
42
|
+
* @param beanOrClass Either bean instance being deserialized (if one
|
43
|
+
* has been instantiated so far); or Class that indicates type that
|
44
|
+
* will be instantiated (if no instantiation done yet: for example
|
45
|
+
* when bean uses non-default constructors)
|
46
|
+
*
|
47
|
+
* @return True if the problem was succesfully resolved (and content available
|
48
|
+
* used or skipped); false if listen
|
49
|
+
*/
|
50
|
+
public boolean handleUnknownProperty(DeserializationContext ctxt, JsonDeserializer<?> deserializer,
|
51
|
+
Object beanOrClass, String propertyName)
|
52
|
+
throws IOException, JsonProcessingException
|
53
|
+
{
|
54
|
+
return false;
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,356 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.map;
|
2
|
+
|
3
|
+
import sh.calaba.org.codehaus.jackson.map.deser.BeanDeserializerModifier;
|
4
|
+
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator;
|
5
|
+
import sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiators;
|
6
|
+
import sh.calaba.org.codehaus.jackson.map.introspect.BasicBeanDescription;
|
7
|
+
import sh.calaba.org.codehaus.jackson.map.type.ArrayType;
|
8
|
+
import sh.calaba.org.codehaus.jackson.map.type.CollectionLikeType;
|
9
|
+
import sh.calaba.org.codehaus.jackson.map.type.CollectionType;
|
10
|
+
import sh.calaba.org.codehaus.jackson.map.type.MapLikeType;
|
11
|
+
import sh.calaba.org.codehaus.jackson.map.type.MapType;
|
12
|
+
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Abstract class that defines API used by {@link DeserializerProvider}
|
16
|
+
* to obtain actual
|
17
|
+
* {@link JsonDeserializer} instances from multiple distinct factories.
|
18
|
+
*<p>
|
19
|
+
* Since there are multiple broad categories of deserializers, there are
|
20
|
+
* multiple factory methods:
|
21
|
+
*<ul>
|
22
|
+
* <li>For JSON "Array" type, we need 2 methods: one to deal with expected
|
23
|
+
* Java arrays ({@link #createArrayDeserializer})
|
24
|
+
* and the other for other Java containers like {@link java.util.List}s
|
25
|
+
* and {@link java.util.Set}s ({@link #createCollectionDeserializer(DeserializationConfig, DeserializerProvider, CollectionType, BeanProperty)})
|
26
|
+
* </li>
|
27
|
+
* <li>For JSON "Object" type, we need 2 methods: one to deal with
|
28
|
+
* expected Java {@link java.util.Map}s
|
29
|
+
* ({@link #createMapDeserializer}), and another for POJOs
|
30
|
+
* ({@link #createBeanDeserializer(DeserializationConfig, DeserializerProvider, JavaType, BeanProperty)}.
|
31
|
+
* </li>
|
32
|
+
* <li>For Tree Model ({@link sh.calaba.org.codehaus.jackson.JsonNode}) properties there is
|
33
|
+
* {@link #createTreeDeserializer(DeserializationConfig, DeserializerProvider, JavaType, BeanProperty)}
|
34
|
+
* <li>For enumerated types ({@link java.lang.Enum}) there is
|
35
|
+
* {@link #createEnumDeserializer(DeserializationConfig, DeserializerProvider, JavaType, BeanProperty)}
|
36
|
+
* </li>
|
37
|
+
* <li>For all other types, {@link #createBeanDeserializer(DeserializationConfig, DeserializerProvider, JavaType, BeanProperty)}
|
38
|
+
* is used.
|
39
|
+
* </ul>
|
40
|
+
*<p>
|
41
|
+
* All above methods take 2 type arguments, except for the first one
|
42
|
+
* which takes just a single argument.
|
43
|
+
*/
|
44
|
+
public abstract class DeserializerFactory
|
45
|
+
{
|
46
|
+
protected final static Deserializers[] NO_DESERIALIZERS = new Deserializers[0];
|
47
|
+
|
48
|
+
/*
|
49
|
+
/**********************************************************
|
50
|
+
/* Helper class to contain configuration settings
|
51
|
+
/**********************************************************
|
52
|
+
*/
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Configuration settings container class for bean deserializer factory
|
56
|
+
*
|
57
|
+
* @since 1.7
|
58
|
+
*/
|
59
|
+
public abstract static class Config
|
60
|
+
{
|
61
|
+
/**
|
62
|
+
* Fluent/factory method used to construct a configuration object that
|
63
|
+
* has same deserializer providers as this instance, plus one specified
|
64
|
+
* as argument. Additional provider will be added before existing ones,
|
65
|
+
* meaning it has priority over existing definitions.
|
66
|
+
*/
|
67
|
+
public abstract Config withAdditionalDeserializers(Deserializers additional);
|
68
|
+
|
69
|
+
/**
|
70
|
+
* Fluent/factory method used to construct a configuration object that
|
71
|
+
* has same key deserializer providers as this instance, plus one specified
|
72
|
+
* as argument. Additional provider will be added before existing ones,
|
73
|
+
* meaning it has priority over existing definitions.
|
74
|
+
*/
|
75
|
+
public abstract Config withAdditionalKeyDeserializers(KeyDeserializers additional);
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Fluent/factory method used to construct a configuration object that
|
79
|
+
* has same configuration as this instance plus one additional
|
80
|
+
* deserialiazer modifier. Added modifier has the highest priority (that is, it
|
81
|
+
* gets called before any already registered modifier).
|
82
|
+
*/
|
83
|
+
public abstract Config withDeserializerModifier(BeanDeserializerModifier modifier);
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Fluent/factory method used to construct a configuration object that
|
87
|
+
* has same configuration as this instance plus one additional
|
88
|
+
* abstract type resolver.
|
89
|
+
* Added resolver has the highest priority (that is, it
|
90
|
+
* gets called before any already registered resolver).
|
91
|
+
*
|
92
|
+
* @since 1.8
|
93
|
+
*/
|
94
|
+
public abstract Config withAbstractTypeResolver(AbstractTypeResolver resolver);
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Fluent/factory method used to construct a configuration object that
|
98
|
+
* has same configuration as this instance plus specified additional
|
99
|
+
* value instantiator provider object.
|
100
|
+
* Added instantiator provider has the highest priority (that is, it
|
101
|
+
* gets called before any already registered resolver).
|
102
|
+
*
|
103
|
+
* @param instantiators Object that can provide {@link sh.calaba.org.codehaus.jackson.map.deser.ValueInstantiator}s for
|
104
|
+
* constructing POJO values during deserialization
|
105
|
+
*
|
106
|
+
* @since 1.9
|
107
|
+
*/
|
108
|
+
public abstract Config withValueInstantiators(ValueInstantiators instantiators);
|
109
|
+
|
110
|
+
public abstract Iterable<Deserializers> deserializers();
|
111
|
+
|
112
|
+
/**
|
113
|
+
* @since 1.8
|
114
|
+
*/
|
115
|
+
public abstract Iterable<KeyDeserializers> keyDeserializers();
|
116
|
+
|
117
|
+
public abstract Iterable<BeanDeserializerModifier> deserializerModifiers();
|
118
|
+
|
119
|
+
/**
|
120
|
+
* @since 1.8
|
121
|
+
*/
|
122
|
+
public abstract Iterable<AbstractTypeResolver> abstractTypeResolvers();
|
123
|
+
|
124
|
+
/**
|
125
|
+
* @since 1.9
|
126
|
+
*/
|
127
|
+
public abstract Iterable<ValueInstantiators> valueInstantiators();
|
128
|
+
|
129
|
+
public abstract boolean hasDeserializers();
|
130
|
+
|
131
|
+
/**
|
132
|
+
* @since 1.8
|
133
|
+
*/
|
134
|
+
public abstract boolean hasKeyDeserializers();
|
135
|
+
|
136
|
+
public abstract boolean hasDeserializerModifiers();
|
137
|
+
|
138
|
+
/**
|
139
|
+
* @since 1.8
|
140
|
+
*/
|
141
|
+
public abstract boolean hasAbstractTypeResolvers();
|
142
|
+
|
143
|
+
/**
|
144
|
+
* @since 1.9
|
145
|
+
*/
|
146
|
+
public abstract boolean hasValueInstantiators();
|
147
|
+
}
|
148
|
+
|
149
|
+
/*
|
150
|
+
/********************************************************
|
151
|
+
/* Configuration handling
|
152
|
+
/********************************************************
|
153
|
+
*/
|
154
|
+
|
155
|
+
/**
|
156
|
+
* @since 1.7
|
157
|
+
*/
|
158
|
+
public abstract Config getConfig();
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Method used for creating a new instance of this factory, but with different
|
162
|
+
* configuration. Reason for specifying factory method (instead of plain constructor)
|
163
|
+
* is to allow proper sub-classing of factories.
|
164
|
+
*<p>
|
165
|
+
* Note that custom sub-classes <b>must override</b> implementation
|
166
|
+
* of this method, as it usually requires instantiating a new instance of
|
167
|
+
* factory type. Check out javadocs for
|
168
|
+
* {@link sh.calaba.org.codehaus.jackson.map.deser.BeanDeserializerFactory} for more details.
|
169
|
+
*
|
170
|
+
* @since 1.7
|
171
|
+
*/
|
172
|
+
public abstract DeserializerFactory withConfig(Config config);
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Convenience method for creating a new factory instance with additional deserializer
|
176
|
+
* provider.
|
177
|
+
*
|
178
|
+
* @since 1.7
|
179
|
+
*/
|
180
|
+
public final DeserializerFactory withAdditionalDeserializers(Deserializers additional) {
|
181
|
+
return withConfig(getConfig().withAdditionalDeserializers(additional));
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Convenience method for creating a new factory instance with additional
|
186
|
+
* {@link KeyDeserializers}.
|
187
|
+
*
|
188
|
+
* @since 1.8
|
189
|
+
*/
|
190
|
+
public final DeserializerFactory withAdditionalKeyDeserializers(KeyDeserializers additional) {
|
191
|
+
return withConfig(getConfig().withAdditionalKeyDeserializers(additional));
|
192
|
+
}
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Convenience method for creating a new factory instance with additional
|
196
|
+
* {@link BeanDeserializerModifier}.
|
197
|
+
*
|
198
|
+
* @since 1.7
|
199
|
+
*/
|
200
|
+
public final DeserializerFactory withDeserializerModifier(BeanDeserializerModifier modifier) {
|
201
|
+
return withConfig(getConfig().withDeserializerModifier(modifier));
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Convenience method for creating a new factory instance with additional
|
206
|
+
* {@link AbstractTypeResolver}.
|
207
|
+
*
|
208
|
+
* @since 1.7
|
209
|
+
*/
|
210
|
+
public final DeserializerFactory withAbstractTypeResolver(AbstractTypeResolver resolver) {
|
211
|
+
return withConfig(getConfig().withAbstractTypeResolver(resolver));
|
212
|
+
}
|
213
|
+
|
214
|
+
/**
|
215
|
+
* Convenience method for creating a new factory instance with additional
|
216
|
+
* {@link ValueInstantiators}.
|
217
|
+
*
|
218
|
+
* @since 1.9
|
219
|
+
*/
|
220
|
+
public final DeserializerFactory withValueInstantiators(ValueInstantiators instantiators) {
|
221
|
+
return withConfig(getConfig().withValueInstantiators(instantiators));
|
222
|
+
}
|
223
|
+
|
224
|
+
/*
|
225
|
+
/**********************************************************
|
226
|
+
/* Basic DeserializerFactory API:
|
227
|
+
/**********************************************************
|
228
|
+
*/
|
229
|
+
|
230
|
+
/**
|
231
|
+
* Method that can be called to try to resolve an abstract type
|
232
|
+
* (interface, abstract class) into a concrete type, or at least
|
233
|
+
* something "more concrete" (abstract class instead of interface).
|
234
|
+
* Will either return passed type, or a more specific type.
|
235
|
+
*
|
236
|
+
* @since 1.9
|
237
|
+
*/
|
238
|
+
public abstract JavaType mapAbstractType(DeserializationConfig config, JavaType type)
|
239
|
+
throws JsonMappingException;
|
240
|
+
|
241
|
+
/**
|
242
|
+
* Method that is to find all creators (constructors, factory methods)
|
243
|
+
* for the bean type to deserialize.
|
244
|
+
*
|
245
|
+
* @since 1.9
|
246
|
+
*/
|
247
|
+
public abstract ValueInstantiator findValueInstantiator(DeserializationConfig config,
|
248
|
+
BasicBeanDescription beanDesc)
|
249
|
+
throws JsonMappingException;
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Method called to create (or, for completely immutable deserializers,
|
253
|
+
* reuse) a deserializer that can convert JSON content into values of
|
254
|
+
* specified Java "bean" (POJO) type.
|
255
|
+
* At this point it is known that the type is not otherwise recognized
|
256
|
+
* as one of structured types (array, Collection, Map) or a well-known
|
257
|
+
* JDK type (enum, primitives/wrappers, String); this method only
|
258
|
+
* gets called if other options are exhausted. This also means that
|
259
|
+
* this method can be overridden to add support for custom types.
|
260
|
+
*
|
261
|
+
* @param type Type to be deserialized
|
262
|
+
* @param p Provider that can be called to create deserializers for
|
263
|
+
* contained member types
|
264
|
+
*/
|
265
|
+
public abstract JsonDeserializer<Object> createBeanDeserializer(DeserializationConfig config, DeserializerProvider p,
|
266
|
+
JavaType type, BeanProperty property)
|
267
|
+
throws JsonMappingException;
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Method called to create (or, for completely immutable deserializers,
|
271
|
+
* reuse) a deserializer that can convert JSON content into values of
|
272
|
+
* specified Java type.
|
273
|
+
*
|
274
|
+
* @param type Type to be deserialized
|
275
|
+
* @param p Provider that can be called to create deserializers for
|
276
|
+
* contained member types
|
277
|
+
*/
|
278
|
+
public abstract JsonDeserializer<?> createArrayDeserializer(DeserializationConfig config, DeserializerProvider p,
|
279
|
+
ArrayType type, BeanProperty property)
|
280
|
+
throws JsonMappingException;
|
281
|
+
|
282
|
+
public abstract JsonDeserializer<?> createCollectionDeserializer(DeserializationConfig config,
|
283
|
+
DeserializerProvider p, CollectionType type, BeanProperty property)
|
284
|
+
throws JsonMappingException;
|
285
|
+
|
286
|
+
/**
|
287
|
+
* @since 1.8
|
288
|
+
*/
|
289
|
+
public abstract JsonDeserializer<?> createCollectionLikeDeserializer(DeserializationConfig config,
|
290
|
+
DeserializerProvider p, CollectionLikeType type, BeanProperty property)
|
291
|
+
throws JsonMappingException;
|
292
|
+
|
293
|
+
public abstract JsonDeserializer<?> createEnumDeserializer(DeserializationConfig config,
|
294
|
+
DeserializerProvider p, JavaType type, BeanProperty property)
|
295
|
+
throws JsonMappingException;
|
296
|
+
|
297
|
+
public abstract JsonDeserializer<?> createMapDeserializer(DeserializationConfig config,
|
298
|
+
DeserializerProvider p, MapType type, BeanProperty property)
|
299
|
+
throws JsonMappingException;
|
300
|
+
|
301
|
+
/**
|
302
|
+
* @since 1.8
|
303
|
+
*/
|
304
|
+
public abstract JsonDeserializer<?> createMapLikeDeserializer(DeserializationConfig config,
|
305
|
+
DeserializerProvider p, MapLikeType type, BeanProperty property)
|
306
|
+
throws JsonMappingException;
|
307
|
+
|
308
|
+
/**
|
309
|
+
* Method called to create and return a deserializer that can construct
|
310
|
+
* JsonNode(s) from JSON content.
|
311
|
+
*/
|
312
|
+
public abstract JsonDeserializer<?> createTreeDeserializer(DeserializationConfig config, DeserializerProvider p,
|
313
|
+
JavaType type, BeanProperty property)
|
314
|
+
throws JsonMappingException;
|
315
|
+
|
316
|
+
/**
|
317
|
+
* Method called to find if factory knows how to create a key deserializer
|
318
|
+
* for specified type; currently this means checking if a module has registered
|
319
|
+
* possible deserializers.
|
320
|
+
*
|
321
|
+
* @return Key deserializer to use for specified type, if one found; null if not
|
322
|
+
* (and default key deserializer should be used)
|
323
|
+
*
|
324
|
+
* @since 1.8
|
325
|
+
*/
|
326
|
+
public KeyDeserializer createKeyDeserializer(DeserializationConfig config, JavaType type,
|
327
|
+
BeanProperty property)
|
328
|
+
throws JsonMappingException
|
329
|
+
{
|
330
|
+
// Default implementation returns null for backwards compatibility reasons
|
331
|
+
return null;
|
332
|
+
}
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Method called to find and create a type information deserializer for given base type,
|
336
|
+
* if one is needed. If not needed (no polymorphic handling configured for type),
|
337
|
+
* should return null.
|
338
|
+
*<p>
|
339
|
+
* Note that this method is usually only directly called for values of container (Collection,
|
340
|
+
* array, Map) types and root values, but not for bean property values.
|
341
|
+
*
|
342
|
+
* @param baseType Declared base type of the value to deserializer (actual
|
343
|
+
* deserializer type will be this type or its subtype)
|
344
|
+
*
|
345
|
+
* @return Type deserializer to use for given base type, if one is needed; null if not.
|
346
|
+
*
|
347
|
+
* @since 1.5
|
348
|
+
*/
|
349
|
+
public TypeDeserializer findTypeDeserializer(DeserializationConfig config, JavaType baseType,
|
350
|
+
BeanProperty property)
|
351
|
+
throws JsonMappingException
|
352
|
+
{
|
353
|
+
// Default implementation returns null for backwards compatibility reasons
|
354
|
+
return null;
|
355
|
+
}
|
356
|
+
}
|