Class HtmlCodeSupport.HtmlNavigator

    • Constructor Detail

      • HtmlNavigator

        public HtmlNavigator()
    • Method Detail

      • createNavigationPoint

        protected NavigationPoint createNavigationPoint​(java.util.regex.Matcher m,
                                                        java.lang.String sourceText,
                                                        boolean initialize)
        Description copied from class: RegexNavigatorBase
        Called with each match result to create a navigation point based on the match. May return null to indicate that no point should be added for the match. The base class returns a simple point based on the text and location of the match.
        Overrides:
        createNavigationPoint in class RegexNavigatorBase
        Parameters:
        m - the match information
        sourceText - the source text
        initialize - if true, this is the first match of a new pass
        Returns:
        a navigation point for the match, or null