Module: Lutaml::Model::Xml
- Defined in:
- lib/lutaml/model/xml.rb,
lib/lutaml/model/xml/element.rb,
lib/lutaml/model/xml/mapping.rb,
lib/lutaml/model/xml/document.rb,
lib/lutaml/model/xml/transform.rb,
lib/lutaml/model/xml/builder/ox.rb,
lib/lutaml/model/xml/ox_adapter.rb,
lib/lutaml/model/xml/builder/oga.rb,
lib/lutaml/model/xml/oga/element.rb,
lib/lutaml/model/xml/oga_adapter.rb,
lib/lutaml/model/xml/xml_element.rb,
lib/lutaml/model/xml/mapping_rule.rb,
lib/lutaml/model/xml/oga/document.rb,
lib/lutaml/model/xml/xml_attribute.rb,
lib/lutaml/model/xml/xml_namespace.rb,
lib/lutaml/model/xml/builder/nokogiri.rb,
lib/lutaml/model/xml/nokogiri_adapter.rb
Defined Under Namespace
Modules: Builder, Oga Classes: Document, Element, Mapping, MappingRule, NokogiriAdapter, NokogiriElement, OgaAdapter, OxAdapter, OxElement, Transform, XmlAttribute, XmlElement, XmlNamespace
Class Method Summary collapse
Class Method Details
.detect_xml_adapter ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/lutaml/model/xml.rb', line 6 def self.detect_xml_adapter return :nokogiri if Object.const_defined?(:Nokogiri) return :ox if Object.const_defined?(:Ox) return :oga if Object.const_defined?(:Oga) nil end |