Sha256: 83df05f6a3fd1a2e9e227c8c0e4a040a0699b91588c2c82c18f68ef372d76bc7

Contents?: true

Size: 645 Bytes

Versions: 50

Compression:

Stored size: 645 Bytes

Contents

class OM::XML::Vocabulary
  
  attr_accessor :builder
  # Vocabularies are not editable once they've been created because inserting/removing/rearranging mappers in a vocabulary 
  # will invalidate the xpath queries for an entire branch of the Vocabulary's tree of mappers.
  # If you want to change a vocabulary's structure, retrieve it's +builder+, make your changes, and re-generate the vocabulary.
  # 
  # Ex:
  #   builder = vocabulary.builder
  #   builder.insert_mapper(:name_, :namePart)
  #   vocabulary = builder.build
  
  # Mappers can be retrieved by their mapper name
  # Ex.
  # vocabulary.retrieve_mapper(:name_, :namePart)

end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
om-1.2.4 lib/om/xml/vocabulary.rb
om-1.2.3 lib/om/xml/vocabulary.rb
om-1.2.2 lib/om/xml/vocabulary.rb
om-1.2.1 lib/om/xml/vocabulary.rb
om-1.2.0 lib/om/xml/vocabulary.rb
om-1.1.1 lib/om/xml/vocabulary.rb
om-1.1.0 lib/om/xml/vocabulary.rb
om-1.0.2 lib/om/xml/vocabulary.rb
om-1.0.1 lib/om/xml/vocabulary.rb
om-1.0.0 lib/om/xml/vocabulary.rb