Package org.owasp.html
Class HtmlElementTables.HtmlElementNames
- java.lang.Object
-
- org.owasp.html.HtmlElementTables.HtmlElementNames
-
- Enclosing class:
- HtmlElementTables
public static final class HtmlElementTables.HtmlElementNames extends Object
Maps between element indices and element names.
-
-
Field Summary
Fields Modifier and Type Field Description com.google.common.collect.ImmutableList<String>canonNamesCanonical element names by element index.
-
Constructor Summary
Constructors Constructor Description HtmlElementNames(List<String> canonNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetElementNameIndex(String canonName)The index of the given element name or otherwise the index of the custom element name
-
-
-
Field Detail
-
canonNames
public final com.google.common.collect.ImmutableList<String> canonNames
Canonical element names by element index.
-
-
Method Detail
-
getElementNameIndex
public int getElementNameIndex(String canonName)
The index of the given element name or otherwise the index of the custom element name
-
-