Class: Jabber::PubSub::Items

Inherits:
XMPPElement show all
Defined in:
lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb

Overview

Items a collection of Items

Direct Known Subclasses

EventItems

Instance Method Summary collapse

Methods inherited from XMPPElement

class_for_name_xmlns, #clone, force_xmlns, force_xmlns?, import, #initialize, name_xmlns, name_xmlns_for_class, #parent=, #set_xml_lang, #typed_add, #xml_lang, #xml_lang=

Methods inherited from REXML::Element

#==, #delete_elements, #first_element, #first_element_text, #import, import, #replace_element_text, #typed_add

Constructor Details

This class inherits a constructor from Jabber::XMPPElement

Instance Method Details

#max_itemsObject



27
28
29
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 27

def max_items
  attributes['max_items']
end

#max_items=(mymaxitems) ⇒ Object



30
31
32
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 30

def max_items=(mymaxitems)
  attributes['max_items'] = mymaxitems
end

#nodeObject



15
16
17
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 15

def node
  attributes['node']
end

#node=(mynodename) ⇒ Object



18
19
20
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 18

def node=(mynodename)
  attributes['node'] = mynodename
end

#subidObject



21
22
23
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 21

def subid
  attributes['subid']
end

#subid=(mysubid) ⇒ Object



24
25
26
# File 'lib/gems/xmpp4r-0.4/lib/xmpp4r/pubsub/children/items.rb', line 24

def subid=(mysubid)
  attributes['subid'] = mysubid
end