Class JsonArchiveAnalyzer

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

    public class JsonArchiveAnalyzer
    extends org.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected JsonElement toElement​(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, int indexInParent)  
      protected JsonElement toElement​(org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, String keyInParent)  
      • Methods inherited from class org.revapi.jackson.JacksonArchiveAnalyzer

        createElements, newElementForest
      • Methods inherited from class org.revapi.base.ZipArchiveAnalyzer

        createElements
      • Methods inherited from class org.revapi.base.BaseEagerLoadingArchiveAnalyzer

        discoverElements, discoverRoots, preAnalyze
      • Methods inherited from class org.revapi.base.BaseArchiveAnalyzer

        addTo, analyze, getApi, getApiAnalyzer, postAnalyze, prune
    • Constructor Detail

      • JsonArchiveAnalyzer

        public JsonArchiveAnalyzer​(JsonApiAnalyzer apiAnalyzer,
                                   org.revapi.API api,
                                   @Nullable
                                   Pattern pathMatcher,
                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                   Charset charset)
    • Method Detail

      • toElement

        protected JsonElement toElement​(org.revapi.Archive archive,
                                        String filePath,
                                        com.fasterxml.jackson.core.TreeNode node,
                                        String keyInParent)
        Specified by:
        toElement in class org.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>
      • toElement

        protected JsonElement toElement​(org.revapi.Archive archive,
                                        String filePath,
                                        com.fasterxml.jackson.core.TreeNode node,
                                        int indexInParent)
        Specified by:
        toElement in class org.revapi.jackson.JacksonArchiveAnalyzer<JsonElement>