|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.beem.project.beem.smack.caps
Class CapsExtension

java.lang.Objectcom.beem.project.beem.smack.caps.CapsExtension
- All Implemented Interfaces:
- PacketExtension
public class CapsExtension
- extends Object
- implements PacketExtension
- extends Object
This extension represents a capability of XEP-0115.
| Constructor Summary | |
|---|---|
CapsExtension(String hash,
String node,
String ver)
Create a CapsExtension. |
|
| Method Summary | |
|---|---|
String |
getElementName()
|
String |
getExt()
Get the ext attribute value. |
String |
getHash()
Get the hash attribute value. |
String |
getNamespace()
|
String |
getNode()
Get the node attribute value. |
String |
getVer()
Get the ver attribute value. |
void |
setExt(String ext)
Set the ext attribute. |
void |
setHash(String hash)
Set the hash attribute. |
void |
setNode(String node)
Set the node attribute. |
void |
setVer(String ver)
Set the ver attribute. |
String |
toXML()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
CapsExtension
public CapsExtension(String hash, String node, String ver)
- Create a CapsExtension.
- Parameters:
hash- The value of the hash attribute.node- the value of the node attributever- the value of the ver attribute.
| Method Detail |
|---|
getVer
public String getVer()
- Get the ver attribute value.
- Returns:
- the value of the ver attribute.
getHash
public String getHash()
- Get the hash attribute value.
- Returns:
- the value of the hash attribute.
getNode
public String getNode()
- Get the node attribute value.
- Returns:
- the value of the node attribute.
getExt
public String getExt()
- Get the ext attribute value.
- Returns:
- the value of the ext attribute.
setHash
public void setHash(String hash)
- Set the hash attribute.
- Parameters:
hash- the value of hash
setVer
public void setVer(String ver)
- Set the ver attribute.
- Parameters:
ver- the value of ver
setNode
public void setNode(String node)
- Set the node attribute.
- Parameters:
node- the value of node
setExt
public void setExt(String ext)
- Set the ext attribute.
- Parameters:
ext- the value of ext
getElementName
public String getElementName()
- Specified by:
getElementNamein interfacePacketExtension
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfacePacketExtension
toXML
public String toXML()
- Specified by:
toXMLin interfacePacketExtension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2009 Beem-project.com. All Rights Reserved.

com.beem.project.beem.smack.caps.CapsExtension