Enum RelaxNGErrorCode

    • Enum Constant Detail

      • unexpected_element_required_element_missing

        public static final RelaxNGErrorCode unexpected_element_required_element_missing
      • unexpected_element_required_elements_missing

        public static final RelaxNGErrorCode unexpected_element_required_elements_missing
      • element_not_allowed_yet

        public static final RelaxNGErrorCode element_not_allowed_yet
      • out_of_context_element

        public static final RelaxNGErrorCode out_of_context_element
      • no_attributes_allowed

        public static final RelaxNGErrorCode no_attributes_allowed
      • invalid_attribute_name

        public static final RelaxNGErrorCode invalid_attribute_name
      • invalid_attribute_value

        public static final RelaxNGErrorCode invalid_attribute_value
      • required_attributes_missing_expected

        public static final RelaxNGErrorCode required_attributes_missing_expected
      • required_attribute_missing

        public static final RelaxNGErrorCode required_attribute_missing
      • required_attributes_missing

        public static final RelaxNGErrorCode required_attributes_missing
      • incomplete_element_required_elements_missing_expected

        public static final RelaxNGErrorCode incomplete_element_required_elements_missing_expected
      • incomplete_element_required_element_missing

        public static final RelaxNGErrorCode incomplete_element_required_element_missing
      • incomplete_element_required_elements_missing

        public static final RelaxNGErrorCode incomplete_element_required_elements_missing
      • invalid_element_value

        public static final RelaxNGErrorCode invalid_element_value
      • schema_allows_nothing

        public static final RelaxNGErrorCode schema_allows_nothing
      • missing_start_element

        public static final RelaxNGErrorCode missing_start_element
      • reference_to_undefined

        public static final RelaxNGErrorCode reference_to_undefined
      • unrecognized_datatype

        public static final RelaxNGErrorCode unrecognized_datatype
      • illegal_attribute_ignored

        public static final RelaxNGErrorCode illegal_attribute_ignored
      • illegal_name_attribute

        public static final RelaxNGErrorCode illegal_name_attribute
      • missing_name_attribute

        public static final RelaxNGErrorCode missing_name_attribute
      • missing_type_attribute

        public static final RelaxNGErrorCode missing_type_attribute
    • Method Detail

      • values

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

        public static RelaxNGErrorCode 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,
                                                         RelaxNGErrorCode rngCode,
                                                         Object[] arguments,
                                                         DOMDocument document)