| Enum Constant | Description |
|---|---|
ATTRIBUTE |
The part designates an attribute.
|
DOT |
|
DOT_DOT |
|
ELEMENT |
The part designates a named element.
|
SELECTOR |
The part designates an element selector, using an attribute.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Part.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Part.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Part.Type ATTRIBUTE
public static final Part.Type ELEMENT
public static final Part.Type SELECTOR
public static final Part.Type DOT
public static final Part.Type DOT_DOT
public static Part.Type[] values()
for (Part.Type c : Part.Type.values()) System.out.println(c);
public static Part.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2019. All rights reserved.