pyx12 :: segment :: Element :: Class Element
[hide private]

Class Element

source code

object --+
         |
        Element

Holds a simple element, which is just a simple string.

Instance Methods [hide private]
 
__init__(self, ele_str)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
int
__len__(self) source code
string
__repr__(self)
repr(x)
source code
string
format(self) source code
string
get_value(self) source code
 
set_value(self, elem_str) source code
boolean
is_composite(self) source code
boolean
is_element(self) source code
boolean
is_empty(self) source code

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, ele_str)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • ele_str (string) - 1::2
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Returns: string
Overrides: object.__repr__

set_value(self, elem_str)

source code 
Parameters:
  • elem_str (string) - Element string value