public enum RelaxNGErrorCode extends Enum<RelaxNGErrorCode> implements IXMLErrorCode
| Modifier and Type | Method and Description |
|---|---|
static RelaxNGErrorCode |
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,
RelaxNGErrorCode rngCode,
Object[] arguments,
DOMDocument document) |
static RelaxNGErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelaxNGErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelaxNGErrorCode unknown_element
public static final RelaxNGErrorCode unexpected_element_required_element_missing
public static final RelaxNGErrorCode unexpected_element_required_elements_missing
public static final RelaxNGErrorCode element_not_allowed_yet
public static final RelaxNGErrorCode out_of_context_element
public static final RelaxNGErrorCode no_attributes_allowed
public static final RelaxNGErrorCode invalid_attribute_name
public static final RelaxNGErrorCode invalid_attribute_value
public static final RelaxNGErrorCode required_attributes_missing_expected
public static final RelaxNGErrorCode required_attribute_missing
public static final RelaxNGErrorCode required_attributes_missing
public static final RelaxNGErrorCode incomplete_element_required_elements_missing_expected
public static final RelaxNGErrorCode incomplete_element_required_element_missing
public static final RelaxNGErrorCode incomplete_element_required_elements_missing
public static final RelaxNGErrorCode text_not_allowed
public static final RelaxNGErrorCode document_incomplete
public static final RelaxNGErrorCode invalid_element_value
public static final RelaxNGErrorCode blank_not_allowed
public static final RelaxNGErrorCode schema_allows_nothing
public static final RelaxNGErrorCode RelaxNGNotFound
public static final RelaxNGErrorCode missing_start_element
public static final RelaxNGErrorCode reference_to_undefined
public static final RelaxNGErrorCode duplicate_define
public static final RelaxNGErrorCode duplicate_start
public static final RelaxNGErrorCode unrecognized_datatype
public static final RelaxNGErrorCode expected_pattern
public static final RelaxNGErrorCode illegal_attribute_ignored
public static final RelaxNGErrorCode illegal_name_attribute
public static final RelaxNGErrorCode invalid_ncname
public static final RelaxNGErrorCode missing_children
public static final RelaxNGErrorCode missing_name_attribute
public static final RelaxNGErrorCode missing_name_class
public static final RelaxNGErrorCode missing_type_attribute
public static final RelaxNGErrorCode to_implement
public static RelaxNGErrorCode[] values()
for (RelaxNGErrorCode c : RelaxNGErrorCode.values()) System.out.println(c);
public static RelaxNGErrorCode 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()
IXMLErrorCodegetCode in interface IXMLErrorCodepublic static RelaxNGErrorCode get(String name)
public static org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location,
RelaxNGErrorCode rngCode,
Object[] arguments,
DOMDocument document)
public static void registerCodeActionParticipants(Map<String,ICodeActionParticipant> codeActions, SharedSettings sharedSettings)
Copyright © 2023. All rights reserved.