Enum Class Path.Feature
- All Implemented Interfaces:
Serializable
,Comparable<Path.Feature>
,Constable
- Enclosing class:
Path
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path.Feature
Returns the enum constant of this class with the specified name.static Path.Feature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECTORS
If enabled then the parser allows selectors. Otherwise, if selectors are used, an exception is thrown.Example: xx[myselector].yy.zz
See https://wiki.tocco.ch/wiki/index.php/Selectors
-
OPTIONALS
If enabled then the parser allows optional relations. Otherwise, if the optional character '?' (question mark) occurs then an exception is thrown.Example: xx.yy?.zz
-
SUB_PATHS
If enabled then the parser allows sub paths. Otherwise, if parentheses ('(' or ')') occur, an exception is thrown. Example: xx(yy(abc),zz.foo) → is equivalent to the two paths: xx.yy.abc, xx.zz.foo
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-