public enum SingletonSchema extends Enum<SingletonSchema> implements Schema<SingletonSchema>
Enum Constant and Description |
---|
VERSION_1_0 |
Modifier and Type | Field and Description |
---|---|
static SingletonSchema |
CURRENT |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceUri()
Get the namespace URI of this schema.
|
int |
major() |
int |
minor() |
static SingletonSchema |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SingletonSchema[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingletonSchema VERSION_1_0
public static final SingletonSchema CURRENT
public static SingletonSchema[] values()
for (SingletonSchema c : SingletonSchema.values()) System.out.println(c);
public static SingletonSchema 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 int major()
major
in interface Schema<SingletonSchema>
public int minor()
minor
in interface Schema<SingletonSchema>
public String getNamespaceUri()
Schema
getNamespaceUri
in interface Schema<SingletonSchema>
Copyright © 2017 JBoss by Red Hat. All rights reserved.