Class: Archimate::FileFormats::Sax::ContentElement

Inherits:
Handler
  • Object
show all
Includes:
CaptureContent
Defined in:
lib/archimate/file_formats/sax/content_element.rb

Instance Attribute Summary

Attributes inherited from Handler

#attrs, #element_type, #name, #parent_handler

Instance Method Summary collapse

Methods included from CaptureContent

#characters, #content

Methods inherited from Handler

#characters, #diagram, #event, #method_missing, #process_text, #property_definitions, #respond_to_missing?

Constructor Details

#initialize(name, attrs, parent_handler) ⇒ ContentElement

Returns a new instance of ContentElement.



9
10
11
# File 'lib/archimate/file_formats/sax/content_element.rb', line 9

def initialize(name, attrs, parent_handler)
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Archimate::FileFormats::Sax::Handler

Instance Method Details

#completeObject



13
14
15
# File 'lib/archimate/file_formats/sax/content_element.rb', line 13

def complete
  [event("on_#{@name}".to_sym, content)]
end