class EdifactConverter::EDI2XML11::SettingsHandler

Attributes

element_index[RW]
groups[RW]
segment[RW]
value_index[RW]

Public Instance Methods

endSegmentGroup(name) click to toggle source
Calls superclass method
# File lib/edifact_converter/edi2xml11/settings_handler.rb, line 23
def endSegmentGroup(name)
  groups.pop
  locator.rules = EdifactConverter::Configuration.edifact_rules(locator.properties[:type], groups.last)
  super
end
startDocument() click to toggle source
Calls superclass method
# File lib/edifact_converter/edi2xml11/settings_handler.rb, line 9
def startDocument
  self.groups = []
  self.segment = 'Edifact'
  self.element_index = 0
  self.value_index = 0
  super
end
startSegmentGroup(name, hidden = false) click to toggle source
Calls superclass method
# File lib/edifact_converter/edi2xml11/settings_handler.rb, line 17
def startSegmentGroup(name, hidden = false)
  groups << name
  locator.rules = EdifactConverter::Configuration.edifact_rules(locator.properties[:type], name)
  super
end