public enum PositionFuncEnum extends Enum<PositionFuncEnum>
Enum Constant and Description |
---|
BOTH
both position functions occur
|
LAST
only last() occurs
|
NEITHER
neither position functions
|
POSITION
only position() occurs
|
Modifier and Type | Method and Description |
---|---|
abstract PositionFuncEnum |
combine(PositionFuncEnum other)
Combines two inputs (basically an OR function for two inputs - position() and last() boolean
flags
|
static PositionFuncEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositionFuncEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionFuncEnum BOTH
public static final PositionFuncEnum POSITION
public static final PositionFuncEnum LAST
public static final PositionFuncEnum NEITHER
public static PositionFuncEnum[] values()
for (PositionFuncEnum c : PositionFuncEnum.values()) System.out.println(c);
public static PositionFuncEnum 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 nullpublic abstract PositionFuncEnum combine(PositionFuncEnum other)
other
- the other enum valueCopyright © 2020 OXPath Team. All rights reserved.