Package pyx12 :: Module map_if :: Class composite_if
[hide private]

Class composite_if

source code

object --+    
         |    
  x12_node --+
             |
            composite_if

Composite Node Interface

Instance Methods [hide private]
 
__init__(self, root, parent)
Get the values for this composite
source code
 
_error(self, errh, err_str, err_cde, elem_val)
Forward the error to an error_handler
source code
 
debug_print(self) source code
string
__repr__(self)
repr(x)
source code
 
xml(self)
Sends an xml representation of the composite to stdout
source code
boolean
is_valid(self, comp_data, errh, check_dte=None)
Validates the composite
source code
boolean
is_composite(self) source code

Inherited from x12_node: __len__, get_child_count, get_child_node_by_idx, get_path, getnodebypath, is_element, is_first_seg_in_loop, is_loop, is_map_root, is_segment

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, root, parent)
(Constructor)

source code 

Get the values for this composite

Parameters:
  • parent - parent node
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Returns: string
Overrides: object.__repr__

is_valid(self, comp_data, errh, check_dte=None)

source code 

Validates the composite

Parameters:
  • comp_data - data composite instance, has multiple values
  • errh - instance of error_handler
Returns: boolean

is_composite(self)

source code 
Returns: boolean
Overrides: x12_node.is_composite