Package org.revapi.jackson
Class JacksonApiAnalyzer<E extends JacksonElement<E>>
- java.lang.Object
-
- org.revapi.base.BaseConfigurable
-
- org.revapi.base.BaseApiAnalyzer<E>
-
- org.revapi.jackson.JacksonApiAnalyzer<E>
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.ApiAnalyzer<E>
,org.revapi.configuration.Configurable
public abstract class JacksonApiAnalyzer<E extends JacksonElement<E>> extends org.revapi.base.BaseApiAnalyzer<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Charset
charset
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected Pattern
pathMatcher
-
Constructor Summary
Constructors Constructor Description JacksonApiAnalyzer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.revapi.CorrespondenceComparatorDeducer<E>
getCorrespondenceDeducer()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
-
-
-
Method Detail
-
getJSONSchema
@Nullable public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
- Overrides:
getJSONSchema
in classorg.revapi.base.BaseConfigurable
-
initialize
public void initialize(org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
- Overrides:
initialize
in classorg.revapi.base.BaseConfigurable
-
getCorrespondenceDeducer
public org.revapi.CorrespondenceComparatorDeducer<E> getCorrespondenceDeducer()
- Specified by:
getCorrespondenceDeducer
in interfaceorg.revapi.ApiAnalyzer<E extends JacksonElement<E>>
- Overrides:
getCorrespondenceDeducer
in classorg.revapi.base.BaseApiAnalyzer<E extends JacksonElement<E>>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classorg.revapi.base.BaseApiAnalyzer<E extends JacksonElement<E>>
-
-