public enum XMLSchemaErrorCode extends Enum<XMLSchemaErrorCode> implements IXMLErrorCode
https://wiki.xmldation.com/Support/Validator
Modifier and Type | Method and Description |
---|---|
static XMLSchemaErrorCode |
get(String name) |
String |
getCode()
Returns the XML error code.
|
static void |
registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions,
SharedSettings sharedSettings) |
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.
|
String |
toString() |
static XMLSchemaErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLSchemaErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLSchemaErrorCode cvc_complex_type_2_3
public static final XMLSchemaErrorCode cvc_complex_type_2_2
public static final XMLSchemaErrorCode cvc_complex_type_2_1
public static final XMLSchemaErrorCode cvc_complex_type_2_4_a
public static final XMLSchemaErrorCode cvc_complex_type_2_4_b
public static final XMLSchemaErrorCode cvc_complex_type_2_4_c
public static final XMLSchemaErrorCode cvc_complex_type_2_4_d
public static final XMLSchemaErrorCode cvc_complex_type_2_4_f
public static final XMLSchemaErrorCode cvc_complex_type_3_1
public static final XMLSchemaErrorCode cvc_complex_type_3_2_2
public static final XMLSchemaErrorCode cvc_complex_type_4
public static final XMLSchemaErrorCode cvc_datatype_valid_1_2_1
public static final XMLSchemaErrorCode cvc_datatype_valid_1_2_3
public static final XMLSchemaErrorCode cvc_elt_1_a
public static final XMLSchemaErrorCode cvc_elt_3_1
public static final XMLSchemaErrorCode cvc_elt_3_2_1
public static final XMLSchemaErrorCode cvc_elt_4_2
public static final XMLSchemaErrorCode cvc_pattern_valid
public static final XMLSchemaErrorCode cvc_type_3_1_1
public static final XMLSchemaErrorCode cvc_type_3_1_2
public static final XMLSchemaErrorCode cvc_type_3_1_3
public static final XMLSchemaErrorCode cvc_attribute_3
public static final XMLSchemaErrorCode cvc_enumeration_valid
public static final XMLSchemaErrorCode cvc_maxlength_valid
public static final XMLSchemaErrorCode cvc_minlength_valid
public static final XMLSchemaErrorCode cvc_maxExclusive_valid
public static final XMLSchemaErrorCode cvc_maxInclusive_valid
public static final XMLSchemaErrorCode cvc_minExclusive_valid
public static final XMLSchemaErrorCode cvc_minInclusive_valid
public static final XMLSchemaErrorCode TargetNamespace_1
public static final XMLSchemaErrorCode TargetNamespace_2
public static final XMLSchemaErrorCode SchemaLocation
public static final XMLSchemaErrorCode schema_reference_4
public static final XMLSchemaErrorCode src_element_3
public static XMLSchemaErrorCode[] values()
for (XMLSchemaErrorCode c : XMLSchemaErrorCode.values()) System.out.println(c);
public static XMLSchemaErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCode()
IXMLErrorCode
getCode
in interface IXMLErrorCode
public String toString()
toString
in class Enum<XMLSchemaErrorCode>
public static XMLSchemaErrorCode get(String name)
public static org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location, XMLSchemaErrorCode code, Object[] arguments, DOMDocument document)
location
- key
- arguments
- document
- public static void registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings)
Copyright © 2021. All rights reserved.