Class AssetReferenceSearch

  • public class AssetReferenceSearch
    extends Object
    The AssetReferenceSearch searches in pages for referenced assets.
    • Constructor Detail

      • AssetReferenceSearch

        public AssetReferenceSearch​(Node node,
                                    String searchPath,
                                    ResourceResolver resolver)
        The constructor.
        node - node to start search for references
        searchPath - search for assets starting with searchPath
        resolver - resource resolver
    • Method Detail

      • search

        public Map<String,​Asset> search()
        Search all asset references
        map containing all asset refs