public static enum Matcher.Type extends Enum<Matcher.Type>
The general type of matching algorithm associated with the method.
| Enum Constant and Description |
|---|
ATTRIBUTE
methods that deal with an element's attributes
|
GETTERS
methods that return data
|
INSIDE
methods that concern of elements inside of the specified element (e.g containing/parentof)
|
NEIGHBOUR
methods that deal with elements/text in the element preceding/following the current element
|
PARENTS
methods that deal with element(s) that contain the specified element (e.g containedBy, childOf)
|
TABLE
methods that are only applicable in a tables
|
WITH_TEXT
methods that deal with text inside of an element
|
| Modifier and Type | Method and Description |
|---|---|
static Matcher.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Matcher.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Matcher.Type WITH_TEXT
public static final Matcher.Type ATTRIBUTE
public static final Matcher.Type TABLE
public static final Matcher.Type GETTERS
public static final Matcher.Type NEIGHBOUR
public static final Matcher.Type INSIDE
public static final Matcher.Type PARENTS
public static Matcher.Type[] values()
for (Matcher.Type c : Matcher.Type.values()) System.out.println(c);
public static Matcher.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 uniVocity Software Pty Ltd. All rights reserved.