Class ComponentResolvers

    • Method Detail

      • resolve

        public static Component resolve​(MarkupContainer container,
                                        MarkupStream markupStream,
                                        ComponentTag tag,
                                        ComponentResolvers.ResolverFilter filter)
        Attempts to resolve a component using resolvers. Tries resolvers in the component hierarchy as well as application-wide.

        This method encapsulates the contract of resolving components and should be used any time a component needs to be resolved under normal circumstances.

        Parameters:
        container - The container parsing its markup
        markupStream - The current markupStream
        tag - The current component tag while parsing the markup
        filter - A filter for application-wide resolvers
        Returns:
        component or null if not found