Class JacksonArchiveAnalyzer<E extends JacksonElement<E>>

  • All Implemented Interfaces:
    org.revapi.ArchiveAnalyzer<E>

    public abstract class JacksonArchiveAnalyzer<E extends JacksonElement<E>>
    extends org.revapi.base.ZipArchiveAnalyzer<org.revapi.base.BaseElementForest<E>,​E>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.revapi.base.BaseEagerLoadingArchiveAnalyzer

        org.revapi.base.BaseEagerLoadingArchiveAnalyzer.FullForestContext
    • Field Summary

      • Fields inherited from class org.revapi.base.ZipArchiveAnalyzer

        matchPatterns
    • Constructor Detail

      • JacksonArchiveAnalyzer

        protected JacksonArchiveAnalyzer​(JacksonApiAnalyzer<E> apiAnalyzer,
                                         org.revapi.API api,
                                         @Nullable
                                         Pattern pathMatcher,
                                         com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                         Charset charset)
    • Method Detail

      • newElementForest

        protected org.revapi.base.BaseElementForest<E> newElementForest()
        Specified by:
        newElementForest in class org.revapi.base.BaseArchiveAnalyzer<org.revapi.base.BaseElementForest<E extends JacksonElement<E>>,​E extends JacksonElement<E>>
      • toElement

        protected abstract E toElement​(org.revapi.Archive archive,
                                       String filePath,
                                       com.fasterxml.jackson.core.TreeNode node,
                                       String keyInParent)
      • toElement

        protected abstract E toElement​(org.revapi.Archive archive,
                                       String filePath,
                                       com.fasterxml.jackson.core.TreeNode node,
                                       int indexInParent)