File: tmstd/docbook/node/content.rb

Overview
Module Structure
Class Hierarchy
Code

Overview

Module Structure

  module: <Toplevel Module>
  module: TmStd#7
  module: DocBook#9
  module: Node#11
  module: Book#13
  class: Content#15
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #16
  class: Contents#23
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #24
  module: BookInfo#31
  class: Content#33
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #34
  class: Contents#38
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #39
  module: Chapter#46
  class: Content#48
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #49
  class: Contents#55
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #56
  module: ChapterInfo#63
  class: Content#65
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #66
  class: Contents#70
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #71
  module: Section#78
  class: Content#80
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #81
  class: Contents#93
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #94
  module: SectionInfo#101
  class: Content#103
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #104
  class: Contents#109
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #110
  module: IndexTerm#117
  class: Content#119
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #120
  class: Contents#126
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #127
  module: Para#134
  class: Content#136
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #137
  class: Contents#145
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #146
  module: ProgramListing#153
  class: Content#155
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #156
  class: Contents#162
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #163
  module: ItemizedList#170
  class: Content#172
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #173
  class: Contents#177
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #178
  module: ListItem#185
  class: Content#187
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #188
  class: Contents#196
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #197
  module: SimpleList#204
  class: Content#206
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #207
  class: Contents#211
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #212
  module: Member#219
  class: Content#221
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #222
  class: Contents#230
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #231
  module: VariableList#238
  class: Content#240
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #241
  class: Contents#245
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #246
  module: VarListEntry#253
  class: Content#255
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #256
  class: Contents#260
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #261
  module: Term#268
  class: Content#270
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #271
  class: Contents#279
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #280
  module: InformalTable#287
  class: Content#289
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #290
  class: Contents#294
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #295
  module: TGroup#302
  class: Content#304
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #305
  class: Contents#309
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #310
  module: TBody#317
  class: Content#319
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #320
  class: Contents#324
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #325
  module: Row#332
  class: Content#334
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #335
  class: Contents#339
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #340
  module: Entry#347
  class: Content#349
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #350
  class: Contents#358
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #359
  module: EntryTbl#366
  class: Content#368
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #369
  class: Contents#373
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #374
  module: Link#381
  class: Content#383
inherits from
  Content ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_MEMBER_CLASSES #384
  class: Contents#388
inherits from
  SeqOfContent ( TmStd::DocBook::Abstraction )
has properties
constant: LSM_ELEMENT_CLASS #389

Class Hierarchy

Object ( Builtin-Module )
Abstract ( TmStd::Lsm )
Abstract ( TmStd::Lsm::Sum )
Abstract ( TmStd::Lsm::Collection )

Code

   1  # $Id: content.rb,v 1.3 2012/01/20 07:42:31 machan Exp $
   2 
   3  require 'tmdoc/tmstd'
   4  require 'tmdoc/tmstd/docbook/node/element'
   5 
   6 
   7  module TmStd
   8 
   9  module DocBook
  10 
  11  module Node
  12 
  13  module Book
  14 
  15  class Content < Abstraction::Content
  16      LSM_MEMBER_CLASSES  = [ Node::BookInfo::Element,
  17                              Node::Chapter::Element,
  18                              Leaf::Include::Element,
  19                              Leaf::Index::Element ]
  20  end
  21 
  22 
  23  class Contents < Abstraction::SeqOfContent
  24      LSM_ELEMENT_CLASS = Content
  25  end
  26 
  27  end
  28 
  29 
  30 
  31  module BookInfo
  32 
  33  class Content < Abstraction::Content
  34      LSM_MEMBER_CLASSES  = [ Leaf::Title::Element, Leaf::PubDate::Element ]
  35  end
  36 
  37 
  38  class Contents < Abstraction::SeqOfContent
  39      LSM_ELEMENT_CLASS = Content
  40  end
  41 
  42  end
  43 
  44 
  45 
  46  module Chapter
  47 
  48  class Content < Abstraction::Content
  49      LSM_MEMBER_CLASSES  = [ Node::ChapterInfo::Element,
  50                              Node::Section::Element,
  51                              Leaf::Include::Element ]
  52  end
  53 
  54 
  55  class Contents < Abstraction::SeqOfContent
  56      LSM_ELEMENT_CLASS = Content
  57  end
  58 
  59  end
  60 
  61 
  62 
  63  module ChapterInfo
  64 
  65  class Content < Abstraction::Content
  66      LSM_MEMBER_CLASSES  = [ Leaf::Title::Element ]
  67  end
  68 
  69 
  70  class Contents < Abstraction::SeqOfContent
  71      LSM_ELEMENT_CLASS = Content
  72  end
  73 
  74  end
  75 
  76 
  77 
  78  module Section
  79 
  80  class Content < Abstraction::Content
  81      LSM_MEMBER_CLASSES  = [ Node::SectionInfo::Element,
  82                              Node::Section::Element,
  83                              Node::Para::Element,
  84                              Node::ProgramListing::Element,
  85                              Abstraction::List,
  86                              Node::InformalTable::Element,
  87                              Node::Link::Element,
  88                              Abstraction::Name,
  89                              Leaf::Text::Element ]
  90  end
  91 
  92 
  93  class Contents < Abstraction::SeqOfContent
  94      LSM_ELEMENT_CLASS = Content
  95  end
  96 
  97  end
  98 
  99 
 100 
 101  module SectionInfo
 102 
 103  class Content < Abstraction::Content
 104      LSM_MEMBER_CLASSES  = [ Leaf::Title::Element, Node::IndexTerm::Element ]
 105  end
 106 
 107 
 108 
 109  class Contents < Abstraction::SeqOfContent
 110      LSM_ELEMENT_CLASS = Content
 111  end
 112 
 113  end
 114 
 115 
 116 
 117  module IndexTerm
 118 
 119  class Content < Abstraction::Content
 120      LSM_MEMBER_CLASSES  = [ Leaf::Primary::Element,
 121                              Leaf::Secondary::Element,
 122                              Leaf::Tertiary::Element ]
 123  end
 124 
 125 
 126  class Contents < Abstraction::SeqOfContent
 127      LSM_ELEMENT_CLASS = Content
 128  end
 129 
 130  end
 131 
 132 
 133 
 134  module Para
 135 
 136  class Content < Abstraction::Content
 137      LSM_MEMBER_CLASSES  = [ Abstraction::List,
 138                              Node::InformalTable::Element,
 139                              Node::Link::Element,
 140                              Abstraction::Name,
 141                              Leaf::Text::Element ]
 142  end
 143 
 144 
 145  class Contents < Abstraction::SeqOfContent
 146      LSM_ELEMENT_CLASS = Content
 147  end
 148 
 149  end
 150 
 151 
 152 
 153  module ProgramListing
 154 
 155  class Content < Abstraction::Content
 156      LSM_MEMBER_CLASSES  = [ Node::Link::Element,
 157                              Leaf::Anchor::Element,
 158                              Leaf::Text::Element ]
 159  end
 160 
 161 
 162  class Contents < Abstraction::SeqOfContent
 163      LSM_ELEMENT_CLASS = Content
 164  end
 165 
 166  end
 167 
 168 
 169 
 170  module ItemizedList
 171 
 172  class Content < Abstraction::Content
 173      LSM_MEMBER_CLASSES  = [ Node::ListItem::Element ]
 174  end
 175 
 176 
 177  class Contents < Abstraction::SeqOfContent
 178      LSM_ELEMENT_CLASS = Content
 179  end
 180 
 181  end
 182 
 183 
 184 
 185  module ListItem
 186 
 187  class Content < Abstraction::Content
 188      LSM_MEMBER_CLASSES  = [ Abstraction::List,
 189                              Node::InformalTable::Element,
 190                              Node::Link::Element,
 191                              Abstraction::Name,
 192                              Leaf::Text::Element ]
 193  end
 194 
 195 
 196  class Contents < Abstraction::SeqOfContent
 197      LSM_ELEMENT_CLASS = Content
 198  end
 199 
 200  end
 201 
 202 
 203 
 204  module SimpleList
 205 
 206  class Content < Abstraction::Content
 207      LSM_MEMBER_CLASSES  = [ Node::Member::Element ]
 208  end
 209 
 210 
 211  class Contents < Abstraction::SeqOfContent
 212      LSM_ELEMENT_CLASS = Content
 213  end
 214 
 215  end
 216 
 217 
 218 
 219  module Member
 220 
 221  class Content < Abstraction::Content
 222      LSM_MEMBER_CLASSES  = [ Abstraction::List,
 223                              Node::InformalTable::Element,
 224                              Node::Link::Element,
 225                              Abstraction::Name,
 226                              Leaf::Text::Element ]
 227  end
 228 
 229 
 230  class Contents < Abstraction::SeqOfContent
 231      LSM_ELEMENT_CLASS = Content
 232  end
 233 
 234  end
 235 
 236 
 237 
 238  module VariableList
 239 
 240  class Content < Abstraction::Content
 241      LSM_MEMBER_CLASSES  = [ Node::VarListEntry::Element ]
 242  end
 243 
 244 
 245  class Contents < Abstraction::SeqOfContent
 246      LSM_ELEMENT_CLASS = Content
 247  end
 248 
 249  end
 250 
 251 
 252 
 253  module VarListEntry
 254 
 255  class Content < Abstraction::Content
 256      LSM_MEMBER_CLASSES  = [ Node::Term::Element, Node::ListItem::Element ]
 257  end
 258 
 259 
 260  class Contents < Abstraction::SeqOfContent
 261      LSM_ELEMENT_CLASS = Content
 262  end
 263 
 264  end
 265 
 266 
 267 
 268  module Term
 269 
 270  class Content < Abstraction::Content
 271      LSM_MEMBER_CLASSES  = [ Abstraction::List,
 272                              Node::Link::Element,
 273                              Leaf::Anchor::Element,
 274                              Abstraction::Name,
 275                              Leaf::Text::Element ]
 276  end
 277 
 278 
 279  class Contents < Abstraction::SeqOfContent
 280      LSM_ELEMENT_CLASS = Content
 281  end
 282 
 283  end
 284 
 285 
 286 
 287  module InformalTable
 288 
 289  class Content < Abstraction::Content
 290      LSM_MEMBER_CLASSES  = [ Node::TGroup::Element ]
 291  end
 292 
 293 
 294  class Contents < Abstraction::SeqOfContent
 295      LSM_ELEMENT_CLASS = Content
 296  end
 297 
 298  end
 299 
 300 
 301 
 302  module TGroup
 303 
 304  class Content < Abstraction::Content
 305      LSM_MEMBER_CLASSES  = [ Leaf::ColSpec::Element, Node::TBody::Element ]
 306  end
 307 
 308 
 309  class Contents < Abstraction::SeqOfContent
 310      LSM_ELEMENT_CLASS = Content
 311  end
 312 
 313  end
 314 
 315 
 316 
 317  module TBody
 318 
 319  class Content < Abstraction::Content
 320      LSM_MEMBER_CLASSES  = [ Node::Row::Element ]
 321  end
 322 
 323 
 324  class Contents < Abstraction::SeqOfContent
 325      LSM_ELEMENT_CLASS = Content
 326  end
 327 
 328  end
 329 
 330 
 331 
 332  module Row
 333 
 334  class Content < Abstraction::Content
 335      LSM_MEMBER_CLASSES  = [ Node::Entry::Element, Node::EntryTbl::Element ]
 336  end
 337 
 338 
 339  class Contents < Abstraction::SeqOfContent
 340      LSM_ELEMENT_CLASS = Content
 341  end
 342 
 343  end
 344 
 345 
 346 
 347  module Entry
 348 
 349  class Content < Abstraction::Content
 350      LSM_MEMBER_CLASSES  = [ Abstraction::List,
 351                              Node::Link::Element,
 352                              Leaf::Anchor::Element,
 353                              Abstraction::Name,
 354                              Leaf::Text::Element ]
 355  end
 356 
 357 
 358  class Contents < Abstraction::SeqOfContent
 359      LSM_ELEMENT_CLASS = Content
 360  end
 361 
 362  end
 363 
 364 
 365 
 366  module EntryTbl
 367 
 368  class Content < Abstraction::Content
 369      LSM_MEMBER_CLASSES  = [ Leaf::ColSpec::Element, Node::TBody::Element ]
 370  end
 371 
 372 
 373  class Contents < Abstraction::SeqOfContent
 374      LSM_ELEMENT_CLASS = Content
 375  end
 376 
 377  end
 378 
 379 
 380 
 381  module Link
 382 
 383  class Content < Abstraction::Content
 384      LSM_MEMBER_CLASSES  = [ Abstraction::Name, Leaf::Text::Element ]
 385  end
 386 
 387 
 388  class Contents < Abstraction::SeqOfContent
 389      LSM_ELEMENT_CLASS = Content
 390  end
 391 
 392  end
 393 
 394  end # TmStd::DocBook::Node
 395 
 396  end # TmStd::DocBook
 397 
 398  end # TmStd