Enum XSDErrorCode

    • Enum Constant Detail

      • cos_all_limited_2

        public static final XSDErrorCode cos_all_limited_2
      • ct_props_correct_3

        public static final XSDErrorCode ct_props_correct_3
      • p_props_correct_2_1

        public static final XSDErrorCode p_props_correct_2_1
      • s4s_elt_invalid_content_1

        public static final XSDErrorCode s4s_elt_invalid_content_1
      • 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_att_must_appear

        public static final XSDErrorCode s4s_att_must_appear
      • s4s_elt_invalid_content_2

        public static final XSDErrorCode s4s_elt_invalid_content_2
      • s4s_att_not_allowed

        public static final XSDErrorCode s4s_att_not_allowed
      • s4s_att_invalid_value

        public static final XSDErrorCode s4s_att_invalid_value
      • s4s_elt_character

        public static final XSDErrorCode s4s_elt_character
      • s4s_elt_invalid_content_3

        public static final XSDErrorCode s4s_elt_invalid_content_3
      • sch_props_correct_2

        public static final XSDErrorCode sch_props_correct_2
      • schema_reference_4

        public static final XSDErrorCode schema_reference_4
      • src_import_1_2

        public static final XSDErrorCode src_import_1_2
      • src_element_3

        public static final XSDErrorCode src_element_3
      • src_resolve_4_2

        public static final XSDErrorCode src_resolve_4_2
      • src_element_2_1

        public static final XSDErrorCode src_element_2_1
      • EmptyTargetNamespace

        public static final XSDErrorCode EmptyTargetNamespace
      • 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_annotation

        public static final XSDErrorCode src_annotation
    • Method Detail

      • values

        public static XSDErrorCode[] 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 (XSDErrorCode c : XSDErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XSDErrorCode 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 name
        NullPointerException - if the argument is null
      • 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:
        characterOffset -
        key -
        arguments -
        document -
        Returns:
        the LSP range from the SAX error.