Package org.eclipse.lemminx.client
Enum PathFeature
- java.lang.Object
-
- java.lang.Enum<PathFeature>
-
- org.eclipse.lemminx.client.PathFeature
-
- All Implemented Interfaces:
Serializable,Comparable<PathFeature>,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 Summary
Enum Constants Enum Constant Description CATALOGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns a displayable name for this featureStringgetSettingId()Returns the related settingId for this featurestatic PathFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static PathFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CATALOGS
public static final PathFeature CATALOGS
-
-
Method Detail
-
values
public static PathFeature[] 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 (PathFeature c : PathFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathFeature 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 nameNullPointerException- if the argument is null
-
getName
public String getName()
Description copied from interface:IXMLSettingFeatureReturns a displayable name for this feature- Specified by:
getNamein interfaceIXMLSettingFeature- Returns:
- a displayable name for this feature
-
getSettingId
public String getSettingId()
Description copied from interface:IXMLSettingFeatureReturns the related settingId for this feature- Specified by:
getSettingIdin interfaceIXMLSettingFeature- Returns:
- the related settingId for this feature
-
-