Class HtmlElementTables.HtmlElementNames

  • Enclosing class:
    HtmlElementTables

    public static final class HtmlElementTables.HtmlElementNames
    extends Object
    Maps between element indices and element names.
    • Field Detail

      • canonNames

        public final com.google.common.collect.ImmutableList<String> canonNames
        Canonical element names by element index.
    • Constructor Detail

      • HtmlElementNames

        public HtmlElementNames​(List<String> canonNames)
    • Method Detail

      • getElementNameIndex

        public int getElementNameIndex​(String canonName)
        The index of the given element name or otherwise the index of the custom element name