Class used to represent a standard fromat field. A field consists of a
field marker and its value, stored as a tuple.
|
__init__(self,
fieldMarker,
fieldValue)
This method constructs a Field object as a tuple of a field marker
and a field value. |
source code
|
|
string
|
__str__(self)
This method returns the string representation of a Field object. |
source code
|
|
string
|
|
boolean
|
has_unique_value(self)
This method checks whether a field has a single value, in which case
it returns true, or multiple values, in which case it returns false. |
source code
|
|
boolean
|
|
a list of values or a string of these values joined by sep
|
get_values(self,
sep=None)
This method returns the values for a field, either as a raw list of
values or, if a separator string is provided, as a formatted string. |
source code
|
|