.. _f-xmltreenode: module ``xmlhelper.xml_tree_node`` ================================== .. inheritance-diagram:: pyrsslocal.xmlhelper.xml_tree_node Short summary +++++++++++++ module ``pyrsslocal.xmlhelper.xml_tree_node`` parsing XML :githublink:`%|py|5` Classes +++++++ +-------------------------------------------------------------------------------------+-----------------------------------------+ | class | truncated documentation | +=====================================================================================+=========================================+ | :class:`XMLHandlerDictNode ` | Defines a node containing a dictionary. | +-------------------------------------------------------------------------------------+-----------------------------------------+ Methods +++++++ +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | method | truncated documentation | +============================================================================================================+============================================================================================================+ | :py:meth:`__cmp__ ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`__iadd__ ` | Concatenates every information. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`__lt__ ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`__str__ ` | usual | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_adopt_table ` | Adopts a table built on anoher object. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_build_othercount ` | Builds *_othercount* when not present. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_check_ ` | some checking | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_collapse ` | Collapses together all fields having the same name in the member other. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_convert_into_list ` | Converts all types into lists. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_guess_type ` | Replaces all values in the object. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_log_error ` | logs an object from the root if not already done | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :py:meth:`_transfer_to_object ` | Transfers values to the object *self.table*. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`add_xml_content ` | Adds the content of the node itself (and all included nodes). | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`apply_change_names ` | private: change names attributes. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`copy ` | Gets a copy. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`enumerate_on_tag ` | Enumerates all nodes sharing the same name: tag. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`find_node ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`find_node_regex ` | Finds all nodes depending on a regular expression. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`find_node_value ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_full_name ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_root ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_values ` | Gets all values associated to a given field name. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_values_group ` | Gets all values associated to a list of fields (must come together in a single node, not in *self.other*). | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_xml_content ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`get_xml_output ` | | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`iadd ` | Concatenates every information. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`is_text_only ` | Returns True if it only contains text. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`iterfields ` | Iterator on the nodes. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`rearrange ` | Moves all objects to other. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`set ` | Changes the value of a field. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ | :meth:`strip ` | Strips the buffer. | +------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyrsslocal.xmlhelper.xml_tree_node :members: :special-members: __init__ :show-inheritance: