public static class DiscoverInfo.Identity
extends java.lang.Object
Refer to Jabber::Registrar in order to get the official registry of values for the category and type attributes.
| Constructor and Description |
|---|
DiscoverInfo.Identity(java.lang.String category,
java.lang.String name)
Creates a new identity for an XMPP entity.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory()
Returns the entity's category.
|
java.lang.String |
getName()
Returns the identity's name.
|
java.lang.String |
getType()
Returns the entity's type.
|
void |
setType(java.lang.String type)
Sets the entity's type.
|
java.lang.String |
toXML() |
public DiscoverInfo.Identity(java.lang.String category,
java.lang.String name)
category - the entity's category.name - the entity's name.public java.lang.String getCategory()
public java.lang.String getName()
public java.lang.String getType()
public void setType(java.lang.String type)
type - the identity's type.public java.lang.String toXML()
Copyright © 2003 Jive Software.