|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.entitycaps.EntityCapabilities
public class EntityCapabilities
Contains identities and supported features describing client capabilities for an entity.
Constructor Summary | |
---|---|
EntityCapabilities()
|
Method Summary | |
---|---|
boolean |
containsFeature(String feature)
Determines whether or not a given feature is included in these entity capabilities. |
boolean |
containsIdentity(String category,
String type)
Determines whether or not a given identity is included in these entity capabilities. |
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityCapabilities()
Method Detail |
---|
public boolean containsIdentity(String category, String type)
category
- the category of the identitytype
- the type of the identity
public boolean containsFeature(String feature)
feature
- the feature
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |