eu.play_project.play_commons.constants
Enum Namespace
java.lang.Object
java.lang.Enum<Namespace>
eu.play_project.play_commons.constants.Namespace
- All Implemented Interfaces:
- Serializable, Comparable<Namespace>
public enum Namespace
- extends Enum<Namespace>
Enum of namespaces commonly used in PLAY events.
TYPES
public static final Namespace TYPES
EVENTS
public static final Namespace EVENTS
STREAMS
public static final Namespace STREAMS
SOURCE
public static final Namespace SOURCE
UCCRISIS
public static final Namespace UCCRISIS
UCTELCO
public static final Namespace UCTELCO
ESR
public static final Namespace ESR
XSD_NS
public static final Namespace XSD_NS
RDF
public static final Namespace RDF
GEO
public static final Namespace GEO
USER
public static final Namespace USER
SIOC
public static final Namespace SIOC
values
public static Namespace[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Namespace c : Namespace.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Namespace valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException - if the argument is null
getUri
public String getUri()
getPrefix
public String getPrefix()
Copyright © 2010-2013 OW2 Consortium. All Rights Reserved.