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