Enum Class XMLSchemaErrorCode
java.lang.Object
java.lang.Enum<XMLSchemaErrorCode>
org.eclipse.lemminx.extensions.contentmodel.participants.XMLSchemaErrorCode
- All Implemented Interfaces:
Serializable,Comparable<XMLSchemaErrorCode>,java.lang.constant.Constable,IXMLErrorCode
XML Schema error code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic XMLSchemaErrorCodegetCode()Returns the XML error code.static voidregisterCodeActionParticipants(Map<String, ICodeActionParticipant> codeActions, SharedSettings sharedSettings) static org.eclipse.lsp4j.RangetoLSPRange(org.apache.xerces.xni.XMLLocator location, XMLSchemaErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error.toString()static XMLSchemaErrorCodeReturns the enum constant of this class with the specified name.static XMLSchemaErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
cvc_complex_type_2_3
-
cvc_complex_type_2_2
-
cvc_complex_type_2_1
-
cvc_complex_type_2_4_a
-
cvc_complex_type_2_4_b
-
cvc_complex_type_2_4_c
-
cvc_complex_type_2_4_d
-
cvc_complex_type_2_4_f
-
cvc_complex_type_3_1
-
cvc_complex_type_3_2_2
-
cvc_complex_type_4
-
cvc_datatype_valid_1_2_1
-
cvc_datatype_valid_1_2_3
-
cvc_elt_1_a
-
cvc_elt_3_1
-
cvc_elt_3_2_1
-
cvc_elt_4_2
-
cvc_pattern_valid
-
cvc_type_3_1_1
-
cvc_type_3_1_2
-
cvc_type_3_1_3
-
cvc_attribute_3
-
cvc_enumeration_valid
-
cvc_maxlength_valid
-
cvc_minlength_valid
-
cvc_maxExclusive_valid
-
cvc_maxInclusive_valid
-
cvc_minExclusive_valid
-
cvc_minInclusive_valid
-
DuplicateUnique
-
TargetNamespace_1
-
TargetNamespace_2
-
SchemaLocation
-
schema_reference_4
-
src_element_3
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
Description copied from interface:IXMLErrorCodeReturns the XML error code.- Specified by:
getCodein interfaceIXMLErrorCode- Returns:
- the XML error code.
-
toString
- Overrides:
toStringin classEnum<XMLSchemaErrorCode>
-
get
-
toLSPRange
public static org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location, XMLSchemaErrorCode code, Object[] arguments, DOMDocument document) Create the LSP range from the SAX error.- Parameters:
location-key-arguments-document-- Returns:
- the LSP range from the SAX error.
-