yaml :: dumper :: Dumper :: Class Dumper
[hide private]
[frames] | no frames]

Class Dumper

                         object --+    
                                  |    
                    emitter.Emitter --+
                                      |
                         object --+   |
                                  |   |
              serializer.Serializer --+
                                      |
                 object --+           |
                          |           |
representer.BaseRepresenter --+       |
                              |       |
    representer.SafeRepresenter --+   |
                                  |   |
            representer.Representer --+
                                      |
                     object --+       |
                              |       |
          resolver.BaseResolver --+   |
                                  |   |
                  resolver.Resolver --+
                                      |
                                     Dumper

Nested Classes [hide private]

Inherited from representer.BaseRepresenter: builtin_function_type, classobj_type, function_type, generator_type, instance_type, module_type

Instance Methods [hide private]
 
__init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None)

Inherited from emitter.Emitter: analyze_scalar, check_empty_document, check_empty_mapping, check_empty_sequence, check_simple_key, choose_scalar_style, determine_chomp, emit, expect_alias, expect_block_mapping, expect_block_mapping_key, expect_block_mapping_simple_value, expect_block_mapping_value, expect_block_sequence, expect_block_sequence_item, expect_document_end, expect_document_root, expect_document_start, expect_first_block_mapping_key, expect_first_block_sequence_item, expect_first_document_start, expect_first_flow_mapping_key, expect_first_flow_sequence_item, expect_flow_mapping, expect_flow_mapping_key, expect_flow_mapping_simple_value, expect_flow_mapping_value, expect_flow_sequence, expect_flow_sequence_item, expect_node, expect_nothing, expect_scalar, expect_stream_start, flush_stream, increase_indent, need_events, need_more_events, prepare_anchor, prepare_tag, prepare_tag_handle, prepare_tag_prefix, prepare_version, process_anchor, process_scalar, process_tag, write_double_quoted, write_folded, write_indent, write_indicator, write_line_break, write_literal, write_plain, write_single_quoted, write_stream_end, write_stream_start, write_tag_directive, write_version_directive

Inherited from serializer.Serializer: anchor_node, close, generate_anchor, open, serialize, serialize_node

Inherited from representer.Representer: represent_complex, represent_instance, represent_long, represent_module, represent_name, represent_object, represent_str, represent_tuple, represent_unicode

Inherited from representer.SafeRepresenter: ignore_aliases, represent_bool, represent_date, represent_datetime, represent_dict, represent_float, represent_int, represent_list, represent_none, represent_set, represent_undefined, represent_yaml_object

Inherited from representer.BaseRepresenter: get_classobj_bases, represent, represent_data, represent_mapping, represent_scalar, represent_sequence

Inherited from resolver.BaseResolver: ascend_resolver, check_resolver_prefix, descend_resolver, resolve

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

Class Methods [hide private]

Inherited from representer.BaseRepresenter: add_multi_representer, add_representer

Inherited from resolver.BaseResolver: add_implicit_resolver, add_path_resolver

Class Variables [hide private]
  yaml_representers = {None: <unbound method SafeRepresenter.rep...

Inherited from emitter.Emitter: DEFAULT_TAG_PREFIXES, ESCAPE_REPLACEMENTS

Inherited from serializer.Serializer: ANCHOR_TEMPLATE

Inherited from representer.Representer: yaml_multi_representers

Inherited from representer.SafeRepresenter: inf_value

Inherited from resolver.Resolver: yaml_implicit_resolvers

Inherited from resolver.BaseResolver: DEFAULT_MAPPING_TAG, DEFAULT_SCALAR_TAG, DEFAULT_SEQUENCE_TAG, yaml_path_resolvers

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, stream, default_style=None, default_flow_style=None, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None)
(Constructor)

 
Overrides: emitter.Emitter.__init__

Class Variable Details [hide private]

yaml_representers

Value:
{None: <unbound method SafeRepresenter.represent_undefined>,
 <type 'bool'>: <unbound method SafeRepresenter.represent_bool>,
 <type 'classobj'>: <unbound method Representer.represent_name>,
 <type 'complex'>: <unbound method Representer.represent_complex>,
 <type 'float'>: <unbound method SafeRepresenter.represent_float>,
 <type 'function'>: <unbound method Representer.represent_name>,
 <type 'int'>: <unbound method SafeRepresenter.represent_int>,
 <type 'list'>: <unbound method SafeRepresenter.represent_list>,
...