Uses of Class
org.codehaus.jackson.format.MatchStrength
-
Packages that use MatchStrength Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
used for constructing JSON parser (JsonParser
) and generator (JsonParser
) instances.org.codehaus.jackson.format Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality.org.codehaus.jackson.impl Parser and generator implementation classes that Jackson defines and uses.org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is viaObjectMapper
class, as well as convenience methods included inJsonParser
-
-
Uses of MatchStrength in org.codehaus.jackson
Methods in org.codehaus.jackson that return MatchStrength Modifier and Type Method Description MatchStrength
JsonFactory. hasFormat(InputAccessor acc)
protected MatchStrength
JsonFactory. hasJSONFormat(InputAccessor acc)
-
Uses of MatchStrength in org.codehaus.jackson.format
Fields in org.codehaus.jackson.format declared as MatchStrength Modifier and Type Field Description protected MatchStrength
DataFormatMatcher. _matchStrength
Strength of match withDataFormatMatcher._match
protected MatchStrength
DataFormatDetector. _minimalMatch
Strength of minimal match we accept as the answer, unless better matches are found.protected MatchStrength
DataFormatDetector. _optimalMatch
Strength of match we consider to be good enough to be used without checking any other formats.Methods in org.codehaus.jackson.format that return MatchStrength Modifier and Type Method Description MatchStrength
DataFormatMatcher. getMatchStrength()
Method for accessing strength of the match, if any; if no match, will returnINCONCLUSIVE
.static MatchStrength
MatchStrength. valueOf(String name)
Returns the enum constant of this type with the specified name.static MatchStrength[]
MatchStrength. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.codehaus.jackson.format with parameters of type MatchStrength Modifier and Type Method Description DataFormatMatcher
InputAccessor.Std. createMatcher(JsonFactory match, MatchStrength matchStrength)
DataFormatDetector
DataFormatDetector. withMinimalMatch(MatchStrength minMatch)
Method that will return a detector instance that uses given minimal match level; match that may be returned unless a stronger match is found with other format detectors.DataFormatDetector
DataFormatDetector. withOptimalMatch(MatchStrength optMatch)
Method that will return a detector instance that uses given optimal match level (match that is considered sufficient to return, without trying to find stronger matches with other formats).Constructors in org.codehaus.jackson.format with parameters of type MatchStrength Constructor Description DataFormatMatcher(InputStream in, byte[] buffered, int bufferedLength, JsonFactory match, MatchStrength strength)
-
Uses of MatchStrength in org.codehaus.jackson.impl
Methods in org.codehaus.jackson.impl that return MatchStrength Modifier and Type Method Description static MatchStrength
ByteSourceBootstrapper. hasJSONFormat(InputAccessor acc)
Current implementation is not as thorough as other functionality (ByteSourceBootstrapper
); supports UTF-8, for example. -
Uses of MatchStrength in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return MatchStrength Modifier and Type Method Description MatchStrength
MappingJsonFactory. hasFormat(InputAccessor acc)
Sub-classes need to override this method (as of 1.8)
-