public class OpenPublisher extends PublisherModel
open, publishers, subscribers
Constructor and Description |
---|
OpenPublisher() |
Modifier and Type | Method and Description |
---|---|
boolean |
canPublish(Node node,
org.xmpp.packet.JID entity)
Returns true if the entity is allowed to publish items to the specified node.
|
String |
getName()
Returns the name as defined by the JEP-60 spec.
|
valueOf
public boolean canPublish(Node node, org.xmpp.packet.JID entity)
PublisherModel
canPublish
in class PublisherModel
node
- the node that may get a new published item by the specified entity.entity
- the JID of the entity that wants to publish an item to the node.public String getName()
PublisherModel
getName
in class PublisherModel
Copyright © 2003-2008 Jive Software.