public enum PubSubNamespace extends java.lang.Enum<PubSubNamespace>
PubSub packet
as defined by the specification.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFragment() |
java.lang.String |
getXmlns() |
static PubSubNamespace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PubSubNamespace |
valueOfFromXmlns(java.lang.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(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 nullpublic java.lang.String getXmlns()
public java.lang.String getFragment()
public static PubSubNamespace valueOfFromXmlns(java.lang.String ns)