Enum HtmlDeepParser.HtmlMatch
- java.lang.Object
-
- java.lang.Enum<HtmlDeepParser.HtmlMatch>
-
- com.vladsch.flexmark.parser.internal.HtmlDeepParser.HtmlMatch
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HtmlDeepParser.HtmlMatch>
- Enclosing class:
- HtmlDeepParser
public static enum HtmlDeepParser.HtmlMatch extends java.lang.Enum<HtmlDeepParser.HtmlMatch>
-
-
Field Summary
Fields Modifier and Type Field Description boolean
caseInsentive
java.util.regex.Pattern
close
java.util.regex.Pattern
open
-
Constructor Summary
Constructors Modifier Constructor Description private
HtmlMatch(java.lang.String open, java.lang.String close, boolean caseInsentive)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HtmlDeepParser.HtmlMatch
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HtmlDeepParser.HtmlMatch[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final HtmlDeepParser.HtmlMatch NONE
-
SCRIPT
public static final HtmlDeepParser.HtmlMatch SCRIPT
-
STYLE
public static final HtmlDeepParser.HtmlMatch STYLE
-
OPEN_TAG
public static final HtmlDeepParser.HtmlMatch OPEN_TAG
-
CLOSE_TAG
public static final HtmlDeepParser.HtmlMatch CLOSE_TAG
-
NON_TAG
public static final HtmlDeepParser.HtmlMatch NON_TAG
-
TEMPLATE
public static final HtmlDeepParser.HtmlMatch TEMPLATE
-
COMMENT
public static final HtmlDeepParser.HtmlMatch COMMENT
-
CDATA
public static final HtmlDeepParser.HtmlMatch CDATA
-
-
Method Detail
-
values
public static HtmlDeepParser.HtmlMatch[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HtmlDeepParser.HtmlMatch c : HtmlDeepParser.HtmlMatch.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HtmlDeepParser.HtmlMatch valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-