|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.pubsub.NodeExtension
public class NodeExtension
A class which represents a common element within the pubsub defined schemas. One which has a node as an attribute. This class is used on its own as well as a base class for many others, since the node is a central concept to most pubsub functionality.
Constructor Summary | |
---|---|
NodeExtension(PubSubElementType elem)
Constructs a NodeExtension with an element name specified by PubSubElementType . |
|
NodeExtension(PubSubElementType elem,
java.lang.String nodeId)
Constructs a NodeExtension with an element name specified by PubSubElementType and the specified node id. |
Method Summary | |
---|---|
java.lang.String |
getElementName()
|
java.lang.String |
getNamespace()
|
java.lang.String |
getNode()
Gets the node id |
java.lang.String |
toString()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeExtension(PubSubElementType elem, java.lang.String nodeId)
PubSubElementType
and the specified node id.
elem
- Defines the element name and namespacenodeId
- Specifies the id of the nodepublic NodeExtension(PubSubElementType elem)
PubSubElementType
.
elem
- Defines the element name and namespaceMethod Detail |
---|
public java.lang.String getNode()
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.PacketExtension
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.PacketExtension
public java.lang.String toXML()
toXML
in interface org.jivesoftware.smack.packet.PacketExtension
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |