Sha256: 962fcc2a349980c28a5159e6ea3fe2ae54a5d0c2e1364b96ff74b7df66228a56

Contents?: true

Size: 1.15 KB

Versions: 16

Compression:

Stored size: 1.15 KB

Contents

#!/usr/bin/env ruby

module Xampl
  module XamplObject

    # add text (while loading from XML)
    #   xml_text -- the text
    #   realising -- true when loading from a persister
    def note_adding_text_content(xml_text, realising)
      return xml_text
    end

    # these are the arrays of attribute information about to be used to
    # initialise the attributes

    def note_initialise_attributes_with(names, namespaces, values, realising)
    end

    # attributes are setup up (while loading from XML)

    def note_attributes_initialised(realising)
    end

    # just created

    def note_created(realising)
    end

    # about to be added to a parent

    def note_add_to_parent(parent, realising)
      return self
    end

    # about to be added to a parent

    def note_add_child(child, realising)
      return child
    end

    # this element has been completed

    def note_closed(realising)
      return self
    end

    # this element has been realised
    def note_realised
      return self
    end

    # replacing the original

    def note_replacing(original)
    end

    # about to be invalidated

    def note_invalidate
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
xamplr-1.9.20 lib/xamplr/notifications.rb
xamplr-1.9.18 lib/xamplr/notifications.rb
xamplr-1.9.16 lib/xamplr/notifications.rb
xamplr-1.9.15 lib/xamplr/notifications.rb
xamplr-1.9.14 lib/xamplr/notifications.rb
xamplr-1.9.13 lib/xamplr/notifications.rb
xamplr-1.9.12 lib/xamplr/notifications.rb
xamplr-1.9.11 lib/xamplr/notifications.rb
xamplr-1.9.10 lib/xamplr/notifications.rb
xamplr-1.9.9 lib/xamplr/notifications.rb
xamplr-1.9.8 lib/xamplr/notifications.rb
xamplr-1.9.7 lib/xamplr/notifications.rb
xamplr-1.9.6 lib/xamplr/notifications.rb
xamplr-1.9.5 lib/xamplr/notifications.rb
xamplr-1.9.4 lib/xamplr/notifications.rb
xamplr-1.9.3 lib/xamplr/notifications.rb