public static enum ExtensionMetadata.ScriptLanguage extends java.lang.Enum<ExtensionMetadata.ScriptLanguage>
Enum Constant | Description |
---|---|
JAVASCRIPT |
For resource extensions written in
javascript.
|
XQUERY |
For resource extensions written in xquery.
|
Modifier and Type | Method | Description |
---|---|---|
static ExtensionMetadata.ScriptLanguage |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the
specified name.
|
static ExtensionMetadata.ScriptLanguage[] |
values() |
Returns an array containing the constants of
this enum type, in the order they are declared.
|
public static final ExtensionMetadata.ScriptLanguage XQUERY
public static final ExtensionMetadata.ScriptLanguage JAVASCRIPT
public static ExtensionMetadata.ScriptLanguage[] values()
for (ExtensionMetadata.ScriptLanguage c : ExtensionMetadata.ScriptLanguage.values()) System.out.println(c);
public static ExtensionMetadata.ScriptLanguage valueOf(java.lang.String name)
name
- the name of the enum constant to be
returned.java.lang.IllegalArgumentException
- if this enum
type has no constant with the specified namejava.lang.NullPointerException
- if the argument
is nullCopyright © 2022 MarkLogic Corporation