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 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 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()
IXMLErrorCode
getCode
in interface IXMLErrorCode
public static RelaxNGErrorCode get(String name)
public static org.eclipse.lsp4j.Range toLSPRange(org.apache.xerces.xni.XMLLocator location, RelaxNGErrorCode rngCode, Object[] arguments, DOMDocument document)
Copyright © 2022. All rights reserved.