Enum Class XSDErrorCode

java.lang.Object
java.lang.Enum<XSDErrorCode>
org.eclipse.lemminx.extensions.xsd.participants.XSDErrorCode
All Implemented Interfaces:
Serializable, Comparable<XSDErrorCode>, Constable, IXMLErrorCode

public enum XSDErrorCode extends Enum<XSDErrorCode> implements IXMLErrorCode
XSD error code.
  • Enum Constant Details

    • ag_props_correct_2

      public static final XSDErrorCode ag_props_correct_2
    • ag_props_correct_3

      public static final XSDErrorCode ag_props_correct_3
    • a_props_correct_2

      public static final XSDErrorCode a_props_correct_2
    • a_props_correct_3

      public static final XSDErrorCode a_props_correct_3
    • au_props_correct_2

      public static final XSDErrorCode au_props_correct_2
    • cos_all_limited_1_2

      public static final XSDErrorCode cos_all_limited_1_2
    • cos_all_limited_2

      public static final XSDErrorCode cos_all_limited_2
    • cos_applicable_facets

      public static final XSDErrorCode cos_applicable_facets
    • cos_ct_extends_1_1

      public static final XSDErrorCode cos_ct_extends_1_1
    • cos_ct_extends_1_4_3_2_2_1_a

      public static final XSDErrorCode cos_ct_extends_1_4_3_2_2_1_a
    • cos_ct_extends_1_4_3_2_2_1_b

      public static final XSDErrorCode cos_ct_extends_1_4_3_2_2_1_b
    • cos_element_consistent

      public static final XSDErrorCode cos_element_consistent
    • cos_list_of_atomic

      public static final XSDErrorCode cos_list_of_atomic
    • cos_nonambig

      public static final XSDErrorCode cos_nonambig
    • cos_particle_restrict_a

      public static final XSDErrorCode cos_particle_restrict_a
    • cos_particle_restrict_b

      public static final XSDErrorCode cos_particle_restrict_b
    • cos_particle_restrict_2

      public static final XSDErrorCode cos_particle_restrict_2
    • cos_st_restricts_1_1

      public static final XSDErrorCode cos_st_restricts_1_1
    • cos_st_restricts_2_1

      public static final XSDErrorCode cos_st_restricts_2_1
    • cos_st_restricts_2_3_1_1

      public static final XSDErrorCode cos_st_restricts_2_3_1_1
    • cos_st_restricts_3_3_1_1

      public static final XSDErrorCode cos_st_restricts_3_3_1_1
    • cos_valid_default_2_1

      public static final XSDErrorCode cos_valid_default_2_1
    • cos_valid_default_2_2_2

      public static final XSDErrorCode cos_valid_default_2_2_2
    • c_props_correct_2

      public static final XSDErrorCode c_props_correct_2
    • ct_props_correct_3

      public static final XSDErrorCode ct_props_correct_3
    • ct_props_correct_4

      public static final XSDErrorCode ct_props_correct_4
    • ct_props_correct_5

      public static final XSDErrorCode ct_props_correct_5
    • derivation_ok_restriction_1

      public static final XSDErrorCode derivation_ok_restriction_1
    • derivation_ok_restriction_2_1_1

      public static final XSDErrorCode derivation_ok_restriction_2_1_1
    • derivation_ok_restriction_2_1_2

      public static final XSDErrorCode derivation_ok_restriction_2_1_2
    • derivation_ok_restriction_2_1_3_a

      public static final XSDErrorCode derivation_ok_restriction_2_1_3_a
    • derivation_ok_restriction_2_1_3_b

      public static final XSDErrorCode derivation_ok_restriction_2_1_3_b
    • derivation_ok_restriction_2_2_a

      public static final XSDErrorCode derivation_ok_restriction_2_2_a
    • derivation_ok_restriction_2_2_b

      public static final XSDErrorCode derivation_ok_restriction_2_2_b
    • derivation_ok_restriction_3

      public static final XSDErrorCode derivation_ok_restriction_3
    • derivation_ok_restriction_4_1

      public static final XSDErrorCode derivation_ok_restriction_4_1
    • derivation_ok_restriction_4_2

      public static final XSDErrorCode derivation_ok_restriction_4_2
    • derivation_ok_restriction_4_3

      public static final XSDErrorCode derivation_ok_restriction_4_3
    • derivation_ok_restriction_5_2_2_1

      public static final XSDErrorCode derivation_ok_restriction_5_2_2_1
    • derivation_ok_restriction_5_3_2

      public static final XSDErrorCode derivation_ok_restriction_5_3_2
    • derivation_ok_restriction_5_4_1_2

      public static final XSDErrorCode derivation_ok_restriction_5_4_1_2
    • derivation_ok_restriction_5_4_2

      public static final XSDErrorCode derivation_ok_restriction_5_4_2
    • enumeration_required_notation

      public static final XSDErrorCode enumeration_required_notation
    • enumeration_valid_restriction

      public static final XSDErrorCode enumeration_valid_restriction
    • e_props_correct_2

      public static final XSDErrorCode e_props_correct_2
    • e_props_correct_4

      public static final XSDErrorCode e_props_correct_4
    • e_props_correct_5

      public static final XSDErrorCode e_props_correct_5
    • e_props_correct_6

      public static final XSDErrorCode e_props_correct_6
    • fractionDigits_valid_restriction

      public static final XSDErrorCode fractionDigits_valid_restriction
    • fractionDigits_totalDigits

      public static final XSDErrorCode fractionDigits_totalDigits
    • length_minLength_maxLength_1_1

      public static final XSDErrorCode length_minLength_maxLength_1_1
    • length_minLength_maxLength_1_2_a

      public static final XSDErrorCode length_minLength_maxLength_1_2_a
    • length_minLength_maxLength_1_2_b

      public static final XSDErrorCode length_minLength_maxLength_1_2_b
    • length_minLength_maxLength_2_1

      public static final XSDErrorCode length_minLength_maxLength_2_1
    • length_minLength_maxLength_2_2_a

      public static final XSDErrorCode length_minLength_maxLength_2_2_a
    • length_minLength_maxLength_2_2_b

      public static final XSDErrorCode length_minLength_maxLength_2_2_b
    • length_valid_restriction

      public static final XSDErrorCode length_valid_restriction
    • maxExclusive_valid_restriction_1

      public static final XSDErrorCode maxExclusive_valid_restriction_1
    • maxExclusive_valid_restriction_2

      public static final XSDErrorCode maxExclusive_valid_restriction_2
    • maxExclusive_valid_restriction_3

      public static final XSDErrorCode maxExclusive_valid_restriction_3
    • maxExclusive_valid_restriction_4

      public static final XSDErrorCode maxExclusive_valid_restriction_4
    • maxInclusive_maxExclusive

      public static final XSDErrorCode maxInclusive_maxExclusive
    • maxInclusive_valid_restriction_1

      public static final XSDErrorCode maxInclusive_valid_restriction_1
    • maxInclusive_valid_restriction_2

      public static final XSDErrorCode maxInclusive_valid_restriction_2
    • maxInclusive_valid_restriction_3

      public static final XSDErrorCode maxInclusive_valid_restriction_3
    • maxInclusive_valid_restriction_4

      public static final XSDErrorCode maxInclusive_valid_restriction_4
    • maxLength_valid_restriction

      public static final XSDErrorCode maxLength_valid_restriction
    • mg_props_correct_2

      public static final XSDErrorCode mg_props_correct_2
    • minExclusive_less_than_equal_to_maxExclusive

      public static final XSDErrorCode minExclusive_less_than_equal_to_maxExclusive
    • minExclusive_less_than_maxInclusive

      public static final XSDErrorCode minExclusive_less_than_maxInclusive
    • minExclusive_valid_restriction_1

      public static final XSDErrorCode minExclusive_valid_restriction_1
    • minExclusive_valid_restriction_2

      public static final XSDErrorCode minExclusive_valid_restriction_2
    • minExclusive_valid_restriction_3

      public static final XSDErrorCode minExclusive_valid_restriction_3
    • minExclusive_valid_restriction_4

      public static final XSDErrorCode minExclusive_valid_restriction_4
    • minInclusive_less_than_equal_to_maxInclusive

      public static final XSDErrorCode minInclusive_less_than_equal_to_maxInclusive
    • minInclusive_less_than_maxExclusive

      public static final XSDErrorCode minInclusive_less_than_maxExclusive
    • minInclusive_minExclusive

      public static final XSDErrorCode minInclusive_minExclusive
    • minInclusive_valid_restriction_1

      public static final XSDErrorCode minInclusive_valid_restriction_1
    • minInclusive_valid_restriction_2

      public static final XSDErrorCode minInclusive_valid_restriction_2
    • minInclusive_valid_restriction_3

      public static final XSDErrorCode minInclusive_valid_restriction_3
    • minInclusive_valid_restriction_4

      public static final XSDErrorCode minInclusive_valid_restriction_4
    • minLength_less_than_equal_to_maxLength

      public static final XSDErrorCode minLength_less_than_equal_to_maxLength
    • minLength_valid_restriction

      public static final XSDErrorCode minLength_valid_restriction
    • no_xmlns

      public static final XSDErrorCode no_xmlns
    • no_xsi

      public static final XSDErrorCode no_xsi
    • totalDigits_valid_restriction

      public static final XSDErrorCode totalDigits_valid_restriction
    • whiteSpace_valid_restriction_1

      public static final XSDErrorCode whiteSpace_valid_restriction_1
    • whiteSpace_valid_restriction_2

      public static final XSDErrorCode whiteSpace_valid_restriction_2
    • rcase_MapAndSum_1

      public static final XSDErrorCode rcase_MapAndSum_1
    • rcase_MapAndSum_2

      public static final XSDErrorCode rcase_MapAndSum_2
    • rcase_NameAndTypeOK_1

      public static final XSDErrorCode rcase_NameAndTypeOK_1
    • rcase_NameAndTypeOK_2

      public static final XSDErrorCode rcase_NameAndTypeOK_2
    • rcase_NameAndTypeOK_3

      public static final XSDErrorCode rcase_NameAndTypeOK_3
    • rcase_NameAndTypeOK_4_a

      public static final XSDErrorCode rcase_NameAndTypeOK_4_a
    • rcase_NameAndTypeOK_4_b

      public static final XSDErrorCode rcase_NameAndTypeOK_4_b
    • rcase_NameAndTypeOK_5

      public static final XSDErrorCode rcase_NameAndTypeOK_5
    • rcase_NameAndTypeOK_6

      public static final XSDErrorCode rcase_NameAndTypeOK_6
    • rcase_NameAndTypeOK_7

      public static final XSDErrorCode rcase_NameAndTypeOK_7
    • rcase_NSCompat_1

      public static final XSDErrorCode rcase_NSCompat_1
    • rcase_NSCompat_2

      public static final XSDErrorCode rcase_NSCompat_2
    • rcase_NSRecurseCheckCardinality_1

      public static final XSDErrorCode rcase_NSRecurseCheckCardinality_1
    • rcase_NSRecurseCheckCardinality_2

      public static final XSDErrorCode rcase_NSRecurseCheckCardinality_2
    • rcase_NSSubset_1

      public static final XSDErrorCode rcase_NSSubset_1
    • rcase_NSSubset_2

      public static final XSDErrorCode rcase_NSSubset_2
    • rcase_NSSubset_3

      public static final XSDErrorCode rcase_NSSubset_3
    • rcase_Recurse_1

      public static final XSDErrorCode rcase_Recurse_1
    • rcase_Recurse_2

      public static final XSDErrorCode rcase_Recurse_2
    • rcase_RecurseLax_1

      public static final XSDErrorCode rcase_RecurseLax_1
    • rcase_RecurseLax_2

      public static final XSDErrorCode rcase_RecurseLax_2
    • rcase_RecurseUnordered_1

      public static final XSDErrorCode rcase_RecurseUnordered_1
    • rcase_RecurseUnordered_2

      public static final XSDErrorCode rcase_RecurseUnordered_2
    • st_props_correct_2

      public static final XSDErrorCode st_props_correct_2
    • st_props_correct_3

      public static final XSDErrorCode st_props_correct_3
    • s4s_att_invalid_value

      public static final XSDErrorCode s4s_att_invalid_value
    • s4s_att_must_appear

      public static final XSDErrorCode s4s_att_must_appear
    • s4s_att_not_allowed

      public static final XSDErrorCode s4s_att_not_allowed
    • s4s_elt_character

      public static final XSDErrorCode s4s_elt_character
    • s4s_elt_invalid

      public static final XSDErrorCode s4s_elt_invalid
    • s4s_elt_invalid_content_1

      public static final XSDErrorCode s4s_elt_invalid_content_1
    • s4s_elt_invalid_content_2

      public static final XSDErrorCode s4s_elt_invalid_content_2
    • s4s_elt_invalid_content_3

      public static final XSDErrorCode s4s_elt_invalid_content_3
    • s4s_elt_must_match_1

      public static final XSDErrorCode s4s_elt_must_match_1
    • s4s_elt_must_match_2

      public static final XSDErrorCode s4s_elt_must_match_2
    • s4s_elt_schema_ns

      public static final XSDErrorCode s4s_elt_schema_ns
    • sch_props_correct_2

      public static final XSDErrorCode sch_props_correct_2
    • schema_reference_4

      public static final XSDErrorCode schema_reference_4
    • src_annotation

      public static final XSDErrorCode src_annotation
    • src_attribute_1

      public static final XSDErrorCode src_attribute_1
    • src_attribute_2

      public static final XSDErrorCode src_attribute_2
    • src_attribute_3_1

      public static final XSDErrorCode src_attribute_3_1
    • src_attribute_3_2

      public static final XSDErrorCode src_attribute_3_2
    • src_attribute_4

      public static final XSDErrorCode src_attribute_4
    • src_attribute_group_2

      public static final XSDErrorCode src_attribute_group_2
    • src_attribute_group_3

      public static final XSDErrorCode src_attribute_group_3
    • src_ct_1

      public static final XSDErrorCode src_ct_1
    • src_ct_2_1

      public static final XSDErrorCode src_ct_2_1
    • src_ct_2_2

      public static final XSDErrorCode src_ct_2_2
    • src_ct_4

      public static final XSDErrorCode src_ct_4
    • src_ct_5

      public static final XSDErrorCode src_ct_5
    • src_element_1

      public static final XSDErrorCode src_element_1
    • src_element_2_1

      public static final XSDErrorCode src_element_2_1
    • src_element_2_2

      public static final XSDErrorCode src_element_2_2
    • src_element_3

      public static final XSDErrorCode src_element_3
    • src_import_1_1

      public static final XSDErrorCode src_import_1_1
    • src_import_1_2

      public static final XSDErrorCode src_import_1_2
    • src_import_2

      public static final XSDErrorCode src_import_2
    • src_import_3_1

      public static final XSDErrorCode src_import_3_1
    • src_import_3_2

      public static final XSDErrorCode src_import_3_2
    • src_include_1

      public static final XSDErrorCode src_include_1
    • src_include_2_1

      public static final XSDErrorCode src_include_2_1
    • src_redefine_2

      public static final XSDErrorCode src_redefine_2
    • src_redefine_3_1

      public static final XSDErrorCode src_redefine_3_1
    • src_redefine_5_a_a

      public static final XSDErrorCode src_redefine_5_a_a
    • src_redefine_5_a_b

      public static final XSDErrorCode src_redefine_5_a_b
    • src_redefine_5_a_c

      public static final XSDErrorCode src_redefine_5_a_c
    • src_redefine_5_b_a

      public static final XSDErrorCode src_redefine_5_b_a
    • src_redefine_5_b_b

      public static final XSDErrorCode src_redefine_5_b_b
    • src_redefine_5_b_c

      public static final XSDErrorCode src_redefine_5_b_c
    • src_redefine_5_b_d

      public static final XSDErrorCode src_redefine_5_b_d
    • src_redefine_6_1_1

      public static final XSDErrorCode src_redefine_6_1_1
    • src_redefine_6_1_2

      public static final XSDErrorCode src_redefine_6_1_2
    • src_redefine_6_2_1

      public static final XSDErrorCode src_redefine_6_2_1
    • src_redefine_6_2_2

      public static final XSDErrorCode src_redefine_6_2_2
    • src_redefine_7_1

      public static final XSDErrorCode src_redefine_7_1
    • src_redefine_7_2_1

      public static final XSDErrorCode src_redefine_7_2_1
    • src_redefine_7_2_2

      public static final XSDErrorCode src_redefine_7_2_2
    • src_resolve

      public static final XSDErrorCode src_resolve
    • src_resolve_4_1

      public static final XSDErrorCode src_resolve_4_1
    • src_resolve_4_2

      public static final XSDErrorCode src_resolve_4_2
    • src_simple_type_2_a

      public static final XSDErrorCode src_simple_type_2_a
    • src_simple_type_2_b

      public static final XSDErrorCode src_simple_type_2_b
    • src_simple_type_3_a

      public static final XSDErrorCode src_simple_type_3_a
    • src_simple_type_3_b

      public static final XSDErrorCode src_simple_type_3_b
    • src_single_facet_value

      public static final XSDErrorCode src_single_facet_value
    • src_union_memberTypes_or_simpleTypes

      public static final XSDErrorCode src_union_memberTypes_or_simpleTypes
    • c_fields_xpaths

      public static final XSDErrorCode c_fields_xpaths
    • c_general_xpath

      public static final XSDErrorCode c_general_xpath
    • c_general_xpath_ns

      public static final XSDErrorCode c_general_xpath_ns
    • c_selector_xpath

      public static final XSDErrorCode c_selector_xpath
    • EmptyTargetNamespace

      public static final XSDErrorCode EmptyTargetNamespace
    • FacetValueFromBase

      public static final XSDErrorCode FacetValueFromBase
    • FacetsContradict

      public static final XSDErrorCode FacetsContradict
    • FixedFacetValue

      public static final XSDErrorCode FixedFacetValue
    • InvalidRegex

      public static final XSDErrorCode InvalidRegex
    • p_props_correct_2_1

      public static final XSDErrorCode p_props_correct_2_1
    • PublicSystemOnNotation

      public static final XSDErrorCode PublicSystemOnNotation
  • Method Details

    • values

      public static XSDErrorCode[] 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 XSDErrorCode 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
    • getCode

      public String getCode()
      Description copied from interface: IXMLErrorCode
      Returns the XML error code.
      Specified by:
      getCode in interface IXMLErrorCode
      Returns:
      the XML error code.
    • get

      public static XSDErrorCode get(String name)
    • toLSPRange

      public static org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location, XSDErrorCode code, Object[] arguments, DOMDocument document)
      Create the LSP range from the SAX error.
      Parameters:
      arguments -
      document -
      characterOffset -
      key -
      Returns:
      the LSP range from the SAX error.
    • registerCodeActionParticipants

      public static void registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions)