|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.disco.ServiceEntity
public class ServiceEntity
Describe class ServiceEntity here. Created: Sat Feb 10 13:11:34 2007
Constructor Summary | |
---|---|
ServiceEntity(String jid,
String node,
String name)
Creates a new ServiceEntity instance. |
|
ServiceEntity(String jid,
String node,
String name,
boolean adminOnly)
|
Method Summary | |
---|---|
void |
addFeatures(String... features)
Describe addFeatures method here. |
void |
addIdentities(ServiceIdentity... identities)
Describe addIdentities method here. |
void |
addItems(ServiceEntity... items)
Describe addItems method here. |
boolean |
equals(Object obj)
2 ServiceEntities are equal of JIDs are equal and NODEs are equal. |
ServiceEntity |
findNode(String node)
Describe findNode method here. |
tigase.xml.Element[] |
getDiscoFeatures(String node)
|
tigase.xml.Element |
getDiscoInfo(String node)
|
tigase.xml.Element |
getDiscoInfo(String node,
boolean admin)
Describe getDiscoInfo method here. |
tigase.xml.Element |
getDiscoItem(String node,
String jid)
Describe getDiscoItem method here. |
List<tigase.xml.Element> |
getDiscoItems(String node,
String jid)
|
List<tigase.xml.Element> |
getDiscoItems(String node,
String jid,
boolean admin)
|
List<tigase.xml.Element> |
getItems(String node,
String jid)
|
List<tigase.xml.Element> |
getItems(String node,
String jid,
boolean admin)
|
String |
getJID()
Describe getJID method here. |
String |
getName()
Describe getName method here. |
String |
getNode()
Describe getNode method here. |
int |
hashCode()
Describe hashCode method here. |
boolean |
isAdminOnly()
|
void |
removeItems(ServiceEntity... items)
|
void |
setAdminOnly(boolean adminOnly)
|
void |
setDescription(String description)
|
void |
setFeatures(String... features)
|
String |
toString()
Describe toString method here. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceEntity(String jid, String node, String name)
ServiceEntity
instance.
jid
- node
- name
- public ServiceEntity(String jid, String node, String name, boolean adminOnly)
Method Detail |
---|
public void setAdminOnly(boolean adminOnly)
public boolean isAdminOnly()
public boolean equals(Object obj)
equals
in class Object
obj
- an Object
value
boolean
valuepublic int hashCode()
hashCode
method here.
hashCode
in class Object
int
valuepublic void addFeatures(String... features)
addFeatures
method here.
features
- public void setFeatures(String... features)
public void addIdentities(ServiceIdentity... identities)
addIdentities
method here.
identities
- public void addItems(ServiceEntity... items)
addItems
method here.
items
- public void removeItems(ServiceEntity... items)
public String getJID()
getJID
method here.
String
valuepublic String getNode()
getNode
method here.
String
valuepublic String getName()
getName
method here.
String
valuepublic tigase.xml.Element getDiscoInfo(String node)
public tigase.xml.Element getDiscoInfo(String node, boolean admin)
getDiscoInfo
method here.
node
- a String
value
Element
valuepublic tigase.xml.Element[] getDiscoFeatures(String node)
public tigase.xml.Element getDiscoItem(String node, String jid)
getDiscoItem
method here.
node
- a String
valuejid
- a String
value
Element
valuepublic List<tigase.xml.Element> getItems(String node, String jid)
public List<tigase.xml.Element> getItems(String node, String jid, boolean admin)
public List<tigase.xml.Element> getDiscoItems(String node, String jid)
public List<tigase.xml.Element> getDiscoItems(String node, String jid, boolean admin)
public ServiceEntity findNode(String node)
findNode
method here.
node
- a String
value
ServiceEntity
valuepublic String toString()
toString
method here.
toString
in class Object
String
valuepublic void setDescription(String description)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |