Enum Class PkgType

java.lang.Object
java.lang.Enum<PkgType>
org.basex.query.util.pkg.PkgType
All Implemented Interfaces:
Serializable, Comparable<PkgType>, java.lang.constant.Constable

public enum PkgType extends Enum<PkgType>
Package type.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Enum Constant Details

    • XQUERY

      public static final PkgType XQUERY
      XQuery.
    • JAVA

      public static final PkgType JAVA
      Java.
    • COMBINED

      public static final PkgType COMBINED
      Combined.
    • EXPATH

      public static final PkgType EXPATH
      EXPath.
  • Method Details

    • values

      public static PkgType[] 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

      public static PkgType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PkgType>