com.evolvedbinary.xpath.parser.ast
Enum AdditiveExpr.Additive

java.lang.Object
  extended by java.lang.Enum<AdditiveExpr.Additive>
      extended by com.evolvedbinary.xpath.parser.ast.AdditiveExpr.Additive
All Implemented Interfaces:
Serializable, Comparable<AdditiveExpr.Additive>
Enclosing class:
AdditiveExpr

public static enum AdditiveExpr.Additive
extends Enum<AdditiveExpr.Additive>


Enum Constant Summary
ADD
           
SUBTRACT
           
 
Method Summary
static AdditiveExpr.Additive fromSyntax(char syntax)
           
 char getSyntax()
           
static AdditiveExpr.Additive valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdditiveExpr.Additive[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final AdditiveExpr.Additive ADD

SUBTRACT

public static final AdditiveExpr.Additive SUBTRACT
Method Detail

values

public static AdditiveExpr.Additive[] 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 (AdditiveExpr.Additive c : AdditiveExpr.Additive.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AdditiveExpr.Additive valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromSyntax

public static AdditiveExpr.Additive fromSyntax(char syntax)

getSyntax

public char getSyntax()


Copyright © 2016 Evolved Binary Ltd.. All Rights Reserved.