Enum Class PathFeature

java.lang.Object
java.lang.Enum<PathFeature>
org.eclipse.lemminx.client.PathFeature
All Implemented Interfaces:
Serializable, Comparable<PathFeature>, java.lang.constant.Constable, IXMLSettingFeature

public enum PathFeature extends Enum<PathFeature> implements IXMLSettingFeature
Features that are associated with filePaths For example, XML catalog support is associated with XML catalog filePaths
  • Enum Constant Details

  • Method Details

    • values

      public static PathFeature[] 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 PathFeature 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
    • getName

      public String getName()
      Description copied from interface: IXMLSettingFeature
      Returns a displayable name for this feature
      Specified by:
      getName in interface IXMLSettingFeature
      Returns:
      a displayable name for this feature
    • getSettingId

      public String getSettingId()
      Description copied from interface: IXMLSettingFeature
      Returns the related settingId for this feature
      Specified by:
      getSettingId in interface IXMLSettingFeature
      Returns:
      the related settingId for this feature