public enum PubSubNamespace extends Enum<PubSubNamespace>
PubSub
packet
as defined by the specification.Modifier and Type | Method and Description |
---|---|
String |
getFragment() |
String |
getXmlns() |
static PubSubNamespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubNamespace |
valueOfFromXmlns(String ns) |
static PubSubNamespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PubSubNamespace basic
public static final PubSubNamespace error
public static final PubSubNamespace event
public static final PubSubNamespace owner
public static PubSubNamespace[] values()
for (PubSubNamespace c : PubSubNamespace.values()) System.out.println(c);
public static PubSubNamespace 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 getFragment()
public static PubSubNamespace valueOfFromXmlns(String ns)