Sha256: ee6d86694b960c54ddd3b38463d8d28cb8f2e5ff04f6df75e6e31c8c5dad60de
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
om-1.8.1 | lib/om/xml/vocabulary.rb |