public enum Namespace extends Enum<Namespace>
Enum Constant and Description |
---|
CLI_1_0 |
CLI_1_1 |
CLI_1_2 |
CLI_1_3 |
CLI_2_0 |
CLI_3_0 |
NONE |
UNKNOWN |
XML_SCHEMA_INSTANCE |
Modifier and Type | Field and Description |
---|---|
static Namespace |
CURRENT
The current namespace version.
|
Modifier and Type | Method and Description |
---|---|
static Namespace[] |
cliValues() |
static Namespace |
forUri(String uri) |
String |
getUriString()
Get the URI of this namespace.
|
static Namespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Namespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Namespace UNKNOWN
public static final Namespace NONE
public static final Namespace XML_SCHEMA_INSTANCE
public static final Namespace CLI_1_0
public static final Namespace CLI_1_1
public static final Namespace CLI_1_2
public static final Namespace CLI_1_3
public static final Namespace CLI_2_0
public static final Namespace CLI_3_0
public static final Namespace CURRENT
public static Namespace[] values()
for (Namespace c : Namespace.values()) System.out.println(c);
public static Namespace 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 getUriString()
public static Namespace[] cliValues()
Copyright © 2023 JBoss by Red Hat. All rights reserved.