Class: WikiAvro::MediaWiki::DiscussionThreading
- Inherits:
-
XML::Element
- Object
- XML::Element
- WikiAvro::MediaWiki::DiscussionThreading
- Defined in:
- lib/wikiavro/mediawiki.rb
Instance Attribute Summary collapse
-
#threadAncestor ⇒ Object
Returns the value of attribute threadAncestor.
-
#threadAuthor ⇒ Object
Returns the value of attribute threadAuthor.
-
#threadEditStatus ⇒ Object
Returns the value of attribute threadEditStatus.
-
#threadID ⇒ Object
Returns the value of attribute threadID.
-
#threadPage ⇒ Object
Returns the value of attribute threadPage.
-
#threadParent ⇒ Object
Returns the value of attribute threadParent.
-
#threadSignature ⇒ Object
Returns the value of attribute threadSignature.
-
#threadSubject ⇒ Object
Returns the value of attribute threadSubject.
-
#threadSummaryPage ⇒ Object
Returns the value of attribute threadSummaryPage.
-
#threadType ⇒ Object
Returns the value of attribute threadType.
Attributes inherited from XML::Element
Instance Method Summary collapse
- #handle_content(w, p, r) ⇒ Object
-
#initialize ⇒ DiscussionThreading
constructor
A new instance of DiscussionThreading.
- #name ⇒ Object
- #reset ⇒ Object
Methods inherited from XML::Element
Constructor Details
#initialize ⇒ DiscussionThreading
Returns a new instance of DiscussionThreading.
597 598 599 600 601 |
# File 'lib/wikiavro/mediawiki.rb', line 597 def initialize super([ThreadSubject.new, ThreadParentGroup.new, ThreadPage.new, ThreadID.new, ThreadSummaryPageGroup.new, ThreadAuthor.new, ThreadEditStatus.new, ThreadType.new, ThreadSignature.new]) end |
Instance Attribute Details
#threadAncestor ⇒ Object
Returns the value of attribute threadAncestor.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadAncestor @threadAncestor end |
#threadAuthor ⇒ Object
Returns the value of attribute threadAuthor.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadAuthor @threadAuthor end |
#threadEditStatus ⇒ Object
Returns the value of attribute threadEditStatus.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadEditStatus @threadEditStatus end |
#threadID ⇒ Object
Returns the value of attribute threadID.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadID @threadID end |
#threadPage ⇒ Object
Returns the value of attribute threadPage.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadPage @threadPage end |
#threadParent ⇒ Object
Returns the value of attribute threadParent.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadParent @threadParent end |
#threadSignature ⇒ Object
Returns the value of attribute threadSignature.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadSignature @threadSignature end |
#threadSubject ⇒ Object
Returns the value of attribute threadSubject.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadSubject @threadSubject end |
#threadSummaryPage ⇒ Object
Returns the value of attribute threadSummaryPage.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadSummaryPage @threadSummaryPage end |
#threadType ⇒ Object
Returns the value of attribute threadType.
569 570 571 |
# File 'lib/wikiavro/mediawiki.rb', line 569 def threadType @threadType end |
Instance Method Details
#handle_content(w, p, r) ⇒ Object
590 591 592 593 594 595 |
# File 'lib/wikiavro/mediawiki.rb', line 590 def handle_content(w, p, r) w.lqt(threadSubject, threadParent, threadAncestor, threadPage, threadID, threadSummaryPage, threadAuthor, threadEditStatus, threadType, threadSignature) end |
#name ⇒ Object
573 574 575 |
# File 'lib/wikiavro/mediawiki.rb', line 573 def name 'DiscussionThreading' end |
#reset ⇒ Object
577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'lib/wikiavro/mediawiki.rb', line 577 def reset @threadSubject = nil @threadParent = nil @threadAncestor = nil @threadPage = nil @threadID = nil @threadSummaryPage = nil @threadAuthor = nil @threadEditStatus = nil @threadType = nil @threadSignature = nil end |