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,13 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.impl;
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Deprecated version of the default pretty printer.
|
5
|
+
*
|
6
|
+
* @deprecated Moved to {@link sh.calaba.org.codehaus.jackson.util.DefaultPrettyPrinter}; will be removed in Jackson 2.0
|
7
|
+
*/
|
8
|
+
@Deprecated
|
9
|
+
public class DefaultPrettyPrinter
|
10
|
+
extends sh.calaba.org.codehaus.jackson.util.DefaultPrettyPrinter
|
11
|
+
{
|
12
|
+
|
13
|
+
}
|
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.impl;
|
2
|
+
|
3
|
+
import java.io.IOException;
|
4
|
+
|
5
|
+
import sh.calaba.org.codehaus.jackson.*;
|
6
|
+
|
7
|
+
/**
|
8
|
+
* Interface that defines objects that can produce indentation used
|
9
|
+
* to separate object entries and array values. Indentation in this
|
10
|
+
* context just means insertion of white space, independent of whether
|
11
|
+
* linefeeds are output.
|
12
|
+
*/
|
13
|
+
public interface Indenter
|
14
|
+
{
|
15
|
+
public void writeIndentation(JsonGenerator jg, int level)
|
16
|
+
throws IOException, JsonGenerationException;
|
17
|
+
|
18
|
+
/**
|
19
|
+
* @return True if indenter is considered inline (does not add linefeeds),
|
20
|
+
* false otherwise
|
21
|
+
*/
|
22
|
+
public boolean isInline();
|
23
|
+
}
|
@@ -0,0 +1,570 @@
|
|
1
|
+
package sh.calaba.org.codehaus.jackson.impl;
|
2
|
+
|
3
|
+
import java.io.*;
|
4
|
+
import java.math.BigDecimal;
|
5
|
+
import java.math.BigInteger;
|
6
|
+
import java.util.concurrent.atomic.AtomicBoolean;
|
7
|
+
import java.util.concurrent.atomic.AtomicInteger;
|
8
|
+
import java.util.concurrent.atomic.AtomicLong;
|
9
|
+
|
10
|
+
import sh.calaba.org.codehaus.jackson.*;
|
11
|
+
import sh.calaba.org.codehaus.jackson.util.DefaultPrettyPrinter;
|
12
|
+
import sh.calaba.org.codehaus.jackson.util.VersionUtil;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* This base class implements part of API that a JSON generator exposes
|
16
|
+
* to applications, adds shared internal methods that sub-classes
|
17
|
+
* can use and adds some abstract methods sub-classes must implement.
|
18
|
+
*/
|
19
|
+
public abstract class JsonGeneratorBase
|
20
|
+
extends JsonGenerator
|
21
|
+
{
|
22
|
+
/*
|
23
|
+
/**********************************************************
|
24
|
+
/* Configuration
|
25
|
+
/**********************************************************
|
26
|
+
*/
|
27
|
+
|
28
|
+
protected ObjectCodec _objectCodec;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Bit flag composed of bits that indicate which
|
32
|
+
* {@link sh.calaba.org.codehaus.jackson.JsonGenerator.Feature}s
|
33
|
+
* are enabled.
|
34
|
+
*/
|
35
|
+
protected int _features;
|
36
|
+
|
37
|
+
/**
|
38
|
+
* Flag set to indicate that implicit conversion from number
|
39
|
+
* to JSON String is needed (as per
|
40
|
+
* {@link sh.calaba.org.codehaus.jackson.JsonGenerator.Feature#WRITE_NUMBERS_AS_STRINGS}).
|
41
|
+
*/
|
42
|
+
protected boolean _cfgNumbersAsStrings;
|
43
|
+
|
44
|
+
/*
|
45
|
+
/**********************************************************
|
46
|
+
/* State
|
47
|
+
/**********************************************************
|
48
|
+
*/
|
49
|
+
|
50
|
+
/**
|
51
|
+
* Object that keeps track of the current contextual state
|
52
|
+
* of the generator.
|
53
|
+
*/
|
54
|
+
protected JsonWriteContext _writeContext;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Flag that indicates whether generator is closed or not. Gets
|
58
|
+
* set when it is closed by an explicit call
|
59
|
+
* ({@link #close}).
|
60
|
+
*/
|
61
|
+
protected boolean _closed;
|
62
|
+
|
63
|
+
/*
|
64
|
+
/**********************************************************
|
65
|
+
/* Life-cycle
|
66
|
+
/**********************************************************
|
67
|
+
*/
|
68
|
+
|
69
|
+
protected JsonGeneratorBase(int features, ObjectCodec codec)
|
70
|
+
{
|
71
|
+
super();
|
72
|
+
_features = features;
|
73
|
+
_writeContext = JsonWriteContext.createRootContext();
|
74
|
+
_objectCodec = codec;
|
75
|
+
_cfgNumbersAsStrings = isEnabled(Feature.WRITE_NUMBERS_AS_STRINGS);
|
76
|
+
}
|
77
|
+
|
78
|
+
@Override
|
79
|
+
public Version version() {
|
80
|
+
return VersionUtil.versionFor(getClass());
|
81
|
+
}
|
82
|
+
|
83
|
+
/*
|
84
|
+
/**********************************************************
|
85
|
+
/* Configuration
|
86
|
+
/**********************************************************
|
87
|
+
*/
|
88
|
+
|
89
|
+
@Override
|
90
|
+
public JsonGenerator enable(Feature f) {
|
91
|
+
_features |= f.getMask();
|
92
|
+
if (f == Feature.WRITE_NUMBERS_AS_STRINGS) {
|
93
|
+
_cfgNumbersAsStrings = true;
|
94
|
+
} else if (f == Feature.ESCAPE_NON_ASCII) {
|
95
|
+
setHighestNonEscapedChar(127);
|
96
|
+
}
|
97
|
+
return this;
|
98
|
+
}
|
99
|
+
|
100
|
+
@Override
|
101
|
+
public JsonGenerator disable(Feature f) {
|
102
|
+
_features &= ~f.getMask();
|
103
|
+
if (f == Feature.WRITE_NUMBERS_AS_STRINGS) {
|
104
|
+
_cfgNumbersAsStrings = false;
|
105
|
+
} else if (f == Feature.ESCAPE_NON_ASCII) {
|
106
|
+
setHighestNonEscapedChar(0);
|
107
|
+
}
|
108
|
+
return this;
|
109
|
+
}
|
110
|
+
|
111
|
+
//public JsonGenerator configure(Feature f, boolean state) { }
|
112
|
+
|
113
|
+
@Override
|
114
|
+
public final boolean isEnabled(Feature f) {
|
115
|
+
return (_features & f.getMask()) != 0;
|
116
|
+
}
|
117
|
+
|
118
|
+
@Override
|
119
|
+
public JsonGenerator useDefaultPrettyPrinter() {
|
120
|
+
return setPrettyPrinter(new DefaultPrettyPrinter());
|
121
|
+
}
|
122
|
+
|
123
|
+
@Override
|
124
|
+
public JsonGenerator setCodec(ObjectCodec oc) {
|
125
|
+
_objectCodec = oc;
|
126
|
+
return this;
|
127
|
+
}
|
128
|
+
|
129
|
+
@Override
|
130
|
+
public final ObjectCodec getCodec() { return _objectCodec; }
|
131
|
+
|
132
|
+
/*
|
133
|
+
/**********************************************************
|
134
|
+
/* Public API, accessors
|
135
|
+
/**********************************************************
|
136
|
+
*/
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Note: co-variant return type.
|
140
|
+
*/
|
141
|
+
@Override
|
142
|
+
public final JsonWriteContext getOutputContext() { return _writeContext; }
|
143
|
+
|
144
|
+
/*
|
145
|
+
/**********************************************************
|
146
|
+
/* Public API, write methods, structural
|
147
|
+
/**********************************************************
|
148
|
+
*/
|
149
|
+
|
150
|
+
@Override
|
151
|
+
public void writeStartArray() throws IOException, JsonGenerationException
|
152
|
+
{
|
153
|
+
// Array is a value, need to verify it's allowed
|
154
|
+
_verifyValueWrite("start an array");
|
155
|
+
_writeContext = _writeContext.createChildArrayContext();
|
156
|
+
if (_cfgPrettyPrinter != null) {
|
157
|
+
_cfgPrettyPrinter.writeStartArray(this);
|
158
|
+
} else {
|
159
|
+
_writeStartArray();
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
/**
|
164
|
+
* @deprecated since 1.7, should just override {@link #writeStartArray} instead
|
165
|
+
* of defining this method
|
166
|
+
*/
|
167
|
+
@Deprecated
|
168
|
+
protected void _writeStartArray() throws IOException, JsonGenerationException {
|
169
|
+
}
|
170
|
+
|
171
|
+
@Override
|
172
|
+
public void writeEndArray() throws IOException, JsonGenerationException
|
173
|
+
{
|
174
|
+
if (!_writeContext.inArray()) {
|
175
|
+
_reportError("Current context not an ARRAY but "+_writeContext.getTypeDesc());
|
176
|
+
}
|
177
|
+
if (_cfgPrettyPrinter != null) {
|
178
|
+
_cfgPrettyPrinter.writeEndArray(this, _writeContext.getEntryCount());
|
179
|
+
} else {
|
180
|
+
_writeEndArray();
|
181
|
+
}
|
182
|
+
_writeContext = _writeContext.getParent();
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* @deprecated since 1.7, should just override {@link #writeEndArray} instead
|
187
|
+
* of defining this method
|
188
|
+
*/
|
189
|
+
@Deprecated
|
190
|
+
protected void _writeEndArray() throws IOException, JsonGenerationException {
|
191
|
+
}
|
192
|
+
|
193
|
+
@Override
|
194
|
+
public void writeStartObject() throws IOException, JsonGenerationException
|
195
|
+
{
|
196
|
+
_verifyValueWrite("start an object");
|
197
|
+
_writeContext = _writeContext.createChildObjectContext();
|
198
|
+
if (_cfgPrettyPrinter != null) {
|
199
|
+
_cfgPrettyPrinter.writeStartObject(this);
|
200
|
+
} else {
|
201
|
+
_writeStartObject();
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
/**
|
206
|
+
* @deprecated since 1.7, should just override {@link #writeStartObject} instead
|
207
|
+
* of defining this method
|
208
|
+
*/
|
209
|
+
@Deprecated
|
210
|
+
protected void _writeStartObject() throws IOException, JsonGenerationException {
|
211
|
+
}
|
212
|
+
|
213
|
+
@Override
|
214
|
+
public void writeEndObject() throws IOException, JsonGenerationException
|
215
|
+
{
|
216
|
+
if (!_writeContext.inObject()) {
|
217
|
+
_reportError("Current context not an object but "+_writeContext.getTypeDesc());
|
218
|
+
}
|
219
|
+
_writeContext = _writeContext.getParent();
|
220
|
+
if (_cfgPrettyPrinter != null) {
|
221
|
+
_cfgPrettyPrinter.writeEndObject(this, _writeContext.getEntryCount());
|
222
|
+
} else {
|
223
|
+
_writeEndObject();
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
/**
|
228
|
+
* @deprecated since 1.7, should just override {@link #writeEndObject} instead
|
229
|
+
* of defining this method
|
230
|
+
*/
|
231
|
+
@Deprecated
|
232
|
+
protected void _writeEndObject() throws IOException, JsonGenerationException {
|
233
|
+
}
|
234
|
+
|
235
|
+
/*
|
236
|
+
/**********************************************************
|
237
|
+
/* Public API, write methods, textual
|
238
|
+
/**********************************************************
|
239
|
+
*/
|
240
|
+
|
241
|
+
//public abstract void writeString(String text) throws IOException, JsonGenerationException;
|
242
|
+
|
243
|
+
//public abstract void writeString(char[] text, int offset, int len) throws IOException, JsonGenerationException;
|
244
|
+
|
245
|
+
//public abstract void writeRaw(String text) throws IOException, JsonGenerationException;
|
246
|
+
|
247
|
+
//public abstract void writeRaw(char[] text, int offset, int len) throws IOException, JsonGenerationException;
|
248
|
+
|
249
|
+
@Override
|
250
|
+
public void writeRawValue(String text)
|
251
|
+
throws IOException, JsonGenerationException
|
252
|
+
{
|
253
|
+
_verifyValueWrite("write raw value");
|
254
|
+
writeRaw(text);
|
255
|
+
}
|
256
|
+
|
257
|
+
@Override
|
258
|
+
public void writeRawValue(String text, int offset, int len)
|
259
|
+
throws IOException, JsonGenerationException
|
260
|
+
{
|
261
|
+
_verifyValueWrite("write raw value");
|
262
|
+
writeRaw(text, offset, len);
|
263
|
+
}
|
264
|
+
|
265
|
+
@Override
|
266
|
+
public void writeRawValue(char[] text, int offset, int len)
|
267
|
+
throws IOException, JsonGenerationException
|
268
|
+
{
|
269
|
+
_verifyValueWrite("write raw value");
|
270
|
+
writeRaw(text, offset, len);
|
271
|
+
}
|
272
|
+
|
273
|
+
//public abstract void writeBinary(byte[] data, int offset, int len, boolean includeLFs) throws IOException, JsonGenerationException;
|
274
|
+
|
275
|
+
|
276
|
+
/*
|
277
|
+
/**********************************************************
|
278
|
+
/* Public API, write methods, primitive
|
279
|
+
/**********************************************************
|
280
|
+
*/
|
281
|
+
|
282
|
+
// Not implemented at this level, added as placeholders
|
283
|
+
|
284
|
+
/*
|
285
|
+
public abstract void writeNumber(int i)
|
286
|
+
public abstract void writeNumber(long l)
|
287
|
+
public abstract void writeNumber(double d)
|
288
|
+
public abstract void writeNumber(float f)
|
289
|
+
public abstract void writeNumber(BigDecimal dec)
|
290
|
+
public abstract void writeBoolean(boolean state)
|
291
|
+
public abstract void writeNull()
|
292
|
+
*/
|
293
|
+
|
294
|
+
/*
|
295
|
+
/**********************************************************
|
296
|
+
/* Public API, write methods, POJOs, trees
|
297
|
+
/**********************************************************
|
298
|
+
*/
|
299
|
+
|
300
|
+
@Override
|
301
|
+
public void writeObject(Object value)
|
302
|
+
throws IOException, JsonProcessingException
|
303
|
+
{
|
304
|
+
if (value == null) {
|
305
|
+
// important: call method that does check value write:
|
306
|
+
writeNull();
|
307
|
+
} else {
|
308
|
+
/* 02-Mar-2009, tatu: we are NOT to call _verifyValueWrite here,
|
309
|
+
* because that will be done when codec actually serializes
|
310
|
+
* contained POJO. If we did call it it would advance state
|
311
|
+
* causing exception later on
|
312
|
+
*/
|
313
|
+
if (_objectCodec != null) {
|
314
|
+
_objectCodec.writeValue(this, value);
|
315
|
+
return;
|
316
|
+
}
|
317
|
+
_writeSimpleObject(value);
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
@Override
|
322
|
+
public void writeTree(JsonNode rootNode)
|
323
|
+
throws IOException, JsonProcessingException
|
324
|
+
{
|
325
|
+
// As with 'writeObject()', we are not check if write would work
|
326
|
+
if (rootNode == null) {
|
327
|
+
writeNull();
|
328
|
+
} else {
|
329
|
+
if (_objectCodec == null) {
|
330
|
+
throw new IllegalStateException("No ObjectCodec defined for the generator, can not serialize JsonNode-based trees");
|
331
|
+
}
|
332
|
+
_objectCodec.writeTree(this, rootNode);
|
333
|
+
}
|
334
|
+
}
|
335
|
+
|
336
|
+
/*
|
337
|
+
/**********************************************************
|
338
|
+
/* Public API, low-level output handling
|
339
|
+
/**********************************************************
|
340
|
+
*/
|
341
|
+
|
342
|
+
@Override
|
343
|
+
public abstract void flush() throws IOException;
|
344
|
+
|
345
|
+
@Override
|
346
|
+
public void close() throws IOException
|
347
|
+
{
|
348
|
+
_closed = true;
|
349
|
+
}
|
350
|
+
|
351
|
+
@Override
|
352
|
+
public boolean isClosed() { return _closed; }
|
353
|
+
|
354
|
+
/*
|
355
|
+
/**********************************************************
|
356
|
+
/* Public API, copy-through methods
|
357
|
+
/**********************************************************
|
358
|
+
*/
|
359
|
+
|
360
|
+
@Override
|
361
|
+
public final void copyCurrentEvent(JsonParser jp)
|
362
|
+
throws IOException, JsonProcessingException
|
363
|
+
{
|
364
|
+
JsonToken t = jp.getCurrentToken();
|
365
|
+
// sanity check; what to do?
|
366
|
+
if (t == null) {
|
367
|
+
_reportError("No current event to copy");
|
368
|
+
}
|
369
|
+
switch(t) {
|
370
|
+
case START_OBJECT:
|
371
|
+
writeStartObject();
|
372
|
+
break;
|
373
|
+
case END_OBJECT:
|
374
|
+
writeEndObject();
|
375
|
+
break;
|
376
|
+
case START_ARRAY:
|
377
|
+
writeStartArray();
|
378
|
+
break;
|
379
|
+
case END_ARRAY:
|
380
|
+
writeEndArray();
|
381
|
+
break;
|
382
|
+
case FIELD_NAME:
|
383
|
+
writeFieldName(jp.getCurrentName());
|
384
|
+
break;
|
385
|
+
case VALUE_STRING:
|
386
|
+
if (jp.hasTextCharacters()) {
|
387
|
+
writeString(jp.getTextCharacters(), jp.getTextOffset(), jp.getTextLength());
|
388
|
+
} else {
|
389
|
+
writeString(jp.getText());
|
390
|
+
}
|
391
|
+
break;
|
392
|
+
case VALUE_NUMBER_INT:
|
393
|
+
switch (jp.getNumberType()) {
|
394
|
+
case INT:
|
395
|
+
writeNumber(jp.getIntValue());
|
396
|
+
break;
|
397
|
+
case BIG_INTEGER:
|
398
|
+
writeNumber(jp.getBigIntegerValue());
|
399
|
+
break;
|
400
|
+
default:
|
401
|
+
writeNumber(jp.getLongValue());
|
402
|
+
}
|
403
|
+
break;
|
404
|
+
case VALUE_NUMBER_FLOAT:
|
405
|
+
switch (jp.getNumberType()) {
|
406
|
+
case BIG_DECIMAL:
|
407
|
+
writeNumber(jp.getDecimalValue());
|
408
|
+
break;
|
409
|
+
case FLOAT:
|
410
|
+
writeNumber(jp.getFloatValue());
|
411
|
+
break;
|
412
|
+
default:
|
413
|
+
writeNumber(jp.getDoubleValue());
|
414
|
+
}
|
415
|
+
break;
|
416
|
+
case VALUE_TRUE:
|
417
|
+
writeBoolean(true);
|
418
|
+
break;
|
419
|
+
case VALUE_FALSE:
|
420
|
+
writeBoolean(false);
|
421
|
+
break;
|
422
|
+
case VALUE_NULL:
|
423
|
+
writeNull();
|
424
|
+
break;
|
425
|
+
case VALUE_EMBEDDED_OBJECT:
|
426
|
+
writeObject(jp.getEmbeddedObject());
|
427
|
+
break;
|
428
|
+
default:
|
429
|
+
_cantHappen();
|
430
|
+
}
|
431
|
+
}
|
432
|
+
|
433
|
+
@Override
|
434
|
+
public final void copyCurrentStructure(JsonParser jp)
|
435
|
+
throws IOException, JsonProcessingException
|
436
|
+
{
|
437
|
+
JsonToken t = jp.getCurrentToken();
|
438
|
+
|
439
|
+
// Let's handle field-name separately first
|
440
|
+
if (t == JsonToken.FIELD_NAME) {
|
441
|
+
writeFieldName(jp.getCurrentName());
|
442
|
+
t = jp.nextToken();
|
443
|
+
// fall-through to copy the associated value
|
444
|
+
}
|
445
|
+
|
446
|
+
switch (t) {
|
447
|
+
case START_ARRAY:
|
448
|
+
writeStartArray();
|
449
|
+
while (jp.nextToken() != JsonToken.END_ARRAY) {
|
450
|
+
copyCurrentStructure(jp);
|
451
|
+
}
|
452
|
+
writeEndArray();
|
453
|
+
break;
|
454
|
+
case START_OBJECT:
|
455
|
+
writeStartObject();
|
456
|
+
while (jp.nextToken() != JsonToken.END_OBJECT) {
|
457
|
+
copyCurrentStructure(jp);
|
458
|
+
}
|
459
|
+
writeEndObject();
|
460
|
+
break;
|
461
|
+
default: // others are simple:
|
462
|
+
copyCurrentEvent(jp);
|
463
|
+
}
|
464
|
+
}
|
465
|
+
|
466
|
+
/*
|
467
|
+
/**********************************************************
|
468
|
+
/* Package methods for this, sub-classes
|
469
|
+
/**********************************************************
|
470
|
+
*/
|
471
|
+
|
472
|
+
protected abstract void _releaseBuffers();
|
473
|
+
|
474
|
+
protected abstract void _verifyValueWrite(String typeMsg)
|
475
|
+
throws IOException, JsonGenerationException;
|
476
|
+
|
477
|
+
protected void _reportError(String msg)
|
478
|
+
throws JsonGenerationException
|
479
|
+
{
|
480
|
+
throw new JsonGenerationException(msg);
|
481
|
+
}
|
482
|
+
|
483
|
+
protected void _cantHappen()
|
484
|
+
{
|
485
|
+
throw new RuntimeException("Internal error: should never end up through this code path");
|
486
|
+
}
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Helper method to try to call appropriate write method for given
|
490
|
+
* untyped Object. At this point, no structural conversions should be done,
|
491
|
+
* only simple basic types are to be coerced as necessary.
|
492
|
+
*
|
493
|
+
* @param value Non-null value to write
|
494
|
+
*/
|
495
|
+
protected void _writeSimpleObject(Object value)
|
496
|
+
throws IOException, JsonGenerationException
|
497
|
+
{
|
498
|
+
/* 31-Dec-2009, tatu: Actually, we could just handle some basic
|
499
|
+
* types even without codec. This can improve interoperability,
|
500
|
+
* and specifically help with TokenBuffer.
|
501
|
+
*/
|
502
|
+
if (value == null) {
|
503
|
+
writeNull();
|
504
|
+
return;
|
505
|
+
}
|
506
|
+
if (value instanceof String) {
|
507
|
+
writeString((String) value);
|
508
|
+
return;
|
509
|
+
}
|
510
|
+
if (value instanceof Number) {
|
511
|
+
Number n = (Number) value;
|
512
|
+
if (n instanceof Integer) {
|
513
|
+
writeNumber(n.intValue());
|
514
|
+
return;
|
515
|
+
} else if (n instanceof Long) {
|
516
|
+
writeNumber(n.longValue());
|
517
|
+
return;
|
518
|
+
} else if (n instanceof Double) {
|
519
|
+
writeNumber(n.doubleValue());
|
520
|
+
return;
|
521
|
+
} else if (n instanceof Float) {
|
522
|
+
writeNumber(n.floatValue());
|
523
|
+
return;
|
524
|
+
} else if (n instanceof Short) {
|
525
|
+
writeNumber(n.shortValue());
|
526
|
+
return;
|
527
|
+
} else if (n instanceof Byte) {
|
528
|
+
writeNumber(n.byteValue());
|
529
|
+
return;
|
530
|
+
} else if (n instanceof BigInteger) {
|
531
|
+
writeNumber((BigInteger) n);
|
532
|
+
return;
|
533
|
+
} else if (n instanceof BigDecimal) {
|
534
|
+
writeNumber((BigDecimal) n);
|
535
|
+
return;
|
536
|
+
|
537
|
+
// then Atomic types
|
538
|
+
|
539
|
+
} else if (n instanceof AtomicInteger) {
|
540
|
+
writeNumber(((AtomicInteger) n).get());
|
541
|
+
return;
|
542
|
+
} else if (n instanceof AtomicLong) {
|
543
|
+
writeNumber(((AtomicLong) n).get());
|
544
|
+
return;
|
545
|
+
}
|
546
|
+
} else if (value instanceof byte[]) {
|
547
|
+
writeBinary((byte[]) value);
|
548
|
+
return;
|
549
|
+
} else if (value instanceof Boolean) {
|
550
|
+
writeBoolean(((Boolean) value).booleanValue());
|
551
|
+
return;
|
552
|
+
} else if (value instanceof AtomicBoolean) {
|
553
|
+
writeBoolean(((AtomicBoolean) value).get());
|
554
|
+
return;
|
555
|
+
}
|
556
|
+
throw new IllegalStateException("No ObjectCodec defined for the generator, can only serialize simple wrapper types (type passed "
|
557
|
+
+value.getClass().getName()+")");
|
558
|
+
}
|
559
|
+
|
560
|
+
protected final void _throwInternal() {
|
561
|
+
throw new RuntimeException("Internal error: this code path should never get executed");
|
562
|
+
}
|
563
|
+
|
564
|
+
/**
|
565
|
+
* @since 1.7
|
566
|
+
*/
|
567
|
+
protected void _reportUnsupportedOperation() {
|
568
|
+
throw new UnsupportedOperationException("Operation not supported by generator of type "+getClass().getName());
|
569
|
+
}
|
570
|
+
}
|