org.basex.query.expr
Enum Expr.Flag

java.lang.Object
  extended by java.lang.Enum<Expr.Flag>
      extended by org.basex.query.expr.Expr.Flag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Expr.Flag>
Enclosing class:
Expr

public static enum Expr.Flag
extends java.lang.Enum<Expr.Flag>

Flags that influence query compilation.


Enum Constant Summary
CNS
          Creates new fragments.
CTX
          Depends on context.
FCS
          Focus-dependent.
NDT
          Non-deterministic.
UPD
          Performs updates.
X30
          XQuery 3.0 function.
 
Method Summary
static Expr.Flag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Expr.Flag[] 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

CNS

public static final Expr.Flag CNS
Creates new fragments. Example: node constructor.


CTX

public static final Expr.Flag CTX
Depends on context. Example: context node.


NDT

public static final Expr.Flag NDT
Non-deterministic. Example: random:double().


FCS

public static final Expr.Flag FCS
Focus-dependent. Example: position().


UPD

public static final Expr.Flag UPD
Performs updates. Example: insert expression.


X30

public static final Expr.Flag X30
XQuery 3.0 function. Example: has-children().

Method Detail

values

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

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

valueOf

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