Sha256: 2752624d08c2c23cb07ca19e83dc0f33ac040c286541acaf5a9daa3c98df4676

Contents?: true

Size: 1.06 KB

Versions: 26

Compression:

Stored size: 1.06 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

    # replacing the original

    def note_replacing(original)
    end

    # about to be invalidated

    def note_invalidate
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
hutch-xamplr-1.0.0 lib/xamplr/notifications.rb
hutch-xamplr-1.0.1 lib/xamplr/notifications.rb
hutch-xamplr-1.0.2 lib/xamplr/notifications.rb
hutch-xamplr-1.0.3 lib/xamplr/notifications.rb
hutch-xamplr-1.0.4 lib/xamplr/notifications.rb
hutch-xamplr-1.0.5 lib/xamplr/notifications.rb
hutch-xamplr-1.1.0 lib/xamplr/notifications.rb
hutch-xamplr-1.1.1 lib/xamplr/notifications.rb
hutch-xamplr-1.1.2 lib/xamplr/notifications.rb
hutch-xamplr-1.1.4 lib/xamplr/notifications.rb
hutch-xamplr-1.2.0 lib/xamplr/notifications.rb
hutch-xamplr-1.3.0 lib/xamplr/notifications.rb
hutch-xamplr-1.3.1 lib/xamplr/notifications.rb
hutch-xamplr-1.3.10 lib/xamplr/notifications.rb
hutch-xamplr-1.3.11 lib/xamplr/notifications.rb
hutch-xamplr-1.3.12 lib/xamplr/notifications.rb
hutch-xamplr-1.3.13 lib/xamplr/notifications.rb
hutch-xamplr-1.3.14 lib/xamplr/notifications.rb
hutch-xamplr-1.3.3 lib/xamplr/notifications.rb
hutch-xamplr-1.3.8 lib/xamplr/notifications.rb