Enum Class GrammarReference.Kind
- All Implemented Interfaces:
Serializable,Comparable<GrammarReference.Kind>,Constable
- Enclosing class:
GrammarReference
The kind of grammar reference.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionuri="..."on OASIS catalog entries (uri,public,system, etc.)<!DOCTYPE ... PUBLIC "..." ...>— the public ID<!DOCTYPE ... SYSTEM "...">(UC17/UC18)href="..."on XInclude, XSLT import/include (UC21)schemaLocation="..."on xs:include/xs:importNamespace URI fromxmlns="..."orxmlns:prefix="...", or the namespace part ofxsi:schemaLocation="ns path".xsi:noNamespaceSchemaLocation="..."(UC15)xsi:schemaLocation="ns path"— the path part (UC16)<?xml-model href="..."?>(UC14) -
Method Summary
Modifier and TypeMethodDescriptionstatic GrammarReference.KindReturns the enum constant of this class with the specified name.static GrammarReference.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XML_MODEL_HREF
<?xml-model href="..."?>(UC14) -
SCHEMA_LOCATION
xsi:schemaLocation="ns path"— the path part (UC16) -
NO_NS_SCHEMA_LOCATION
xsi:noNamespaceSchemaLocation="..."(UC15) -
DOCTYPE_SYSTEM
<!DOCTYPE ... SYSTEM "...">(UC17/UC18) -
DOCTYPE_PUBLIC
<!DOCTYPE ... PUBLIC "..." ...>— the public ID -
INCLUDE_SCHEMA_LOCATION
schemaLocation="..."on xs:include/xs:import -
HREF
href="..."on XInclude, XSLT import/include (UC21) -
CATALOG_URI
uri="..."on OASIS catalog entries (uri,public,system, etc.) -
NAMESPACE_DECL
Namespace URI fromxmlns="..."orxmlns:prefix="...", or the namespace part ofxsi:schemaLocation="ns path". Used by catalog code lenses to count documents bound to a grammar via namespace resolution (resolveURI(namespaceURI)inLSPXMLCatalogResolver).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-