/* libxml-NamedAttrMap.c generated by valac 0.28.1, the Vala compiler
 * generated from libxml-NamedAttrMap.vala, do not modify */

/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
/* Node.vala
 *
 * Copyright (C) 2011-2013  Richard Schwarting <aquarichy@gmail.com>
 * Copyright (C) 2011,2014-2015  Daniel Espinosa <esodan@gmail.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.

 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
 *
 * Authors:
 *      Richard Schwarting <aquarichy@gmail.com>
 */

#include <glib.h>
#include <glib-object.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <libxml/tree.h>


#define GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP (gxml_abstract_named_attr_map_get_type ())
#define GXML_ABSTRACT_NAMED_ATTR_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, GXmlAbstractNamedAttrMap))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, GXmlAbstractNamedAttrMapClass))
#define GXML_IS_ABSTRACT_NAMED_ATTR_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP))
#define GXML_IS_ABSTRACT_NAMED_ATTR_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, GXmlAbstractNamedAttrMapClass))

typedef struct _GXmlAbstractNamedAttrMap GXmlAbstractNamedAttrMap;
typedef struct _GXmlAbstractNamedAttrMapClass GXmlAbstractNamedAttrMapClass;
typedef struct _GXmlAbstractNamedAttrMapPrivate GXmlAbstractNamedAttrMapPrivate;

#define GXML_TYPE_XNODE (gxml_xnode_get_type ())
#define GXML_XNODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_XNODE, GXmlxNode))
#define GXML_XNODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_XNODE, GXmlxNodeClass))
#define GXML_IS_XNODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_XNODE))
#define GXML_IS_XNODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_XNODE))
#define GXML_XNODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_XNODE, GXmlxNodeClass))

typedef struct _GXmlxNode GXmlxNode;
typedef struct _GXmlxNodeClass GXmlxNodeClass;

#define GXML_TYPE_BACKED_NODE (gxml_backed_node_get_type ())
#define GXML_BACKED_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_BACKED_NODE, GXmlBackedNode))
#define GXML_BACKED_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_BACKED_NODE, GXmlBackedNodeClass))
#define GXML_IS_BACKED_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_BACKED_NODE))
#define GXML_IS_BACKED_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_BACKED_NODE))
#define GXML_BACKED_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_BACKED_NODE, GXmlBackedNodeClass))

typedef struct _GXmlBackedNode GXmlBackedNode;
typedef struct _GXmlBackedNodeClass GXmlBackedNodeClass;

#define GXML_TYPE_XELEMENT (gxml_xelement_get_type ())
#define GXML_XELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_XELEMENT, GXmlxElement))
#define GXML_XELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_XELEMENT, GXmlxElementClass))
#define GXML_IS_XELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_XELEMENT))
#define GXML_IS_XELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_XELEMENT))
#define GXML_XELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_XELEMENT, GXmlxElementClass))

typedef struct _GXmlxElement GXmlxElement;
typedef struct _GXmlxElementClass GXmlxElementClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY (gxml_abstract_named_attr_map_entry_get_type ())
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntry))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntryClass))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntryClass))

typedef struct _GXmlAbstractNamedAttrMapEntry GXmlAbstractNamedAttrMapEntry;
typedef struct _GXmlAbstractNamedAttrMapEntryClass GXmlAbstractNamedAttrMapEntryClass;

#define GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR (gxml_abstract_named_attr_map_iterator_get_type ())
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlAbstractNamedAttrMapIterator))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlAbstractNamedAttrMapIteratorClass))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_IS_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_IS_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR))
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlAbstractNamedAttrMapIteratorClass))

typedef struct _GXmlAbstractNamedAttrMapIterator GXmlAbstractNamedAttrMapIterator;
typedef struct _GXmlAbstractNamedAttrMapIteratorClass GXmlAbstractNamedAttrMapIteratorClass;
typedef struct _GXmlAbstractNamedAttrMapEntryPrivate GXmlAbstractNamedAttrMapEntryPrivate;

#define GXML_TYPE_NODE (gxml_node_get_type ())
#define GXML_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NODE, GXmlNode))
#define GXML_IS_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NODE))
#define GXML_NODE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_NODE, GXmlNodeIface))

typedef struct _GXmlNode GXmlNode;
typedef struct _GXmlNodeIface GXmlNodeIface;

#define GXML_TYPE_ELEMENT_LIST (gxml_element_list_get_type ())
#define GXML_ELEMENT_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_ELEMENT_LIST, GXmlElementList))
#define GXML_ELEMENT_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_ELEMENT_LIST, GXmlElementListClass))
#define GXML_IS_ELEMENT_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_ELEMENT_LIST))
#define GXML_IS_ELEMENT_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_ELEMENT_LIST))
#define GXML_ELEMENT_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_ELEMENT_LIST, GXmlElementListClass))

typedef struct _GXmlElementList GXmlElementList;
typedef struct _GXmlElementListClass GXmlElementListClass;

#define GXML_TYPE_NAMESPACE (gxml_namespace_get_type ())
#define GXML_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NAMESPACE, GXmlNamespace))
#define GXML_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NAMESPACE))
#define GXML_NAMESPACE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_NAMESPACE, GXmlNamespaceIface))

typedef struct _GXmlNamespace GXmlNamespace;
typedef struct _GXmlNamespaceIface GXmlNamespaceIface;

#define GXML_TYPE_NODE_TYPE (gxml_node_type_get_type ())

#define GXML_TYPE_DOCUMENT (gxml_document_get_type ())
#define GXML_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_DOCUMENT, GXmlDocument))
#define GXML_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_DOCUMENT))
#define GXML_DOCUMENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_DOCUMENT, GXmlDocumentIface))

typedef struct _GXmlDocument GXmlDocument;
typedef struct _GXmlDocumentIface GXmlDocumentIface;

#define GXML_TYPE_ATTRIBUTE (gxml_attribute_get_type ())
#define GXML_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_ATTRIBUTE, GXmlAttribute))
#define GXML_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_ATTRIBUTE))
#define GXML_ATTRIBUTE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_ATTRIBUTE, GXmlAttributeIface))

typedef struct _GXmlAttribute GXmlAttribute;
typedef struct _GXmlAttributeIface GXmlAttributeIface;
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _GXmlAbstractNamedAttrMapIteratorPrivate GXmlAbstractNamedAttrMapIteratorPrivate;

#define GXML_TYPE_XDOCUMENT (gxml_xdocument_get_type ())
#define GXML_XDOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_XDOCUMENT, GXmlxDocument))
#define GXML_XDOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_XDOCUMENT, GXmlxDocumentClass))
#define GXML_IS_XDOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_XDOCUMENT))
#define GXML_IS_XDOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_XDOCUMENT))
#define GXML_XDOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_XDOCUMENT, GXmlxDocumentClass))

typedef struct _GXmlxDocument GXmlxDocument;
typedef struct _GXmlxDocumentClass GXmlxDocumentClass;

#define GXML_TYPE_XATTR (gxml_xattr_get_type ())
#define GXML_XATTR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_XATTR, GXmlxAttr))
#define GXML_XATTR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_XATTR, GXmlxAttrClass))
#define GXML_IS_XATTR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_XATTR))
#define GXML_IS_XATTR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_XATTR))
#define GXML_XATTR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_XATTR, GXmlxAttrClass))

typedef struct _GXmlxAttr GXmlxAttr;
typedef struct _GXmlxAttrClass GXmlxAttrClass;
typedef struct _GXmlxNodePrivate GXmlxNodePrivate;

#define GXML_TYPE_NAMESPACE_ATTR (gxml_namespace_attr_get_type ())
#define GXML_NAMESPACE_ATTR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NAMESPACE_ATTR, GXmlNamespaceAttr))
#define GXML_NAMESPACE_ATTR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_NAMESPACE_ATTR, GXmlNamespaceAttrClass))
#define GXML_IS_NAMESPACE_ATTR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NAMESPACE_ATTR))
#define GXML_IS_NAMESPACE_ATTR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_NAMESPACE_ATTR))
#define GXML_NAMESPACE_ATTR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_NAMESPACE_ATTR, GXmlNamespaceAttrClass))

typedef struct _GXmlNamespaceAttr GXmlNamespaceAttr;
typedef struct _GXmlNamespaceAttrClass GXmlNamespaceAttrClass;

#define GXML_TYPE_XNODE_LIST (gxml_xnode_list_get_type ())
#define GXML_XNODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_XNODE_LIST, GXmlxNodeList))
#define GXML_IS_XNODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_XNODE_LIST))
#define GXML_XNODE_LIST_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_XNODE_LIST, GXmlxNodeListIface))

typedef struct _GXmlxNodeList GXmlxNodeList;
typedef struct _GXmlxNodeListIface GXmlxNodeListIface;

#define GXML_TYPE_NAMED_ATTR_MAP (gxml_named_attr_map_get_type ())
#define GXML_NAMED_ATTR_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NAMED_ATTR_MAP, GXmlNamedAttrMap))
#define GXML_NAMED_ATTR_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_NAMED_ATTR_MAP, GXmlNamedAttrMapClass))
#define GXML_IS_NAMED_ATTR_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NAMED_ATTR_MAP))
#define GXML_IS_NAMED_ATTR_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_NAMED_ATTR_MAP))
#define GXML_NAMED_ATTR_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_NAMED_ATTR_MAP, GXmlNamedAttrMapClass))

typedef struct _GXmlNamedAttrMap GXmlNamedAttrMap;
typedef struct _GXmlNamedAttrMapClass GXmlNamedAttrMapClass;

#define GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST (gxml_abstract_namespace_attr_node_list_get_type ())
#define GXML_ABSTRACT_NAMESPACE_ATTR_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST, GXmlAbstractNamespaceAttrNodeList))
#define GXML_ABSTRACT_NAMESPACE_ATTR_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST, GXmlAbstractNamespaceAttrNodeListClass))
#define GXML_IS_ABSTRACT_NAMESPACE_ATTR_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST))
#define GXML_IS_ABSTRACT_NAMESPACE_ATTR_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST))
#define GXML_ABSTRACT_NAMESPACE_ATTR_NODE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_ABSTRACT_NAMESPACE_ATTR_NODE_LIST, GXmlAbstractNamespaceAttrNodeListClass))

typedef struct _GXmlAbstractNamespaceAttrNodeList GXmlAbstractNamespaceAttrNodeList;
typedef struct _GXmlAbstractNamespaceAttrNodeListClass GXmlAbstractNamespaceAttrNodeListClass;

#define GXML_TYPE_NAMESPACE_ATTR_NODE_LIST (gxml_namespace_attr_node_list_get_type ())
#define GXML_NAMESPACE_ATTR_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NAMESPACE_ATTR_NODE_LIST, GXmlNamespaceAttrNodeList))
#define GXML_NAMESPACE_ATTR_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_NAMESPACE_ATTR_NODE_LIST, GXmlNamespaceAttrNodeListClass))
#define GXML_IS_NAMESPACE_ATTR_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NAMESPACE_ATTR_NODE_LIST))
#define GXML_IS_NAMESPACE_ATTR_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_NAMESPACE_ATTR_NODE_LIST))
#define GXML_NAMESPACE_ATTR_NODE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_NAMESPACE_ATTR_NODE_LIST, GXmlNamespaceAttrNodeListClass))

typedef struct _GXmlNamespaceAttrNodeList GXmlNamespaceAttrNodeList;
typedef struct _GXmlNamespaceAttrNodeListClass GXmlNamespaceAttrNodeListClass;
typedef struct _GXmlBackedNodePrivate GXmlBackedNodePrivate;

#define GXML_TYPE_NAMED_NODE_MAP (gxml_named_node_map_get_type ())
#define GXML_NAMED_NODE_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_NAMED_NODE_MAP, GXmlNamedNodeMap))
#define GXML_IS_NAMED_NODE_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_NAMED_NODE_MAP))
#define GXML_NAMED_NODE_MAP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GXML_TYPE_NAMED_NODE_MAP, GXmlNamedNodeMapIface))

typedef struct _GXmlNamedNodeMap GXmlNamedNodeMap;
typedef struct _GXmlNamedNodeMapIface GXmlNamedNodeMapIface;
typedef struct _GXmlNamedAttrMapPrivate GXmlNamedAttrMapPrivate;

#define GXML_NAMED_ATTR_MAP_TYPE_ITERATOR (gxml_named_attr_map_iterator_get_type ())
#define GXML_NAMED_ATTR_MAP_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlNamedAttrMapIterator))
#define GXML_NAMED_ATTR_MAP_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlNamedAttrMapIteratorClass))
#define GXML_NAMED_ATTR_MAP_IS_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_NAMED_ATTR_MAP_TYPE_ITERATOR))
#define GXML_NAMED_ATTR_MAP_IS_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_NAMED_ATTR_MAP_TYPE_ITERATOR))
#define GXML_NAMED_ATTR_MAP_ITERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlNamedAttrMapIteratorClass))

typedef struct _GXmlNamedAttrMapIterator GXmlNamedAttrMapIterator;
typedef struct _GXmlNamedAttrMapIteratorClass GXmlNamedAttrMapIteratorClass;
typedef struct _GXmlxAttrPrivate GXmlxAttrPrivate;

#define GXML_TYPE_CHILD_NODE_LIST (gxml_child_node_list_get_type ())
#define GXML_CHILD_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_CHILD_NODE_LIST, GXmlChildNodeList))
#define GXML_CHILD_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_CHILD_NODE_LIST, GXmlChildNodeListClass))
#define GXML_IS_CHILD_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_CHILD_NODE_LIST))
#define GXML_IS_CHILD_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_CHILD_NODE_LIST))
#define GXML_CHILD_NODE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_CHILD_NODE_LIST, GXmlChildNodeListClass))

typedef struct _GXmlChildNodeList GXmlChildNodeList;
typedef struct _GXmlChildNodeListClass GXmlChildNodeListClass;

#define GXML_TYPE_ATTR_CHILD_NODE_LIST (gxml_attr_child_node_list_get_type ())
#define GXML_ATTR_CHILD_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GXML_TYPE_ATTR_CHILD_NODE_LIST, GXmlAttrChildNodeList))
#define GXML_ATTR_CHILD_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GXML_TYPE_ATTR_CHILD_NODE_LIST, GXmlAttrChildNodeListClass))
#define GXML_IS_ATTR_CHILD_NODE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GXML_TYPE_ATTR_CHILD_NODE_LIST))
#define GXML_IS_ATTR_CHILD_NODE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GXML_TYPE_ATTR_CHILD_NODE_LIST))
#define GXML_ATTR_CHILD_NODE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GXML_TYPE_ATTR_CHILD_NODE_LIST, GXmlAttrChildNodeListClass))

typedef struct _GXmlAttrChildNodeList GXmlAttrChildNodeList;
typedef struct _GXmlAttrChildNodeListClass GXmlAttrChildNodeListClass;

#define GXML_TYPE_DOM_EXCEPTION (gxml_dom_exception_get_type ())
typedef struct _GXmlNamedAttrMapIteratorPrivate GXmlNamedAttrMapIteratorPrivate;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

struct _GXmlAbstractNamedAttrMap {
	GObject parent_instance;
	GXmlAbstractNamedAttrMapPrivate * priv;
	GXmlxElement* elem;
};

struct _GXmlAbstractNamedAttrMapClass {
	GObjectClass parent_class;
};

struct _GXmlAbstractNamedAttrMapEntry {
	GeeMapEntry parent_instance;
	GXmlAbstractNamedAttrMapEntryPrivate * priv;
};

struct _GXmlAbstractNamedAttrMapEntryClass {
	GeeMapEntryClass parent_class;
};

struct _GXmlNamespaceIface {
	GTypeInterface parent_iface;
	gchar* (*get_uri) (GXmlNamespace* self);
	gchar* (*get_prefix) (GXmlNamespace* self);
};

typedef enum  {
	GXML_NODE_TYPE_X_UNKNOWN = 0,
	GXML_NODE_TYPE_ELEMENT = 1,
	GXML_NODE_TYPE_ATTRIBUTE,
	GXML_NODE_TYPE_TEXT,
	GXML_NODE_TYPE_CDATA_SECTION,
	GXML_NODE_TYPE_ENTITY_REFERENCE,
	GXML_NODE_TYPE_ENTITY,
	GXML_NODE_TYPE_PROCESSING_INSTRUCTION,
	GXML_NODE_TYPE_COMMENT,
	GXML_NODE_TYPE_DOCUMENT,
	GXML_NODE_TYPE_DOCUMENT_TYPE,
	GXML_NODE_TYPE_DOCUMENT_FRAGMENT,
	GXML_NODE_TYPE_NOTATION
} GXmlNodeType;

struct _GXmlDocumentIface {
	GTypeInterface parent_iface;
	GXmlNode* (*create_element) (GXmlDocument* self, const gchar* name, GError** error);
	GXmlNode* (*create_text) (GXmlDocument* self, const gchar* text);
	GXmlNode* (*create_comment) (GXmlDocument* self, const gchar* text);
	GXmlNode* (*create_cdata) (GXmlDocument* self, const gchar* text);
	GXmlNode* (*create_pi) (GXmlDocument* self, const gchar* target, const gchar* data);
	gboolean (*save) (GXmlDocument* self, GCancellable* cancellable, GError** error);
	gboolean (*save_as) (GXmlDocument* self, GFile* f, GCancellable* cancellable, GError** error);
	gboolean (*get_indent) (GXmlDocument* self);
	void (*set_indent) (GXmlDocument* self, gboolean value);
	gboolean (*get_ns_top) (GXmlDocument* self);
	void (*set_ns_top) (GXmlDocument* self, gboolean value);
	gboolean (*get_prefix_default_ns) (GXmlDocument* self);
	void (*set_prefix_default_ns) (GXmlDocument* self, gboolean value);
	gboolean (*get_backup) (GXmlDocument* self);
	void (*set_backup) (GXmlDocument* self, gboolean value);
	GXmlNode* (*get_root) (GXmlDocument* self);
	GFile* (*get_file) (GXmlDocument* self);
	void (*set_file) (GXmlDocument* self, GFile* value);
};

struct _GXmlNodeIface {
	GTypeInterface parent_iface;
	GXmlNode* (*get) (GXmlNode* self, const gchar* key);
	GXmlElementList* (*get_elements_by_property_value) (GXmlNode* self, const gchar* property, const gchar* value);
	gchar* (*to_string) (GXmlNode* self);
	gboolean (*set_namespace) (GXmlNode* self, const gchar* uri, const gchar* prefix);
	gchar* (*ns_prefix) (GXmlNode* self);
	gchar* (*ns_uri) (GXmlNode* self);
	GeeList* (*get_namespaces) (GXmlNode* self);
	GeeBidirList* (*get_childs) (GXmlNode* self);
	GeeBidirList* (*get_children) (GXmlNode* self);
	GeeMap* (*get_attrs) (GXmlNode* self);
	gchar* (*get_name) (GXmlNode* self);
	gchar* (*get_value) (GXmlNode* self);
	void (*set_value) (GXmlNode* self, const gchar* value);
	GXmlNodeType (*get_type_node) (GXmlNode* self);
	GXmlDocument* (*get_document) (GXmlNode* self);
	GXmlNode* (*get_parent) (GXmlNode* self);
};

struct _GXmlAttributeIface {
	GTypeInterface parent_iface;
	GXmlNamespace* (*get_namespace) (GXmlAttribute* self);
	void (*set_namespace) (GXmlAttribute* self, GXmlNamespace* value);
	gchar* (*get_prefix) (GXmlAttribute* self);
};

struct _GXmlAbstractNamedAttrMapEntryPrivate {
	gchar* _key;
	GXmlAttribute* _value;
};

struct _GXmlAbstractNamedAttrMapIterator {
	GObject parent_instance;
	GXmlAbstractNamedAttrMapIteratorPrivate * priv;
	GXmlAbstractNamedAttrMap* nm;
	xmlAttr* cur;
};

struct _GXmlAbstractNamedAttrMapIteratorClass {
	GObjectClass parent_class;
};

struct _GXmlxNodeListIface {
	GTypeInterface parent_iface;
	GXmlxNode* (*item) (GXmlxNodeList* self, gulong idx);
	GXmlxNode* (*insert_before) (GXmlxNodeList* self, GXmlxNode* new_child, GXmlxNode* ref_child);
	GXmlxNode* (*replace_child) (GXmlxNodeList* self, GXmlxNode* new_child, GXmlxNode* old_child);
	GXmlxNode* (*remove_child) (GXmlxNodeList* self, GXmlxNode* old_child);
	GXmlxNode* (*append_child) (GXmlxNodeList* self, GXmlxNode* new_child);
	gchar* (*to_string) (GXmlxNodeList* self, gboolean in_line);
	GXmlxNode* (*first) (GXmlxNodeList* self);
	GXmlxNode* (*last) (GXmlxNodeList* self);
	GXmlxNode* (*get) (GXmlxNodeList* self, gint n);
	gulong (*get_length) (GXmlxNodeList* self);
	void (*set_length) (GXmlxNodeList* self, gulong value);
};

struct _GXmlxNode {
	GObject parent_instance;
	GXmlxNodePrivate * priv;
	GXmlxNodeList* _child_nodes;
	GXmlNamedAttrMap* _attributes;
	GXmlNamespaceAttrNodeList* _namespace_definitions;
};

struct _GXmlxNodeClass {
	GObjectClass parent_class;
	GXmlNamespaceAttr* (*add_namespace_attr) (GXmlxNode* self, const gchar* uri, const gchar* namespace_prefix);
	gboolean (*set_namespace) (GXmlxNode* self, const gchar* uri, const gchar* namespace_prefix);
	GXmlxNode* (*insert_before) (GXmlxNode* self, GXmlxNode* new_child, GXmlxNode* ref_child);
	GXmlxNode* (*replace_child) (GXmlxNode* self, GXmlxNode* new_child, GXmlxNode* old_child);
	GXmlxNode* (*remove_child) (GXmlxNode* self, GXmlxNode* old_child);
	GXmlxNode* (*append_child) (GXmlxNode* self, GXmlxNode* new_child);
	gboolean (*has_child_nodes) (GXmlxNode* self);
	GXmlxNode* (*clone_node) (GXmlxNode* self, gboolean deep);
	gchar* (*stringify) (GXmlxNode* self, gboolean format, gint level);
	gchar* (*to_string) (GXmlxNode* self);
	GeeList* (*get_namespace_definitions) (GXmlxNode* self);
	void (*set_namespace_definitions) (GXmlxNode* self, GeeList* value);
	const gchar* (*get_namespace_uri) (GXmlxNode* self);
	void (*set_namespace_uri) (GXmlxNode* self, const gchar* value);
	const gchar* (*get_namespace_prefix) (GXmlxNode* self);
	void (*set_namespace_prefix) (GXmlxNode* self, const gchar* value);
	const gchar* (*get_local_name) (GXmlxNode* self);
	void (*set_local_name) (GXmlxNode* self, const gchar* value);
	const gchar* (*get_node_name) (GXmlxNode* self);
	void (*set_node_name) (GXmlxNode* self, const gchar* value);
	const gchar* (*get_node_value) (GXmlxNode* self);
	void (*set_node_value) (GXmlxNode* self, const gchar* value);
	GXmlNodeType (*get_node_type) (GXmlxNode* self);
	void (*set_node_type) (GXmlxNode* self, GXmlNodeType value);
	GXmlxNode* (*get_parent_node) (GXmlxNode* self);
	void (*set_parent_node) (GXmlxNode* self, GXmlxNode* value);
	GXmlxNodeList* (*get_child_nodes) (GXmlxNode* self);
	void (*set_child_nodes) (GXmlxNode* self, GXmlxNodeList* value);
	GXmlxNode* (*get_first_child) (GXmlxNode* self);
	void (*set_first_child) (GXmlxNode* self, GXmlxNode* value);
	GXmlxNode* (*get_last_child) (GXmlxNode* self);
	void (*set_last_child) (GXmlxNode* self, GXmlxNode* value);
	GXmlxNode* (*get_previous_sibling) (GXmlxNode* self);
	void (*set_previous_sibling) (GXmlxNode* self, GXmlxNode* value);
	GXmlxNode* (*get_next_sibling) (GXmlxNode* self);
	void (*set_next_sibling) (GXmlxNode* self, GXmlxNode* value);
	GXmlNamedAttrMap* (*get_attributes) (GXmlxNode* self);
	void (*set_attributes) (GXmlxNode* self, GXmlNamedAttrMap* value);
	GeeList* (*get_namespaces) (GXmlxNode* self);
	GeeBidirList* (*get_children) (GXmlxNode* self);
	GeeMap* (*get_attrs) (GXmlxNode* self);
	gchar* (*get_name) (GXmlxNode* self);
	gchar* (*get_value) (GXmlxNode* self);
	void (*set_value) (GXmlxNode* self, const gchar* value);
	GXmlNode* (*get_parent) (GXmlxNode* self);
};

struct _GXmlBackedNode {
	GXmlxNode parent_instance;
	GXmlBackedNodePrivate * priv;
	xmlNode* node;
};

struct _GXmlBackedNodeClass {
	GXmlxNodeClass parent_class;
};

struct _GXmlNamedNodeMapIface {
	GTypeInterface parent_iface;
	gpointer (*get_named_item) (GXmlNamedNodeMap* self, const gchar* name);
	gpointer (*set_named_item) (GXmlNamedNodeMap* self, gconstpointer item);
	gpointer (*remove_named_item) (GXmlNamedNodeMap* self, const gchar* name);
	gpointer (*item) (GXmlNamedNodeMap* self, gulong index);
	gulong (*get_length) (GXmlNamedNodeMap* self);
};

struct _GXmlNamedAttrMap {
	GXmlAbstractNamedAttrMap parent_instance;
	GXmlNamedAttrMapPrivate * priv;
};

struct _GXmlNamedAttrMapClass {
	GXmlAbstractNamedAttrMapClass parent_class;
};

struct _GXmlxAttr {
	GXmlBackedNode parent_instance;
	GXmlxAttrPrivate * priv;
	xmlAttr* node;
	GXmlAttrChildNodeList* _attr_list;
};

struct _GXmlxAttrClass {
	GXmlBackedNodeClass parent_class;
};

typedef enum  {
	GXML_DOM_EXCEPTION_NONE,
	GXML_DOM_EXCEPTION_INDEX_SIZE,
	GXML_DOM_EXCEPTION_DOMSTRING_SIZE,
	GXML_DOM_EXCEPTION_HIERARCHY_REQUEST,
	GXML_DOM_EXCEPTION_WRONG_DOCUMENT,
	GXML_DOM_EXCEPTION_INVALID_CHARACTER,
	GXML_DOM_EXCEPTION_NO_DATA_ALLOWED,
	GXML_DOM_EXCEPTION_NO_MODIFICATION_ALLOWED,
	GXML_DOM_EXCEPTION_NOT_FOUND,
	GXML_DOM_EXCEPTION_NOT_SUPPORTED,
	GXML_DOM_EXCEPTION_INUSE_ATTRIBUTE,
	GXML_DOM_EXCEPTION_DOM,
	GXML_DOM_EXCEPTION_INVALID_DOC,
	GXML_DOM_EXCEPTION_INVALID_ROOT,
	GXML_DOM_EXCEPTION_NAMESPACE,
	GXML_DOM_EXCEPTION_X_OTHER
} GXmlDomException;

struct _GXmlNamedAttrMapIterator {
	GXmlAbstractNamedAttrMapIterator parent_instance;
	GXmlNamedAttrMapIteratorPrivate * priv;
};

struct _GXmlNamedAttrMapIteratorClass {
	GXmlAbstractNamedAttrMapIteratorClass parent_class;
};


static gpointer gxml_abstract_named_attr_map_parent_class = NULL;
static gpointer gxml_abstract_named_attr_map_entry_parent_class = NULL;
static gpointer gxml_abstract_named_attr_map_iterator_parent_class = NULL;
static GeeTraversableIface* gxml_abstract_named_attr_map_iterator_gee_traversable_parent_iface = NULL;
static GeeIteratorIface* gxml_abstract_named_attr_map_iterator_gee_iterator_parent_iface = NULL;
static GeeTraversableIface* gxml_abstract_named_attr_map_gee_traversable_parent_iface = NULL;
static GeeIterableIface* gxml_abstract_named_attr_map_gee_iterable_parent_iface = NULL;
static gpointer gxml_named_attr_map_parent_class = NULL;
static gpointer gxml_named_attr_map_iterator_parent_class = NULL;
static GeeMapIteratorIface* gxml_named_attr_map_iterator_gee_map_iterator_parent_iface = NULL;
static GeeMapIface* gxml_named_attr_map_gee_map_parent_iface = NULL;
static GXmlNamedNodeMapIface* gxml_named_attr_map_gxml_named_node_map_parent_iface = NULL;

GType gxml_abstract_named_attr_map_get_type (void) G_GNUC_CONST;
GType gxml_xnode_get_type (void) G_GNUC_CONST;
GType gxml_backed_node_get_type (void) G_GNUC_CONST;
GType gxml_xelement_get_type (void) G_GNUC_CONST;
enum  {
	GXML_ABSTRACT_NAMED_ATTR_MAP_DUMMY_PROPERTY
};
GXmlAbstractNamedAttrMap* gxml_abstract_named_attr_map_construct (GType object_type, GXmlxElement* e);
GType gxml_abstract_named_attr_map_entry_get_type (void) G_GNUC_CONST;
static GeeIterator* gxml_abstract_named_attr_map_real_iterator (GeeIterable* base);
GXmlAbstractNamedAttrMapIterator* gxml_abstract_named_attr_map_iterator_new (GXmlAbstractNamedAttrMap* nm);
GXmlAbstractNamedAttrMapIterator* gxml_abstract_named_attr_map_iterator_construct (GType object_type, GXmlAbstractNamedAttrMap* nm);
GType gxml_abstract_named_attr_map_iterator_get_type (void) G_GNUC_CONST;
static gboolean gxml_abstract_named_attr_map_real_foreach (GeeTraversable* base, GeeForallFunc f, void* f_target);
static GObject * gxml_abstract_named_attr_map_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
void gxml_init_init (void);
GType gxml_element_list_get_type (void) G_GNUC_CONST;
GType gxml_namespace_get_type (void) G_GNUC_CONST;
GType gxml_node_type_get_type (void) G_GNUC_CONST;
GType gxml_document_get_type (void) G_GNUC_CONST;
GType gxml_node_get_type (void) G_GNUC_CONST;
GType gxml_attribute_get_type (void) G_GNUC_CONST;
#define GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntryPrivate))
enum  {
	GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_DUMMY_PROPERTY,
	GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_KEY,
	GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_READ_ONLY,
	GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_VALUE
};
GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_entry_new (const gchar* k, GXmlAttribute* v);
GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_entry_construct (GType object_type, const gchar* k, GXmlAttribute* v);
static void gxml_abstract_named_attr_map_entry_finalize (GObject* obj);
static void _vala_gxml_abstract_named_attr_map_entry_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gxml_abstract_named_attr_map_entry_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
enum  {
	GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_DUMMY_PROPERTY,
	GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_READ_ONLY,
	GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_VALID
};
static gboolean gxml_abstract_named_attr_map_iterator_real_foreach (GeeTraversable* base, GeeForallFunc f, void* f_target);
static GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_iterator_real_get (GeeIterator* base);
GXmlDocument* gxml_node_get_document (GXmlNode* self);
GType gxml_xdocument_get_type (void) G_GNUC_CONST;
GXmlxAttr* gxml_xattr_new (xmlAttr* node, GXmlxDocument* doc);
GXmlxAttr* gxml_xattr_construct (GType object_type, xmlAttr* node, GXmlxDocument* doc);
GType gxml_xattr_get_type (void) G_GNUC_CONST;
static gboolean gxml_abstract_named_attr_map_iterator_real_has_next (GeeIterator* base);
GType gxml_namespace_attr_get_type (void) G_GNUC_CONST;
GType gxml_xnode_list_get_type (void) G_GNUC_CONST;
GType gxml_named_attr_map_get_type (void) G_GNUC_CONST;
GType gxml_abstract_namespace_attr_node_list_get_type (void) G_GNUC_CONST;
GType gxml_namespace_attr_node_list_get_type (void) G_GNUC_CONST;
static gboolean gxml_abstract_named_attr_map_iterator_real_next (GeeIterator* base);
static void gxml_abstract_named_attr_map_iterator_real_remove (GeeIterator* base);
static void gxml_abstract_named_attr_map_iterator_finalize (GObject* obj);
static void _vala_gxml_abstract_named_attr_map_iterator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void gxml_abstract_named_attr_map_finalize (GObject* obj);
GType gxml_named_node_map_get_type (void) G_GNUC_CONST;
enum  {
	GXML_NAMED_ATTR_MAP_DUMMY_PROPERTY,
	GXML_NAMED_ATTR_MAP_ENTRIES,
	GXML_NAMED_ATTR_MAP_KEYS,
	GXML_NAMED_ATTR_MAP_READ_ONLY,
	GXML_NAMED_ATTR_MAP_READ_ONLY_VIEW,
	GXML_NAMED_ATTR_MAP_SIZE,
	GXML_NAMED_ATTR_MAP_VALUES,
	GXML_NAMED_ATTR_MAP_LENGTH
};
GXmlNamedAttrMap* gxml_named_attr_map_new (GXmlxElement* e);
GXmlNamedAttrMap* gxml_named_attr_map_construct (GType object_type, GXmlxElement* e);
static void gxml_named_attr_map_real_clear (GeeMap* base);
gboolean gxml_named_attr_map_contains (GXmlNamedAttrMap* self, const gchar* key);
gboolean gxml_named_attr_map_contains_all (GXmlNamedAttrMap* self, GeeMap* map);
static GXmlAttribute* gxml_named_attr_map_real_get (GeeMap* base, const gchar* key);
static gboolean gxml_named_attr_map_real_has (GeeMap* base, const gchar* key, GXmlAttribute* value);
gchar* gxml_node_get_name (GXmlNode* self);
static gboolean gxml_named_attr_map_real_has_key (GeeMap* base, const gchar* key);
static GeeMapIterator* gxml_named_attr_map_real_map_iterator (GeeMap* base);
static GXmlNamedAttrMapIterator* gxml_named_attr_map_iterator_new (GXmlNamedAttrMap* m);
static GXmlNamedAttrMapIterator* gxml_named_attr_map_iterator_construct (GType object_type, GXmlNamedAttrMap* m);
static GType gxml_named_attr_map_iterator_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
gboolean gxml_named_attr_map_remove (GXmlNamedAttrMap* self, const gchar* key, GXmlAttribute** val);
gboolean gxml_named_attr_map_remove_all (GXmlNamedAttrMap* self, GeeMap* map);
static void gxml_named_attr_map_real_set (GeeMap* base, const gchar* key, GXmlAttribute* val);
gchar* gxml_node_get_value (GXmlNode* self);
static gboolean gxml_named_attr_map_real_unset (GeeMap* base, const gchar* key, GXmlAttribute** value);
static GXmlxAttr* gxml_named_attr_map_real_get_named_item (GXmlNamedNodeMap* base, const gchar* name);
GXmlxDocument* gxml_xnode_get_owner_document (GXmlxNode* self);
GXmlxAttr* gxml_xdocument_lookup_attr (GXmlxDocument* self, xmlAttr* xmlattr);
static GXmlxAttr* gxml_named_attr_map_real_set_named_item (GXmlNamedNodeMap* base, GXmlxAttr* gxml_attr_new);
gboolean gxml_xnode_check_read_only (GXmlxNode* self);
void gxml_xnode_check_wrong_document (GXmlxNode* self, GXmlxNode* node);
gpointer gxml_named_node_map_get_named_item (GXmlNamedNodeMap* self, const gchar* name);
const gchar* gxml_xnode_get_node_name (GXmlxNode* self);
GType gxml_child_node_list_get_type (void) G_GNUC_CONST;
GType gxml_attr_child_node_list_get_type (void) G_GNUC_CONST;
void gxml_backed_node_set_xmlnode (GXmlBackedNode* self, xmlNode* node, GXmlxDocument* owner);
const gchar* gxml_xnode_get_node_value (GXmlxNode* self);
static GXmlxAttr* gxml_named_attr_map_real_remove_named_item (GXmlNamedNodeMap* base, const gchar* name);
GType gxml_dom_exception_get_type (void) G_GNUC_CONST;
void gxml_warning (GXmlDomException ex, const gchar* message) G_GNUC_DEPRECATED;
static GXmlxAttr* gxml_named_attr_map_real_item (GXmlNamedNodeMap* base, gulong index);
enum  {
	GXML_NAMED_ATTR_MAP_ITERATOR_DUMMY_PROPERTY,
	GXML_NAMED_ATTR_MAP_ITERATOR_MUTABLE
};
static gchar* gxml_named_attr_map_iterator_real_get_key (GeeMapIterator* base);
static GXmlAttribute* gxml_named_attr_map_iterator_real_get_value (GeeMapIterator* base);
static void gxml_named_attr_map_iterator_real_set_value (GeeMapIterator* base, GXmlAttribute* val);
static void gxml_named_attr_map_iterator_real_unset (GeeMapIterator* base);
static void _vala_gxml_named_attr_map_iterator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
gulong gxml_named_node_map_get_length (GXmlNamedNodeMap* self);
static void _vala_gxml_named_attr_map_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
	return self ? g_object_ref (self) : NULL;
}


GXmlAbstractNamedAttrMap* gxml_abstract_named_attr_map_construct (GType object_type, GXmlxElement* e) {
	GXmlAbstractNamedAttrMap * self = NULL;
	GXmlxElement* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	g_return_val_if_fail (e != NULL, NULL);
	self = (GXmlAbstractNamedAttrMap*) g_object_new (object_type, NULL);
	_tmp0_ = e;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (self->elem);
	self->elem = _tmp1_;
	return self;
}


static GeeIterator* gxml_abstract_named_attr_map_real_iterator (GeeIterable* base) {
	GXmlAbstractNamedAttrMap * self;
	GeeIterator* result = NULL;
	GXmlAbstractNamedAttrMapIterator* _tmp0_ = NULL;
	self = (GXmlAbstractNamedAttrMap*) base;
	_tmp0_ = gxml_abstract_named_attr_map_iterator_new (self);
	result = (GeeIterator*) _tmp0_;
	return result;
}


static gboolean gxml_abstract_named_attr_map_real_foreach (GeeTraversable* base, GeeForallFunc f, void* f_target) {
	GXmlAbstractNamedAttrMap * self;
	gboolean result = FALSE;
	GXmlAbstractNamedAttrMapIterator* _tmp0_ = NULL;
	GXmlAbstractNamedAttrMapIterator* _tmp1_ = NULL;
	GeeForallFunc _tmp2_ = NULL;
	void* _tmp2__target = NULL;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	self = (GXmlAbstractNamedAttrMap*) base;
	_tmp0_ = gxml_abstract_named_attr_map_iterator_new (self);
	_tmp1_ = _tmp0_;
	_tmp2_ = f;
	_tmp2__target = f_target;
	_tmp3_ = gee_traversable_foreach ((GeeTraversable*) _tmp1_, _tmp2_, _tmp2__target);
	_tmp4_ = _tmp3_;
	_g_object_unref0 (_tmp1_);
	result = _tmp4_;
	return result;
}


static GObject * gxml_abstract_named_attr_map_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GXmlAbstractNamedAttrMap * self;
	parent_class = G_OBJECT_CLASS (gxml_abstract_named_attr_map_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, GXmlAbstractNamedAttrMap);
	gxml_init_init ();
	return obj;
}


GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_entry_construct (GType object_type, const gchar* k, GXmlAttribute* v) {
	GXmlAbstractNamedAttrMapEntry * self = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GXmlAttribute* _tmp2_ = NULL;
	g_return_val_if_fail (k != NULL, NULL);
	g_return_val_if_fail (v != NULL, NULL);
	self = (GXmlAbstractNamedAttrMapEntry*) gee_map_entry_construct (object_type, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GXML_TYPE_ATTRIBUTE, (GBoxedCopyFunc) g_object_ref, g_object_unref);
	_tmp0_ = k;
	_tmp1_ = g_strdup (_tmp0_);
	_g_free0 (self->priv->_key);
	self->priv->_key = _tmp1_;
	_tmp2_ = v;
	gee_map_entry_set_value ((GeeMapEntry*) self, _tmp2_);
	return self;
}


GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_entry_new (const gchar* k, GXmlAttribute* v) {
	return gxml_abstract_named_attr_map_entry_construct (GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, k, v);
}


static const gchar* gxml_abstract_named_attr_map_entry_real_get_key (GeeMapEntry* base) {
	const gchar* result;
	GXmlAbstractNamedAttrMapEntry* self;
	const gchar* _tmp0_ = NULL;
	self = (GXmlAbstractNamedAttrMapEntry*) base;
	_tmp0_ = self->priv->_key;
	result = _tmp0_;
	return result;
}


static gboolean gxml_abstract_named_attr_map_entry_real_get_read_only (GeeMapEntry* base) {
	gboolean result;
	GXmlAbstractNamedAttrMapEntry* self;
	self = (GXmlAbstractNamedAttrMapEntry*) base;
	result = TRUE;
	return result;
}


static GXmlAttribute* gxml_abstract_named_attr_map_entry_real_get_value (GeeMapEntry* base) {
	GXmlAttribute* result;
	GXmlAbstractNamedAttrMapEntry* self;
	GXmlAttribute* _tmp0_ = NULL;
	self = (GXmlAbstractNamedAttrMapEntry*) base;
	_tmp0_ = self->priv->_value;
	result = _tmp0_;
	return result;
}


static void gxml_abstract_named_attr_map_entry_real_set_value (GeeMapEntry* base, GXmlAttribute* value) {
	GXmlAbstractNamedAttrMapEntry* self;
	GXmlAttribute* _tmp0_ = NULL;
	GXmlAttribute* _tmp1_ = NULL;
	self = (GXmlAbstractNamedAttrMapEntry*) base;
	_tmp0_ = value;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (self->priv->_value);
	self->priv->_value = _tmp1_;
	g_object_notify ((GObject *) self, "value");
}


static void gxml_abstract_named_attr_map_entry_class_init (GXmlAbstractNamedAttrMapEntryClass * klass) {
	gxml_abstract_named_attr_map_entry_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (GXmlAbstractNamedAttrMapEntryPrivate));
	GEE_MAP_ENTRY_CLASS (klass)->get_key = gxml_abstract_named_attr_map_entry_real_get_key;
	GEE_MAP_ENTRY_CLASS (klass)->get_read_only = gxml_abstract_named_attr_map_entry_real_get_read_only;
	GEE_MAP_ENTRY_CLASS (klass)->get_value = gxml_abstract_named_attr_map_entry_real_get_value;
	GEE_MAP_ENTRY_CLASS (klass)->set_value = gxml_abstract_named_attr_map_entry_real_set_value;
	G_OBJECT_CLASS (klass)->get_property = _vala_gxml_abstract_named_attr_map_entry_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_gxml_abstract_named_attr_map_entry_set_property;
	G_OBJECT_CLASS (klass)->finalize = gxml_abstract_named_attr_map_entry_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_KEY, g_param_spec_string ("key", "key", "key", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_READ_ONLY, g_param_spec_boolean ("read-only", "read-only", "read-only", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_VALUE, g_param_spec_object ("value", "value", "value", GXML_TYPE_ATTRIBUTE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}


static void gxml_abstract_named_attr_map_entry_instance_init (GXmlAbstractNamedAttrMapEntry * self) {
	self->priv = GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_GET_PRIVATE (self);
}


static void gxml_abstract_named_attr_map_entry_finalize (GObject* obj) {
	GXmlAbstractNamedAttrMapEntry * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntry);
	_g_free0 (self->priv->_key);
	_g_object_unref0 (self->priv->_value);
	G_OBJECT_CLASS (gxml_abstract_named_attr_map_entry_parent_class)->finalize (obj);
}


GType gxml_abstract_named_attr_map_entry_get_type (void) {
	static volatile gsize gxml_abstract_named_attr_map_entry_type_id__volatile = 0;
	if (g_once_init_enter (&gxml_abstract_named_attr_map_entry_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GXmlAbstractNamedAttrMapEntryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gxml_abstract_named_attr_map_entry_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GXmlAbstractNamedAttrMapEntry), 0, (GInstanceInitFunc) gxml_abstract_named_attr_map_entry_instance_init, NULL };
		GType gxml_abstract_named_attr_map_entry_type_id;
		gxml_abstract_named_attr_map_entry_type_id = g_type_register_static (GEE_MAP_TYPE_ENTRY, "GXmlAbstractNamedAttrMapEntry", &g_define_type_info, 0);
		g_once_init_leave (&gxml_abstract_named_attr_map_entry_type_id__volatile, gxml_abstract_named_attr_map_entry_type_id);
	}
	return gxml_abstract_named_attr_map_entry_type_id__volatile;
}


static void _vala_gxml_abstract_named_attr_map_entry_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GXmlAbstractNamedAttrMapEntry * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntry);
	switch (property_id) {
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_KEY:
		g_value_set_string (value, gee_map_entry_get_key ((GeeMapEntry*) self));
		break;
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_READ_ONLY:
		g_value_set_boolean (value, gee_map_entry_get_read_only ((GeeMapEntry*) self));
		break;
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_VALUE:
		g_value_set_object (value, gee_map_entry_get_value ((GeeMapEntry*) self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


static void _vala_gxml_abstract_named_attr_map_entry_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GXmlAbstractNamedAttrMapEntry * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, GXmlAbstractNamedAttrMapEntry);
	switch (property_id) {
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ENTRY_VALUE:
		gee_map_entry_set_value ((GeeMapEntry*) self, g_value_get_object (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


GXmlAbstractNamedAttrMapIterator* gxml_abstract_named_attr_map_iterator_construct (GType object_type, GXmlAbstractNamedAttrMap* nm) {
	GXmlAbstractNamedAttrMapIterator * self = NULL;
	GXmlAbstractNamedAttrMap* _tmp0_ = NULL;
	GXmlAbstractNamedAttrMap* _tmp1_ = NULL;
	g_return_val_if_fail (nm != NULL, NULL);
	self = (GXmlAbstractNamedAttrMapIterator*) g_object_new (object_type, NULL);
	_tmp0_ = nm;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (self->nm);
	self->nm = _tmp1_;
	return self;
}


GXmlAbstractNamedAttrMapIterator* gxml_abstract_named_attr_map_iterator_new (GXmlAbstractNamedAttrMap* nm) {
	return gxml_abstract_named_attr_map_iterator_construct (GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, nm);
}


static gboolean gxml_abstract_named_attr_map_iterator_real_foreach (GeeTraversable* base, GeeForallFunc f, void* f_target) {
	GXmlAbstractNamedAttrMapIterator * self;
	gboolean result = FALSE;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	while (TRUE) {
		gboolean _tmp0_ = FALSE;
		GeeForallFunc _tmp1_ = NULL;
		void* _tmp1__target = NULL;
		gpointer _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		_tmp0_ = gee_iterator_next ((GeeIterator*) self);
		if (!_tmp0_) {
			break;
		}
		_tmp1_ = f;
		_tmp1__target = f_target;
		_tmp2_ = gee_iterator_get ((GeeIterator*) self);
		_tmp3_ = _tmp1_ ((GXmlAbstractNamedAttrMapEntry*) _tmp2_, _tmp1__target);
		if (!_tmp3_) {
			result = FALSE;
			return result;
		}
	}
	result = TRUE;
	return result;
}


static GXmlAbstractNamedAttrMapEntry* gxml_abstract_named_attr_map_iterator_real_get (GeeIterator* base) {
	GXmlAbstractNamedAttrMapIterator * self;
	GXmlAbstractNamedAttrMapEntry* result = NULL;
	gchar* k = NULL;
	gchar* _tmp0_ = NULL;
	xmlAttr* _tmp1_ = NULL;
	const gchar* _tmp5_ = NULL;
	xmlAttr* _tmp6_ = NULL;
	GXmlAbstractNamedAttrMap* _tmp7_ = NULL;
	GXmlxElement* _tmp8_ = NULL;
	GXmlDocument* _tmp9_ = NULL;
	GXmlDocument* _tmp10_ = NULL;
	GXmlxAttr* _tmp11_ = NULL;
	GXmlAttribute* _tmp12_ = NULL;
	GXmlAbstractNamedAttrMapEntry* _tmp13_ = NULL;
	GXmlAbstractNamedAttrMapEntry* _tmp14_ = NULL;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	_tmp0_ = g_strdup ("");
	k = _tmp0_;
	_tmp1_ = self->cur;
	if (_tmp1_ != NULL) {
		xmlAttr* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		_tmp2_ = self->cur;
		_tmp3_ = _tmp2_->name;
		_tmp4_ = g_strdup (_tmp3_);
		_g_free0 (k);
		k = _tmp4_;
	}
	_tmp5_ = k;
	_tmp6_ = self->cur;
	_tmp7_ = self->nm;
	_tmp8_ = _tmp7_->elem;
	_tmp9_ = gxml_node_get_document ((GXmlNode*) _tmp8_);
	_tmp10_ = _tmp9_;
	_tmp11_ = gxml_xattr_new (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GXML_TYPE_XDOCUMENT, GXmlxDocument));
	_tmp12_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GXML_TYPE_ATTRIBUTE, GXmlAttribute);
	_tmp13_ = gxml_abstract_named_attr_map_entry_new (_tmp5_, _tmp12_);
	_tmp14_ = _tmp13_;
	_g_object_unref0 (_tmp12_);
	result = _tmp14_;
	_g_free0 (k);
	return result;
}


static gboolean gxml_abstract_named_attr_map_iterator_real_has_next (GeeIterator* base) {
	GXmlAbstractNamedAttrMapIterator * self;
	gboolean result = FALSE;
	GXmlAbstractNamedAttrMap* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	xmlNode* _tmp2_ = NULL;
	GXmlAbstractNamedAttrMap* _tmp3_ = NULL;
	GXmlxElement* _tmp4_ = NULL;
	xmlNode* _tmp5_ = NULL;
	xmlAttr* _tmp6_ = NULL;
	xmlAttr* _tmp7_ = NULL;
	xmlAttr* _tmp8_ = NULL;
	xmlAttr* _tmp9_ = NULL;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	_tmp0_ = self->nm;
	_tmp1_ = _tmp0_->elem;
	_tmp2_ = ((GXmlBackedNode*) _tmp1_)->node;
	if (_tmp2_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp3_ = self->nm;
	_tmp4_ = _tmp3_->elem;
	_tmp5_ = ((GXmlBackedNode*) _tmp4_)->node;
	_tmp6_ = _tmp5_->properties;
	if (_tmp6_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp7_ = self->cur;
	if (_tmp7_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp8_ = self->cur;
	_tmp9_ = _tmp8_->next;
	if (_tmp9_ == NULL) {
		result = FALSE;
		return result;
	}
	result = TRUE;
	return result;
}


static gboolean gxml_abstract_named_attr_map_iterator_real_next (GeeIterator* base) {
	GXmlAbstractNamedAttrMapIterator * self;
	gboolean result = FALSE;
	xmlAttr* _tmp0_ = NULL;
	gboolean _tmp12_ = FALSE;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	_tmp0_ = self->cur;
	if (_tmp0_ == NULL) {
		GXmlAbstractNamedAttrMap* _tmp1_ = NULL;
		GXmlxElement* _tmp2_ = NULL;
		xmlNode* _tmp3_ = NULL;
		GXmlAbstractNamedAttrMap* _tmp4_ = NULL;
		GXmlxElement* _tmp5_ = NULL;
		xmlNode* _tmp6_ = NULL;
		xmlAttr* _tmp7_ = NULL;
		GXmlAbstractNamedAttrMap* _tmp8_ = NULL;
		GXmlxElement* _tmp9_ = NULL;
		xmlNode* _tmp10_ = NULL;
		xmlAttr* _tmp11_ = NULL;
		_tmp1_ = self->nm;
		_tmp2_ = _tmp1_->elem;
		_tmp3_ = ((GXmlBackedNode*) _tmp2_)->node;
		if (_tmp3_ == NULL) {
			result = FALSE;
			return result;
		}
		_tmp4_ = self->nm;
		_tmp5_ = _tmp4_->elem;
		_tmp6_ = ((GXmlBackedNode*) _tmp5_)->node;
		_tmp7_ = _tmp6_->properties;
		if (_tmp7_ == NULL) {
			result = FALSE;
			return result;
		}
		_tmp8_ = self->nm;
		_tmp9_ = _tmp8_->elem;
		_tmp10_ = ((GXmlBackedNode*) _tmp9_)->node;
		_tmp11_ = _tmp10_->properties;
		self->cur = _tmp11_;
		result = TRUE;
		return result;
	}
	_tmp12_ = gee_iterator_has_next ((GeeIterator*) self);
	if (_tmp12_) {
		xmlAttr* _tmp13_ = NULL;
		xmlAttr* _tmp14_ = NULL;
		_tmp13_ = self->cur;
		_tmp14_ = _tmp13_->next;
		self->cur = _tmp14_;
		result = TRUE;
		return result;
	}
	result = FALSE;
	return result;
}


static void gxml_abstract_named_attr_map_iterator_real_remove (GeeIterator* base) {
	GXmlAbstractNamedAttrMapIterator * self;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GXmlAbstractNamedAttrMap* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	xmlNode* _tmp4_ = NULL;
	xmlAttr* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	_tmp0_ = gee_iterator_get_valid ((GeeIterator*) self);
	_tmp1_ = _tmp0_;
	if (!_tmp1_) {
		return;
	}
	_tmp2_ = self->nm;
	_tmp3_ = _tmp2_->elem;
	_tmp4_ = ((GXmlBackedNode*) _tmp3_)->node;
	_tmp5_ = self->cur;
	_tmp6_ = _tmp5_->name;
	xmlUnsetProp (_tmp4_, (xmlChar*) _tmp6_);
}


static gboolean gxml_abstract_named_attr_map_iterator_real_get_read_only (GeeIterator* base) {
	gboolean result;
	GXmlAbstractNamedAttrMapIterator* self;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	result = FALSE;
	return result;
}


static gboolean gxml_abstract_named_attr_map_iterator_real_get_valid (GeeIterator* base) {
	gboolean result;
	GXmlAbstractNamedAttrMapIterator* self;
	GXmlAbstractNamedAttrMap* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	xmlNode* _tmp2_ = NULL;
	GXmlAbstractNamedAttrMap* _tmp3_ = NULL;
	GXmlxElement* _tmp4_ = NULL;
	xmlNode* _tmp5_ = NULL;
	xmlAttr* _tmp6_ = NULL;
	xmlAttr* _tmp7_ = NULL;
	self = (GXmlAbstractNamedAttrMapIterator*) base;
	_tmp0_ = self->nm;
	_tmp1_ = _tmp0_->elem;
	_tmp2_ = ((GXmlBackedNode*) _tmp1_)->node;
	if (_tmp2_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp3_ = self->nm;
	_tmp4_ = _tmp3_->elem;
	_tmp5_ = ((GXmlBackedNode*) _tmp4_)->node;
	_tmp6_ = _tmp5_->properties;
	if (_tmp6_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp7_ = self->cur;
	if (_tmp7_ == NULL) {
		result = FALSE;
		return result;
	}
	result = TRUE;
	return result;
}


static void gxml_abstract_named_attr_map_iterator_class_init (GXmlAbstractNamedAttrMapIteratorClass * klass) {
	gxml_abstract_named_attr_map_iterator_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->get_property = _vala_gxml_abstract_named_attr_map_iterator_get_property;
	G_OBJECT_CLASS (klass)->finalize = gxml_abstract_named_attr_map_iterator_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_READ_ONLY, g_param_spec_boolean ("read-only", "read-only", "read-only", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_VALID, g_param_spec_boolean ("valid", "valid", "valid", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}


static GType gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_type (GXmlAbstractNamedAttrMapIterator* self) {
	return GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY;
}


static GBoxedCopyFunc gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_dup_func (GXmlAbstractNamedAttrMapIterator* self) {
	return g_object_ref;
}


static GDestroyNotify gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_destroy_func (GXmlAbstractNamedAttrMapIterator* self) {
	return g_object_unref;
}


static void gxml_abstract_named_attr_map_iterator_gee_traversable_interface_init (GeeTraversableIface * iface) {
	gxml_abstract_named_attr_map_iterator_gee_traversable_parent_iface = g_type_interface_peek_parent (iface);
	iface->foreach = (gboolean (*)(GeeTraversable*, GeeForallFunc, void*)) gxml_abstract_named_attr_map_iterator_real_foreach;
	iface->get_g_type = (GType(*)(GeeTraversable*)) gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_type;
	iface->get_g_dup_func = (GBoxedCopyFunc(*)(GeeTraversable*)) gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_dup_func;
	iface->get_g_destroy_func = (GDestroyNotify(*)(GeeTraversable*)) gxml_abstract_named_attr_map_iterator_gee_traversable_get_g_destroy_func;
}


static void gxml_abstract_named_attr_map_iterator_gee_iterator_interface_init (GeeIteratorIface * iface) {
	gxml_abstract_named_attr_map_iterator_gee_iterator_parent_iface = g_type_interface_peek_parent (iface);
	iface->get = (gpointer (*)(GeeIterator*)) gxml_abstract_named_attr_map_iterator_real_get;
	iface->has_next = (gboolean (*)(GeeIterator*)) gxml_abstract_named_attr_map_iterator_real_has_next;
	iface->next = (gboolean (*)(GeeIterator*)) gxml_abstract_named_attr_map_iterator_real_next;
	iface->remove = (void (*)(GeeIterator*)) gxml_abstract_named_attr_map_iterator_real_remove;
	iface->get_read_only = gxml_abstract_named_attr_map_iterator_real_get_read_only;
	iface->get_valid = gxml_abstract_named_attr_map_iterator_real_get_valid;
}


static void gxml_abstract_named_attr_map_iterator_instance_init (GXmlAbstractNamedAttrMapIterator * self) {
	self->cur = NULL;
}


static void gxml_abstract_named_attr_map_iterator_finalize (GObject* obj) {
	GXmlAbstractNamedAttrMapIterator * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlAbstractNamedAttrMapIterator);
	_g_object_unref0 (self->nm);
	G_OBJECT_CLASS (gxml_abstract_named_attr_map_iterator_parent_class)->finalize (obj);
}


GType gxml_abstract_named_attr_map_iterator_get_type (void) {
	static volatile gsize gxml_abstract_named_attr_map_iterator_type_id__volatile = 0;
	if (g_once_init_enter (&gxml_abstract_named_attr_map_iterator_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GXmlAbstractNamedAttrMapIteratorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gxml_abstract_named_attr_map_iterator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GXmlAbstractNamedAttrMapIterator), 0, (GInstanceInitFunc) gxml_abstract_named_attr_map_iterator_instance_init, NULL };
		static const GInterfaceInfo gee_traversable_info = { (GInterfaceInitFunc) gxml_abstract_named_attr_map_iterator_gee_traversable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gee_iterator_info = { (GInterfaceInitFunc) gxml_abstract_named_attr_map_iterator_gee_iterator_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gxml_abstract_named_attr_map_iterator_type_id;
		gxml_abstract_named_attr_map_iterator_type_id = g_type_register_static (G_TYPE_OBJECT, "GXmlAbstractNamedAttrMapIterator", &g_define_type_info, 0);
		g_type_add_interface_static (gxml_abstract_named_attr_map_iterator_type_id, GEE_TYPE_TRAVERSABLE, &gee_traversable_info);
		g_type_add_interface_static (gxml_abstract_named_attr_map_iterator_type_id, GEE_TYPE_ITERATOR, &gee_iterator_info);
		g_once_init_leave (&gxml_abstract_named_attr_map_iterator_type_id__volatile, gxml_abstract_named_attr_map_iterator_type_id);
	}
	return gxml_abstract_named_attr_map_iterator_type_id__volatile;
}


static void _vala_gxml_abstract_named_attr_map_iterator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GXmlAbstractNamedAttrMapIterator * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlAbstractNamedAttrMapIterator);
	switch (property_id) {
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_READ_ONLY:
		g_value_set_boolean (value, gee_iterator_get_read_only ((GeeIterator*) self));
		break;
		case GXML_ABSTRACT_NAMED_ATTR_MAP_ITERATOR_VALID:
		g_value_set_boolean (value, gee_iterator_get_valid ((GeeIterator*) self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


static void gxml_abstract_named_attr_map_class_init (GXmlAbstractNamedAttrMapClass * klass) {
	gxml_abstract_named_attr_map_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->constructor = gxml_abstract_named_attr_map_constructor;
	G_OBJECT_CLASS (klass)->finalize = gxml_abstract_named_attr_map_finalize;
}


static GType gxml_abstract_named_attr_map_gee_traversable_get_g_type (GXmlAbstractNamedAttrMap* self) {
	return GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY;
}


static GBoxedCopyFunc gxml_abstract_named_attr_map_gee_traversable_get_g_dup_func (GXmlAbstractNamedAttrMap* self) {
	return g_object_ref;
}


static GDestroyNotify gxml_abstract_named_attr_map_gee_traversable_get_g_destroy_func (GXmlAbstractNamedAttrMap* self) {
	return g_object_unref;
}


static void gxml_abstract_named_attr_map_gee_traversable_interface_init (GeeTraversableIface * iface) {
	gxml_abstract_named_attr_map_gee_traversable_parent_iface = g_type_interface_peek_parent (iface);
	iface->foreach = (gboolean (*)(GeeTraversable*, GeeForallFunc, void*)) gxml_abstract_named_attr_map_real_foreach;
	iface->get_g_type = (GType(*)(GeeTraversable*)) gxml_abstract_named_attr_map_gee_traversable_get_g_type;
	iface->get_g_dup_func = (GBoxedCopyFunc(*)(GeeTraversable*)) gxml_abstract_named_attr_map_gee_traversable_get_g_dup_func;
	iface->get_g_destroy_func = (GDestroyNotify(*)(GeeTraversable*)) gxml_abstract_named_attr_map_gee_traversable_get_g_destroy_func;
}


static GType gxml_abstract_named_attr_map_gee_iterable_get_g_type (GXmlAbstractNamedAttrMap* self) {
	return GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY;
}


static GBoxedCopyFunc gxml_abstract_named_attr_map_gee_iterable_get_g_dup_func (GXmlAbstractNamedAttrMap* self) {
	return g_object_ref;
}


static GDestroyNotify gxml_abstract_named_attr_map_gee_iterable_get_g_destroy_func (GXmlAbstractNamedAttrMap* self) {
	return g_object_unref;
}


static void gxml_abstract_named_attr_map_gee_iterable_interface_init (GeeIterableIface * iface) {
	gxml_abstract_named_attr_map_gee_iterable_parent_iface = g_type_interface_peek_parent (iface);
	iface->iterator = (GeeIterator* (*)(GeeIterable*)) gxml_abstract_named_attr_map_real_iterator;
	iface->get_g_type = (GType(*)(GeeIterable*)) gxml_abstract_named_attr_map_gee_iterable_get_g_type;
	iface->get_g_dup_func = (GBoxedCopyFunc(*)(GeeIterable*)) gxml_abstract_named_attr_map_gee_iterable_get_g_dup_func;
	iface->get_g_destroy_func = (GDestroyNotify(*)(GeeIterable*)) gxml_abstract_named_attr_map_gee_iterable_get_g_destroy_func;
}


static void gxml_abstract_named_attr_map_instance_init (GXmlAbstractNamedAttrMap * self) {
}


static void gxml_abstract_named_attr_map_finalize (GObject* obj) {
	GXmlAbstractNamedAttrMap * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, GXmlAbstractNamedAttrMap);
	_g_object_unref0 (self->elem);
	G_OBJECT_CLASS (gxml_abstract_named_attr_map_parent_class)->finalize (obj);
}


/**
 * An abstract class used as base class for {@link GXml.NamedAttrMap} class.
 * 
 * This is just an auxiliary class to implement {@link Gee.Traversable}
 * {@link Gee.Iterable} interfaces.
 */
GType gxml_abstract_named_attr_map_get_type (void) {
	static volatile gsize gxml_abstract_named_attr_map_type_id__volatile = 0;
	if (g_once_init_enter (&gxml_abstract_named_attr_map_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GXmlAbstractNamedAttrMapClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gxml_abstract_named_attr_map_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GXmlAbstractNamedAttrMap), 0, (GInstanceInitFunc) gxml_abstract_named_attr_map_instance_init, NULL };
		static const GInterfaceInfo gee_traversable_info = { (GInterfaceInitFunc) gxml_abstract_named_attr_map_gee_traversable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gee_iterable_info = { (GInterfaceInitFunc) gxml_abstract_named_attr_map_gee_iterable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gxml_abstract_named_attr_map_type_id;
		gxml_abstract_named_attr_map_type_id = g_type_register_static (G_TYPE_OBJECT, "GXmlAbstractNamedAttrMap", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_type_add_interface_static (gxml_abstract_named_attr_map_type_id, GEE_TYPE_TRAVERSABLE, &gee_traversable_info);
		g_type_add_interface_static (gxml_abstract_named_attr_map_type_id, GEE_TYPE_ITERABLE, &gee_iterable_info);
		g_once_init_leave (&gxml_abstract_named_attr_map_type_id__volatile, gxml_abstract_named_attr_map_type_id);
	}
	return gxml_abstract_named_attr_map_type_id__volatile;
}


GXmlNamedAttrMap* gxml_named_attr_map_construct (GType object_type, GXmlxElement* e) {
	GXmlNamedAttrMap * self = NULL;
	GXmlxElement* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	GXmlxElement* _tmp2_ = NULL;
	g_return_val_if_fail (e != NULL, NULL);
	_tmp0_ = e;
	self = (GXmlNamedAttrMap*) gxml_abstract_named_attr_map_construct (object_type, _tmp0_);
	_tmp1_ = e;
	_tmp2_ = _g_object_ref0 (_tmp1_);
	_g_object_unref0 (((GXmlAbstractNamedAttrMap*) self)->elem);
	((GXmlAbstractNamedAttrMap*) self)->elem = _tmp2_;
	return self;
}


GXmlNamedAttrMap* gxml_named_attr_map_new (GXmlxElement* e) {
	return gxml_named_attr_map_construct (GXML_TYPE_NAMED_ATTR_MAP, e);
}


static void gxml_named_attr_map_real_clear (GeeMap* base) {
	GXmlNamedAttrMap * self;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	if (_tmp1_ == NULL) {
		return;
	}
	{
		GeeIterator* _key_it = NULL;
		GeeSet* _tmp2_ = NULL;
		GeeSet* _tmp3_ = NULL;
		GeeSet* _tmp4_ = NULL;
		GeeIterator* _tmp5_ = NULL;
		GeeIterator* _tmp6_ = NULL;
		_tmp2_ = gee_map_get_keys ((GeeMap*) self);
		_tmp3_ = _tmp2_;
		_tmp4_ = _tmp3_;
		_tmp5_ = gee_iterable_iterator ((GeeIterable*) _tmp4_);
		_tmp6_ = _tmp5_;
		_g_object_unref0 (_tmp4_);
		_key_it = _tmp6_;
		while (TRUE) {
			GeeIterator* _tmp7_ = NULL;
			gboolean _tmp8_ = FALSE;
			gchar* key = NULL;
			GeeIterator* _tmp9_ = NULL;
			gpointer _tmp10_ = NULL;
			GXmlxElement* _tmp11_ = NULL;
			xmlNode* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			_tmp7_ = _key_it;
			_tmp8_ = gee_iterator_next (_tmp7_);
			if (!_tmp8_) {
				break;
			}
			_tmp9_ = _key_it;
			_tmp10_ = gee_iterator_get (_tmp9_);
			key = (gchar*) _tmp10_;
			_tmp11_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
			_tmp12_ = ((GXmlBackedNode*) _tmp11_)->node;
			_tmp13_ = key;
			xmlUnsetProp (_tmp12_, (xmlChar*) _tmp13_);
			_g_free0 (key);
		}
		_g_object_unref0 (_key_it);
	}
}


gboolean gxml_named_attr_map_contains (GXmlNamedAttrMap* self, const gchar* key) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (key != NULL, FALSE);
	_tmp0_ = key;
	_tmp1_ = gee_map_has_key ((GeeMap*) self, _tmp0_);
	result = _tmp1_;
	return result;
}


gboolean gxml_named_attr_map_contains_all (GXmlNamedAttrMap* self, GeeMap* map) {
	gboolean result = FALSE;
	GeeMap* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (map != NULL, FALSE);
	_tmp0_ = map;
	_tmp1_ = gee_map_has_all ((GeeMap*) self, _tmp0_);
	result = _tmp1_;
	return result;
}


static GXmlAttribute* gxml_named_attr_map_real_get (GeeMap* base, const gchar* key) {
	GXmlNamedAttrMap * self;
	GXmlAttribute* result = NULL;
	GXmlxElement* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	xmlNode* _tmp2_ = NULL;
	xmlAttr* at = NULL;
	GXmlxElement* _tmp3_ = NULL;
	xmlNode* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	xmlAttr* _tmp6_ = NULL;
	xmlAttr* _tmp7_ = NULL;
	xmlAttr* _tmp8_ = NULL;
	GXmlxElement* _tmp9_ = NULL;
	GXmlDocument* _tmp10_ = NULL;
	GXmlDocument* _tmp11_ = NULL;
	GXmlxAttr* _tmp12_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (key != NULL, NULL);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_vala_return_val_if_fail (_tmp0_ != NULL, "elem != null", NULL);
	_tmp1_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp2_ = ((GXmlBackedNode*) _tmp1_)->node;
	_vala_return_val_if_fail (_tmp2_ != NULL, "elem.node != null", NULL);
	_tmp3_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp4_ = ((GXmlBackedNode*) _tmp3_)->node;
	_tmp5_ = key;
	_tmp6_ = xmlHasProp (_tmp4_, (xmlChar*) _tmp5_);
	at = _tmp6_;
	_tmp7_ = at;
	if (_tmp7_ == NULL) {
		result = NULL;
		return result;
	}
	_tmp8_ = at;
	_tmp9_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp10_ = gxml_node_get_document ((GXmlNode*) _tmp9_);
	_tmp11_ = _tmp10_;
	_tmp12_ = gxml_xattr_new (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GXML_TYPE_XDOCUMENT, GXmlxDocument));
	result = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GXML_TYPE_ATTRIBUTE, GXmlAttribute);
	return result;
}


static gboolean gxml_named_attr_map_real_has (GeeMap* base, const gchar* key, GXmlAttribute* value) {
	GXmlNamedAttrMap * self;
	gboolean result = FALSE;
	xmlAttr* at = NULL;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	xmlAttr* _tmp3_ = NULL;
	xmlAttr* _tmp4_ = NULL;
	xmlAttr* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	GXmlAttribute* _tmp7_ = NULL;
	gchar* _tmp8_ = NULL;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_ = NULL;
	gboolean _tmp11_ = FALSE;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (key != NULL, FALSE);
	g_return_val_if_fail (value != NULL, FALSE);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = key;
	_tmp3_ = xmlHasProp (_tmp1_, (xmlChar*) _tmp2_);
	at = _tmp3_;
	_tmp4_ = at;
	if (_tmp4_ == NULL) {
		result = FALSE;
		return result;
	}
	_tmp5_ = at;
	_tmp6_ = _tmp5_->name;
	_tmp7_ = value;
	_tmp8_ = gxml_node_get_name ((GXmlNode*) _tmp7_);
	_tmp9_ = _tmp8_;
	_tmp10_ = _tmp9_;
	_tmp11_ = g_strcmp0 (_tmp6_, _tmp10_) == 0;
	_g_free0 (_tmp10_);
	if (_tmp11_) {
		result = TRUE;
		return result;
	}
	result = FALSE;
	return result;
}


static gboolean gxml_named_attr_map_real_has_key (GeeMap* base, const gchar* key) {
	GXmlNamedAttrMap * self;
	gboolean result = FALSE;
	xmlAttr* at = NULL;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	xmlAttr* _tmp3_ = NULL;
	xmlAttr* _tmp4_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (key != NULL, FALSE);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = key;
	_tmp3_ = xmlHasProp (_tmp1_, (xmlChar*) _tmp2_);
	at = _tmp3_;
	_tmp4_ = at;
	if (_tmp4_ == NULL) {
		result = FALSE;
		return result;
	}
	result = TRUE;
	return result;
}


static GeeMapIterator* gxml_named_attr_map_real_map_iterator (GeeMap* base) {
	GXmlNamedAttrMap * self;
	GeeMapIterator* result = NULL;
	GXmlNamedAttrMapIterator* _tmp0_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = gxml_named_attr_map_iterator_new (self);
	result = (GeeMapIterator*) _tmp0_;
	return result;
}


gboolean gxml_named_attr_map_remove (GXmlNamedAttrMap* self, const gchar* key, GXmlAttribute** val) {
	GXmlAttribute* _vala_val = NULL;
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	gpointer _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (key != NULL, FALSE);
	_tmp0_ = key;
	_tmp2_ = gee_map_unset ((GeeMap*) self, _tmp0_, &_tmp1_);
	_g_object_unref0 (_vala_val);
	_vala_val = _tmp1_;
	result = _tmp2_;
	if (val) {
		*val = _vala_val;
	} else {
		_g_object_unref0 (_vala_val);
	}
	return result;
}


gboolean gxml_named_attr_map_remove_all (GXmlNamedAttrMap* self, GeeMap* map) {
	gboolean result = FALSE;
	GeeMap* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (map != NULL, FALSE);
	_tmp0_ = map;
	_tmp1_ = gee_map_unset_all ((GeeMap*) self, _tmp0_);
	result = _tmp1_;
	return result;
}


static void gxml_named_attr_map_real_set (GeeMap* base, const gchar* key, GXmlAttribute* val) {
	GXmlNamedAttrMap * self;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GXmlAttribute* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	g_return_if_fail (key != NULL);
	g_return_if_fail (val != NULL);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = key;
	_tmp3_ = val;
	_tmp4_ = gxml_node_get_value ((GXmlNode*) _tmp3_);
	_tmp5_ = _tmp4_;
	_tmp6_ = _tmp5_;
	xmlSetProp (_tmp1_, (xmlChar*) _tmp2_, (xmlChar*) _tmp6_);
	_g_free0 (_tmp6_);
}


static gboolean gxml_named_attr_map_real_unset (GeeMap* base, const gchar* key, GXmlAttribute** value) {
	GXmlNamedAttrMap * self;
	GXmlAttribute* _vala_value = NULL;
	gboolean result = FALSE;
	gint r = 0;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	gint _tmp4_ = 0;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (key != NULL, FALSE);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = key;
	_tmp3_ = xmlUnsetProp (_tmp1_, (xmlChar*) _tmp2_);
	r = _tmp3_;
	_tmp4_ = r;
	if (_tmp4_ != 0) {
		result = FALSE;
		if (value) {
			*value = _vala_value;
		} else {
			_g_object_unref0 (_vala_value);
		}
		return result;
	}
	result = TRUE;
	if (value) {
		*value = _vala_value;
	} else {
		_g_object_unref0 (_vala_value);
	}
	return result;
}


static GXmlxAttr* gxml_named_attr_map_real_get_named_item (GXmlNamedNodeMap* base, const gchar* name) {
	GXmlNamedAttrMap * self;
	GXmlxAttr* result = NULL;
	xmlAttr* prop = NULL;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	xmlAttr* _tmp3_ = NULL;
	GXmlxElement* _tmp4_ = NULL;
	GXmlxDocument* _tmp5_ = NULL;
	GXmlxDocument* _tmp6_ = NULL;
	GXmlxAttr* _tmp7_ = NULL;
	GXmlxAttr* _tmp8_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = name;
	_tmp3_ = xmlHasProp (_tmp1_, (xmlChar*) _tmp2_);
	prop = _tmp3_;
	_tmp4_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp5_ = gxml_xnode_get_owner_document ((GXmlxNode*) _tmp4_);
	_tmp6_ = _tmp5_;
	_tmp7_ = gxml_xdocument_lookup_attr (_tmp6_, prop);
	_tmp8_ = _g_object_ref0 (_tmp7_);
	result = _tmp8_;
	return result;
}


static GXmlxAttr* gxml_named_attr_map_real_set_named_item (GXmlNamedNodeMap* base, GXmlxAttr* gxml_attr_new) {
	GXmlNamedAttrMap * self;
	GXmlxAttr* result = NULL;
	xmlNode* xml_elem = NULL;
	xmlAttr* xml_prop_old = NULL;
	xmlAttr* xml_prop_new = NULL;
	GXmlxAttr* gxml_attr_old = NULL;
	GXmlxElement* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	GXmlxAttr* _tmp2_ = NULL;
	GXmlxElement* _tmp3_ = NULL;
	xmlNode* _tmp4_ = NULL;
	GXmlxAttr* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gpointer _tmp8_ = NULL;
	GXmlxAttr* _tmp9_ = NULL;
	xmlNode* _tmp18_ = NULL;
	GXmlxAttr* _tmp19_ = NULL;
	const gchar* _tmp20_ = NULL;
	const gchar* _tmp21_ = NULL;
	GXmlxAttr* _tmp22_ = NULL;
	const gchar* _tmp23_ = NULL;
	const gchar* _tmp24_ = NULL;
	xmlAttr* _tmp25_ = NULL;
	GXmlxAttr* _tmp26_ = NULL;
	GXmlxAttr* _tmp27_ = NULL;
	GXmlxDocument* _tmp28_ = NULL;
	GXmlxDocument* _tmp29_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	gxml_xnode_check_read_only ((GXmlxNode*) _tmp0_);
	_tmp1_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp2_ = gxml_attr_new;
	gxml_xnode_check_wrong_document ((GXmlxNode*) _tmp1_, (GXmlxNode*) _tmp2_);
	_tmp3_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp4_ = ((GXmlBackedNode*) _tmp3_)->node;
	xml_elem = _tmp4_;
	_tmp5_ = gxml_attr_new;
	_tmp6_ = gxml_xnode_get_node_name ((GXmlxNode*) _tmp5_);
	_tmp7_ = _tmp6_;
	_tmp8_ = gxml_named_node_map_get_named_item ((GXmlNamedNodeMap*) self, _tmp7_);
	_g_object_unref0 (gxml_attr_old);
	gxml_attr_old = (GXmlxAttr*) _tmp8_;
	_tmp9_ = gxml_attr_old;
	if (_tmp9_ != NULL) {
		GXmlxAttr* _tmp10_ = NULL;
		xmlAttr* _tmp11_ = NULL;
		xmlNode* _tmp12_ = NULL;
		GXmlxAttr* _tmp13_ = NULL;
		xmlAttr* _tmp14_ = NULL;
		GXmlxAttr* _tmp15_ = NULL;
		GXmlxDocument* _tmp16_ = NULL;
		GXmlxDocument* _tmp17_ = NULL;
		_tmp10_ = gxml_attr_old;
		_tmp11_ = _tmp10_->node;
		_tmp12_ = xmlCopyNode ((xmlNode*) _tmp11_, 1);
		xml_prop_old = (xmlAttr*) _tmp12_;
		_tmp13_ = gxml_attr_old;
		_tmp14_ = xml_prop_old;
		_tmp15_ = gxml_attr_old;
		_tmp16_ = gxml_xnode_get_owner_document ((GXmlxNode*) _tmp15_);
		_tmp17_ = _tmp16_;
		gxml_backed_node_set_xmlnode ((GXmlBackedNode*) _tmp13_, (xmlNode*) _tmp14_, _tmp17_);
	}
	_tmp18_ = xml_elem;
	_tmp19_ = gxml_attr_new;
	_tmp20_ = gxml_xnode_get_node_name ((GXmlxNode*) _tmp19_);
	_tmp21_ = _tmp20_;
	_tmp22_ = gxml_attr_new;
	_tmp23_ = gxml_xnode_get_node_value ((GXmlxNode*) _tmp22_);
	_tmp24_ = _tmp23_;
	_tmp25_ = xmlSetProp (_tmp18_, (xmlChar*) _tmp21_, (xmlChar*) _tmp24_);
	xml_prop_new = _tmp25_;
	_tmp26_ = gxml_attr_new;
	_tmp27_ = gxml_attr_new;
	_tmp28_ = gxml_xnode_get_owner_document ((GXmlxNode*) _tmp27_);
	_tmp29_ = _tmp28_;
	gxml_backed_node_set_xmlnode ((GXmlBackedNode*) _tmp26_, (xmlNode*) xml_prop_new, _tmp29_);
	result = gxml_attr_old;
	return result;
}


static GXmlxAttr* gxml_named_attr_map_real_remove_named_item (GXmlNamedNodeMap* base, const gchar* name) {
	GXmlNamedAttrMap * self;
	GXmlxAttr* result = NULL;
	GXmlxAttr* gxml_attr_old = NULL;
	xmlAttr* xml_prop_old = NULL;
	xmlNode* xml_elem = NULL;
	const gchar* _tmp0_ = NULL;
	gpointer _tmp1_ = NULL;
	GXmlxAttr* _tmp2_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = name;
	_tmp1_ = gxml_named_node_map_get_named_item ((GXmlNamedNodeMap*) self, _tmp0_);
	_g_object_unref0 (gxml_attr_old);
	gxml_attr_old = (GXmlxAttr*) _tmp1_;
	_tmp2_ = gxml_attr_old;
	if (_tmp2_ == NULL) {
		const gchar* _tmp3_ = NULL;
		GXmlxElement* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		_tmp3_ = name;
		_tmp4_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
		_tmp5_ = gxml_xnode_get_node_name ((GXmlxNode*) _tmp4_);
		_tmp6_ = _tmp5_;
		_tmp7_ = g_strdup_printf ("No child with name '%s' exists in node '%s'", _tmp3_, _tmp6_);
		_tmp8_ = _tmp7_;
		gxml_warning (GXML_DOM_EXCEPTION_NOT_FOUND, _tmp8_);
		_g_free0 (_tmp8_);
		result = NULL;
		_g_object_unref0 (gxml_attr_old);
		return result;
	} else {
		GXmlxElement* _tmp9_ = NULL;
		xmlNode* _tmp10_ = NULL;
		GXmlxAttr* _tmp11_ = NULL;
		xmlAttr* _tmp12_ = NULL;
		xmlNode* _tmp13_ = NULL;
		GXmlxAttr* _tmp14_ = NULL;
		xmlAttr* _tmp15_ = NULL;
		GXmlxAttr* _tmp16_ = NULL;
		GXmlxDocument* _tmp17_ = NULL;
		GXmlxDocument* _tmp18_ = NULL;
		xmlNode* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
		xmlAttr* _tmp21_ = NULL;
		_tmp9_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
		_tmp10_ = ((GXmlBackedNode*) _tmp9_)->node;
		xml_elem = _tmp10_;
		_tmp11_ = gxml_attr_old;
		_tmp12_ = _tmp11_->node;
		_tmp13_ = xmlCopyNode ((xmlNode*) _tmp12_, 1);
		xml_prop_old = (xmlAttr*) _tmp13_;
		_tmp14_ = gxml_attr_old;
		_tmp15_ = xml_prop_old;
		_tmp16_ = gxml_attr_old;
		_tmp17_ = gxml_xnode_get_owner_document ((GXmlxNode*) _tmp16_);
		_tmp18_ = _tmp17_;
		gxml_backed_node_set_xmlnode ((GXmlBackedNode*) _tmp14_, (xmlNode*) _tmp15_, _tmp18_);
		_tmp19_ = xml_elem;
		_tmp20_ = name;
		_tmp21_ = xmlHasProp (_tmp19_, (xmlChar*) _tmp20_);
		xmlRemoveProp (_tmp21_);
		result = gxml_attr_old;
		return result;
	}
	_g_object_unref0 (gxml_attr_old);
}


static GXmlxAttr* gxml_named_attr_map_real_item (GXmlNamedNodeMap* base, gulong index) {
	GXmlNamedAttrMap * self;
	GXmlxAttr* result = NULL;
	xmlAttr* attr = NULL;
	GXmlxElement* _tmp0_ = NULL;
	xmlNode* _tmp1_ = NULL;
	xmlAttr* _tmp2_ = NULL;
	xmlAttr* _tmp11_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
	_tmp2_ = _tmp1_->properties;
	attr = _tmp2_;
	{
		gint i = 0;
		i = 0;
		{
			gboolean _tmp3_ = FALSE;
			_tmp3_ = TRUE;
			while (TRUE) {
				gboolean _tmp5_ = FALSE;
				gint _tmp6_ = 0;
				gulong _tmp7_ = 0UL;
				xmlAttr* _tmp9_ = NULL;
				xmlAttr* _tmp10_ = NULL;
				if (!_tmp3_) {
					gint _tmp4_ = 0;
					_tmp4_ = i;
					i = _tmp4_ + 1;
				}
				_tmp3_ = FALSE;
				_tmp6_ = i;
				_tmp7_ = index;
				if (((gulong) _tmp6_) < _tmp7_) {
					xmlAttr* _tmp8_ = NULL;
					_tmp8_ = attr;
					_tmp5_ = _tmp8_ != NULL;
				} else {
					_tmp5_ = FALSE;
				}
				if (!_tmp5_) {
					break;
				}
				_tmp9_ = attr;
				_tmp10_ = _tmp9_->next;
				attr = _tmp10_;
			}
		}
	}
	_tmp11_ = attr;
	if (_tmp11_ == NULL) {
		result = NULL;
		return result;
	} else {
		GXmlxElement* _tmp12_ = NULL;
		GXmlxDocument* _tmp13_ = NULL;
		GXmlxDocument* _tmp14_ = NULL;
		xmlAttr* _tmp15_ = NULL;
		GXmlxAttr* _tmp16_ = NULL;
		GXmlxAttr* _tmp17_ = NULL;
		_tmp12_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
		_tmp13_ = gxml_xnode_get_owner_document ((GXmlxNode*) _tmp12_);
		_tmp14_ = _tmp13_;
		_tmp15_ = attr;
		_tmp16_ = gxml_xdocument_lookup_attr (_tmp14_, _tmp15_);
		_tmp17_ = _g_object_ref0 (_tmp16_);
		result = _tmp17_;
		return result;
	}
}


static GeeSet* gxml_named_attr_map_real_get_entries (GeeMap* base) {
	GeeSet* result;
	GXmlNamedAttrMap* self;
	GeeHashSet* s = NULL;
	GeeHashSet* _tmp0_ = NULL;
	GXmlNamedAttrMapIterator* iter = NULL;
	GXmlNamedAttrMapIterator* _tmp1_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = gee_hash_set_new (GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ENTRY, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
	s = _tmp0_;
	_tmp1_ = gxml_named_attr_map_iterator_new (self);
	iter = _tmp1_;
	while (TRUE) {
		GXmlNamedAttrMapIterator* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		GXmlAbstractNamedAttrMapEntry* v = NULL;
		GXmlNamedAttrMapIterator* _tmp4_ = NULL;
		gpointer _tmp5_ = NULL;
		GeeHashSet* _tmp6_ = NULL;
		GXmlAbstractNamedAttrMapEntry* _tmp7_ = NULL;
		_tmp2_ = iter;
		_tmp3_ = gee_map_iterator_next ((GeeMapIterator*) _tmp2_);
		if (!_tmp3_) {
			break;
		}
		_tmp4_ = iter;
		_tmp5_ = gee_iterator_get ((GeeIterator*) _tmp4_);
		v = (GXmlAbstractNamedAttrMapEntry*) _tmp5_;
		_tmp6_ = s;
		_tmp7_ = v;
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, _tmp7_);
		_g_object_unref0 (v);
	}
	result = (GeeSet*) s;
	_g_object_unref0 (iter);
	return result;
}


static GeeSet* gxml_named_attr_map_real_get_keys (GeeMap* base) {
	GeeSet* result;
	GXmlNamedAttrMap* self;
	GeeHashSet* s = NULL;
	GeeHashSet* _tmp0_ = NULL;
	GXmlNamedAttrMapIterator* iter = NULL;
	GXmlNamedAttrMapIterator* _tmp1_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
	s = _tmp0_;
	_tmp1_ = gxml_named_attr_map_iterator_new (self);
	iter = _tmp1_;
	while (TRUE) {
		GXmlNamedAttrMapIterator* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		GXmlAbstractNamedAttrMapEntry* v = NULL;
		GXmlNamedAttrMapIterator* _tmp4_ = NULL;
		gpointer _tmp5_ = NULL;
		GeeHashSet* _tmp6_ = NULL;
		GXmlAbstractNamedAttrMapEntry* _tmp7_ = NULL;
		gconstpointer _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		_tmp2_ = iter;
		_tmp3_ = gee_map_iterator_next ((GeeMapIterator*) _tmp2_);
		if (!_tmp3_) {
			break;
		}
		_tmp4_ = iter;
		_tmp5_ = gee_iterator_get ((GeeIterator*) _tmp4_);
		v = (GXmlAbstractNamedAttrMapEntry*) _tmp5_;
		_tmp6_ = s;
		_tmp7_ = v;
		_tmp8_ = gee_map_entry_get_key ((GeeMapEntry*) _tmp7_);
		_tmp9_ = _tmp8_;
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, (const gchar*) _tmp9_);
		_g_object_unref0 (v);
	}
	result = (GeeSet*) s;
	_g_object_unref0 (iter);
	return result;
}


static gboolean gxml_named_attr_map_real_get_read_only (GeeMap* base) {
	gboolean result;
	GXmlNamedAttrMap* self;
	self = (GXmlNamedAttrMap*) base;
	result = FALSE;
	return result;
}


static GeeMap* gxml_named_attr_map_real_get_read_only_view (GeeMap* base) {
	GeeMap* result;
	GXmlNamedAttrMap* self;
	GXmlxElement* _tmp0_ = NULL;
	GXmlNamedAttrMap* _tmp1_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
	_tmp1_ = gxml_named_attr_map_new (_tmp0_);
	result = (GeeMap*) _tmp1_;
	return result;
}


static gint gxml_named_attr_map_real_get_size (GeeMap* base) {
	gint result;
	GXmlNamedAttrMap* self;
	GXmlNamedAttrMapIterator* iter = NULL;
	GXmlNamedAttrMapIterator* _tmp0_ = NULL;
	gint i = 0;
	gint _tmp4_ = 0;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = gxml_named_attr_map_iterator_new (self);
	iter = _tmp0_;
	i = 0;
	while (TRUE) {
		GXmlNamedAttrMapIterator* _tmp1_ = NULL;
		gboolean _tmp2_ = FALSE;
		gint _tmp3_ = 0;
		_tmp1_ = iter;
		_tmp2_ = gee_map_iterator_next ((GeeMapIterator*) _tmp1_);
		if (!_tmp2_) {
			break;
		}
		_tmp3_ = i;
		i = _tmp3_ + 1;
	}
	_tmp4_ = i;
	result = _tmp4_;
	_g_object_unref0 (iter);
	return result;
}


static GeeCollection* gxml_named_attr_map_real_get_values (GeeMap* base) {
	GeeCollection* result;
	GXmlNamedAttrMap* self;
	GeeHashSet* s = NULL;
	GeeHashSet* _tmp0_ = NULL;
	GXmlNamedAttrMapIterator* iter = NULL;
	GXmlNamedAttrMapIterator* _tmp1_ = NULL;
	self = (GXmlNamedAttrMap*) base;
	_tmp0_ = gee_hash_set_new (GXML_TYPE_ATTRIBUTE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
	s = _tmp0_;
	_tmp1_ = gxml_named_attr_map_iterator_new (self);
	iter = _tmp1_;
	while (TRUE) {
		GXmlNamedAttrMapIterator* _tmp2_ = NULL;
		gboolean _tmp3_ = FALSE;
		GXmlAbstractNamedAttrMapEntry* v = NULL;
		GXmlNamedAttrMapIterator* _tmp4_ = NULL;
		gpointer _tmp5_ = NULL;
		GeeHashSet* _tmp6_ = NULL;
		GXmlAbstractNamedAttrMapEntry* _tmp7_ = NULL;
		gconstpointer _tmp8_ = NULL;
		GXmlAttribute* _tmp9_ = NULL;
		_tmp2_ = iter;
		_tmp3_ = gee_map_iterator_next ((GeeMapIterator*) _tmp2_);
		if (!_tmp3_) {
			break;
		}
		_tmp4_ = iter;
		_tmp5_ = gee_iterator_get ((GeeIterator*) _tmp4_);
		v = (GXmlAbstractNamedAttrMapEntry*) _tmp5_;
		_tmp6_ = s;
		_tmp7_ = v;
		_tmp8_ = gee_map_entry_get_value ((GeeMapEntry*) _tmp7_);
		_tmp9_ = _tmp8_;
		gee_abstract_collection_add ((GeeAbstractCollection*) _tmp6_, (GXmlAttribute*) _tmp9_);
		_g_object_unref0 (v);
	}
	result = (GeeCollection*) s;
	_g_object_unref0 (iter);
	return result;
}


static gulong gxml_named_attr_map_real_get_length (GXmlNamedNodeMap* base) {
	gulong result;
	GXmlNamedAttrMap* self;
	gint len = 0;
	gint _tmp8_ = 0;
	self = (GXmlNamedAttrMap*) base;
	len = 0;
	{
		xmlAttr* attr = NULL;
		GXmlxElement* _tmp0_ = NULL;
		xmlNode* _tmp1_ = NULL;
		xmlAttr* _tmp2_ = NULL;
		_tmp0_ = ((GXmlAbstractNamedAttrMap*) self)->elem;
		_tmp1_ = ((GXmlBackedNode*) _tmp0_)->node;
		_tmp2_ = _tmp1_->properties;
		attr = _tmp2_;
		{
			gboolean _tmp3_ = FALSE;
			_tmp3_ = TRUE;
			while (TRUE) {
				xmlAttr* _tmp6_ = NULL;
				gint _tmp7_ = 0;
				if (!_tmp3_) {
					xmlAttr* _tmp4_ = NULL;
					xmlAttr* _tmp5_ = NULL;
					_tmp4_ = attr;
					_tmp5_ = _tmp4_->next;
					attr = _tmp5_;
				}
				_tmp3_ = FALSE;
				_tmp6_ = attr;
				if (!(_tmp6_ != NULL)) {
					break;
				}
				_tmp7_ = len;
				len = _tmp7_ + 1;
			}
		}
	}
	_tmp8_ = len;
	result = (gulong) _tmp8_;
	return result;
}


static GXmlNamedAttrMapIterator* gxml_named_attr_map_iterator_construct (GType object_type, GXmlNamedAttrMap* m) {
	GXmlNamedAttrMapIterator * self = NULL;
	GXmlNamedAttrMap* _tmp0_ = NULL;
	g_return_val_if_fail (m != NULL, NULL);
	_tmp0_ = m;
	self = (GXmlNamedAttrMapIterator*) gxml_abstract_named_attr_map_iterator_construct (object_type, (GXmlAbstractNamedAttrMap*) _tmp0_);
	return self;
}


static GXmlNamedAttrMapIterator* gxml_named_attr_map_iterator_new (GXmlNamedAttrMap* m) {
	return gxml_named_attr_map_iterator_construct (GXML_NAMED_ATTR_MAP_TYPE_ITERATOR, m);
}


static gchar* gxml_named_attr_map_iterator_real_get_key (GeeMapIterator* base) {
	GXmlNamedAttrMapIterator * self;
	gchar* result = NULL;
	gpointer _tmp0_ = NULL;
	GXmlAbstractNamedAttrMapEntry* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	self = (GXmlNamedAttrMapIterator*) base;
	_tmp0_ = gee_iterator_get ((GeeIterator*) self);
	_tmp1_ = (GXmlAbstractNamedAttrMapEntry*) _tmp0_;
	_tmp2_ = gee_map_entry_get_key ((GeeMapEntry*) _tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = g_strdup ((const gchar*) _tmp3_);
	_tmp5_ = _tmp4_;
	_g_object_unref0 (_tmp1_);
	result = _tmp5_;
	return result;
}


static GXmlAttribute* gxml_named_attr_map_iterator_real_get_value (GeeMapIterator* base) {
	GXmlNamedAttrMapIterator * self;
	GXmlAttribute* result = NULL;
	gpointer _tmp0_ = NULL;
	GXmlAbstractNamedAttrMapEntry* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	GXmlAttribute* _tmp3_ = NULL;
	GXmlAttribute* _tmp4_ = NULL;
	GXmlAttribute* _tmp5_ = NULL;
	self = (GXmlNamedAttrMapIterator*) base;
	_tmp0_ = gee_iterator_get ((GeeIterator*) self);
	_tmp1_ = (GXmlAbstractNamedAttrMapEntry*) _tmp0_;
	_tmp2_ = gee_map_entry_get_value ((GeeMapEntry*) _tmp1_);
	_tmp3_ = _tmp2_;
	_tmp4_ = _g_object_ref0 ((GXmlAttribute*) _tmp3_);
	_tmp5_ = _tmp4_;
	_g_object_unref0 (_tmp1_);
	result = _tmp5_;
	return result;
}


static void gxml_named_attr_map_iterator_real_set_value (GeeMapIterator* base, GXmlAttribute* val) {
	GXmlNamedAttrMapIterator * self;
	GXmlAttribute* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	GXmlAttribute* _tmp4_ = NULL;
	self = (GXmlNamedAttrMapIterator*) base;
	g_return_if_fail (val != NULL);
	gee_map_iterator_unset ((GeeMapIterator*) self);
	_tmp0_ = val;
	_tmp1_ = gxml_node_get_name ((GXmlNode*) _tmp0_);
	_tmp2_ = _tmp1_;
	_tmp3_ = _tmp2_;
	_tmp4_ = val;
	g_object_set ((GObject*) self, _tmp3_, _tmp4_, NULL);
	_g_free0 (_tmp3_);
}


static void gxml_named_attr_map_iterator_real_unset (GeeMapIterator* base) {
	GXmlNamedAttrMapIterator * self;
	GXmlAbstractNamedAttrMap* _tmp0_ = NULL;
	GXmlxElement* _tmp1_ = NULL;
	xmlNode* _tmp2_ = NULL;
	gpointer _tmp3_ = NULL;
	GXmlAbstractNamedAttrMapEntry* _tmp4_ = NULL;
	gconstpointer _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	self = (GXmlNamedAttrMapIterator*) base;
	_tmp0_ = ((GXmlAbstractNamedAttrMapIterator*) self)->nm;
	_tmp1_ = _tmp0_->elem;
	_tmp2_ = ((GXmlBackedNode*) _tmp1_)->node;
	_tmp3_ = gee_iterator_get ((GeeIterator*) self);
	_tmp4_ = (GXmlAbstractNamedAttrMapEntry*) _tmp3_;
	_tmp5_ = gee_map_entry_get_key ((GeeMapEntry*) _tmp4_);
	_tmp6_ = _tmp5_;
	xmlUnsetProp (_tmp2_, (xmlChar*) ((const gchar*) _tmp6_));
	_g_object_unref0 (_tmp4_);
}


static gboolean gxml_named_attr_map_iterator_real_get_mutable (GeeMapIterator* base) {
	gboolean result;
	GXmlNamedAttrMapIterator* self;
	self = (GXmlNamedAttrMapIterator*) base;
	result = TRUE;
	return result;
}


static void gxml_named_attr_map_iterator_class_init (GXmlNamedAttrMapIteratorClass * klass) {
	gxml_named_attr_map_iterator_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->get_property = _vala_gxml_named_attr_map_iterator_get_property;
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_ITERATOR_MUTABLE, g_param_spec_boolean ("mutable", "mutable", "mutable", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}


static GType gxml_named_attr_map_iterator_gee_map_iterator_get_k_type (GXmlNamedAttrMapIterator* self) {
	return G_TYPE_STRING;
}


static GBoxedCopyFunc gxml_named_attr_map_iterator_gee_map_iterator_get_k_dup_func (GXmlNamedAttrMapIterator* self) {
	return g_strdup;
}


static GDestroyNotify gxml_named_attr_map_iterator_gee_map_iterator_get_k_destroy_func (GXmlNamedAttrMapIterator* self) {
	return g_free;
}


static GType gxml_named_attr_map_iterator_gee_map_iterator_get_v_type (GXmlNamedAttrMapIterator* self) {
	return GXML_TYPE_ATTRIBUTE;
}


static GBoxedCopyFunc gxml_named_attr_map_iterator_gee_map_iterator_get_v_dup_func (GXmlNamedAttrMapIterator* self) {
	return g_object_ref;
}


static GDestroyNotify gxml_named_attr_map_iterator_gee_map_iterator_get_v_destroy_func (GXmlNamedAttrMapIterator* self) {
	return g_object_unref;
}


static void gxml_named_attr_map_iterator_gee_map_iterator_interface_init (GeeMapIteratorIface * iface) {
	gxml_named_attr_map_iterator_gee_map_iterator_parent_iface = g_type_interface_peek_parent (iface);
	iface->get_key = (gpointer (*)(GeeMapIterator*)) gxml_named_attr_map_iterator_real_get_key;
	iface->get_value = (gpointer (*)(GeeMapIterator*)) gxml_named_attr_map_iterator_real_get_value;
	iface->set_value = (void (*)(GeeMapIterator*, gconstpointer)) gxml_named_attr_map_iterator_real_set_value;
	iface->unset = (void (*)(GeeMapIterator*)) gxml_named_attr_map_iterator_real_unset;
	iface->get_k_type = (GType(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_k_type;
	iface->get_k_dup_func = (GBoxedCopyFunc(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_k_dup_func;
	iface->get_k_destroy_func = (GDestroyNotify(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_k_destroy_func;
	iface->get_v_type = (GType(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_v_type;
	iface->get_v_dup_func = (GBoxedCopyFunc(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_v_dup_func;
	iface->get_v_destroy_func = (GDestroyNotify(*)(GeeMapIterator*)) gxml_named_attr_map_iterator_gee_map_iterator_get_v_destroy_func;
	iface->has_next = (gboolean (*)(GeeMapIterator*)) gee_iterator_has_next;
	iface->next = (gboolean (*)(GeeMapIterator*)) gee_iterator_next;
	iface->get_mutable = gxml_named_attr_map_iterator_real_get_mutable;
	iface->get_read_only = (gboolean (*) (GeeMapIterator *)) gee_iterator_get_read_only;
	iface->get_valid = (gboolean (*) (GeeMapIterator *)) gee_iterator_get_valid;
}


static void gxml_named_attr_map_iterator_instance_init (GXmlNamedAttrMapIterator * self) {
}


static GType gxml_named_attr_map_iterator_get_type (void) {
	static volatile gsize gxml_named_attr_map_iterator_type_id__volatile = 0;
	if (g_once_init_enter (&gxml_named_attr_map_iterator_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GXmlNamedAttrMapIteratorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gxml_named_attr_map_iterator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GXmlNamedAttrMapIterator), 0, (GInstanceInitFunc) gxml_named_attr_map_iterator_instance_init, NULL };
		static const GInterfaceInfo gee_map_iterator_info = { (GInterfaceInitFunc) gxml_named_attr_map_iterator_gee_map_iterator_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gxml_named_attr_map_iterator_type_id;
		gxml_named_attr_map_iterator_type_id = g_type_register_static (GXML_ABSTRACT_NAMED_ATTR_MAP_TYPE_ITERATOR, "GXmlNamedAttrMapIterator", &g_define_type_info, 0);
		g_type_add_interface_static (gxml_named_attr_map_iterator_type_id, GEE_TYPE_MAP_ITERATOR, &gee_map_iterator_info);
		g_once_init_leave (&gxml_named_attr_map_iterator_type_id__volatile, gxml_named_attr_map_iterator_type_id);
	}
	return gxml_named_attr_map_iterator_type_id__volatile;
}


static void _vala_gxml_named_attr_map_iterator_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GXmlNamedAttrMapIterator * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GXML_NAMED_ATTR_MAP_TYPE_ITERATOR, GXmlNamedAttrMapIterator);
	switch (property_id) {
		case GXML_NAMED_ATTR_MAP_ITERATOR_MUTABLE:
		g_value_set_boolean (value, gee_map_iterator_get_mutable ((GeeMapIterator*) self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


static void gxml_named_attr_map_class_init (GXmlNamedAttrMapClass * klass) {
	gxml_named_attr_map_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->get_property = _vala_gxml_named_attr_map_get_property;
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_ENTRIES, g_param_spec_object ("entries", "entries", "entries", GEE_TYPE_SET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_KEYS, g_param_spec_object ("keys", "keys", "keys", GEE_TYPE_SET, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_READ_ONLY, g_param_spec_boolean ("read-only", "read-only", "read-only", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_READ_ONLY_VIEW, g_param_spec_object ("read-only-view", "read-only-view", "read-only-view", GEE_TYPE_MAP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_SIZE, g_param_spec_int ("size", "size", "size", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_VALUES, g_param_spec_object ("values", "values", "values", GEE_TYPE_COLLECTION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), GXML_NAMED_ATTR_MAP_LENGTH, g_param_spec_ulong ("length", "length", "length", 0, G_MAXULONG, 0UL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
}


static GType gxml_named_attr_map_gee_map_get_k_type (GXmlNamedAttrMap* self) {
	return G_TYPE_STRING;
}


static GBoxedCopyFunc gxml_named_attr_map_gee_map_get_k_dup_func (GXmlNamedAttrMap* self) {
	return g_strdup;
}


static GDestroyNotify gxml_named_attr_map_gee_map_get_k_destroy_func (GXmlNamedAttrMap* self) {
	return g_free;
}


static GType gxml_named_attr_map_gee_map_get_v_type (GXmlNamedAttrMap* self) {
	return GXML_TYPE_ATTRIBUTE;
}


static GBoxedCopyFunc gxml_named_attr_map_gee_map_get_v_dup_func (GXmlNamedAttrMap* self) {
	return g_object_ref;
}


static GDestroyNotify gxml_named_attr_map_gee_map_get_v_destroy_func (GXmlNamedAttrMap* self) {
	return g_object_unref;
}


static void gxml_named_attr_map_gee_map_interface_init (GeeMapIface * iface) {
	gxml_named_attr_map_gee_map_parent_iface = g_type_interface_peek_parent (iface);
	iface->clear = (void (*)(GeeMap*)) gxml_named_attr_map_real_clear;
	iface->get = (gpointer (*)(GeeMap*, gconstpointer)) gxml_named_attr_map_real_get;
	iface->has = (gboolean (*)(GeeMap*, gconstpointer, gconstpointer)) gxml_named_attr_map_real_has;
	iface->has_key = (gboolean (*)(GeeMap*, gconstpointer)) gxml_named_attr_map_real_has_key;
	iface->map_iterator = (GeeMapIterator* (*)(GeeMap*)) gxml_named_attr_map_real_map_iterator;
	iface->set = (void (*)(GeeMap*, gconstpointer, gconstpointer)) gxml_named_attr_map_real_set;
	iface->unset = (gboolean (*)(GeeMap*, gconstpointer, gpointer*)) gxml_named_attr_map_real_unset;
	iface->get_k_type = (GType(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_k_type;
	iface->get_k_dup_func = (GBoxedCopyFunc(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_k_dup_func;
	iface->get_k_destroy_func = (GDestroyNotify(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_k_destroy_func;
	iface->get_v_type = (GType(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_v_type;
	iface->get_v_dup_func = (GBoxedCopyFunc(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_v_dup_func;
	iface->get_v_destroy_func = (GDestroyNotify(*)(GeeMap*)) gxml_named_attr_map_gee_map_get_v_destroy_func;
	iface->get_entries = gxml_named_attr_map_real_get_entries;
	iface->get_keys = gxml_named_attr_map_real_get_keys;
	iface->get_read_only = gxml_named_attr_map_real_get_read_only;
	iface->get_read_only_view = gxml_named_attr_map_real_get_read_only_view;
	iface->get_size = gxml_named_attr_map_real_get_size;
	iface->get_values = gxml_named_attr_map_real_get_values;
}


static void gxml_named_attr_map_gxml_named_node_map_interface_init (GXmlNamedNodeMapIface * iface) {
	gxml_named_attr_map_gxml_named_node_map_parent_iface = g_type_interface_peek_parent (iface);
	iface->get_named_item = (gpointer (*)(GXmlNamedNodeMap*, const gchar*)) gxml_named_attr_map_real_get_named_item;
	iface->set_named_item = (gpointer (*)(GXmlNamedNodeMap*, gconstpointer)) gxml_named_attr_map_real_set_named_item;
	iface->remove_named_item = (gpointer (*)(GXmlNamedNodeMap*, const gchar*)) gxml_named_attr_map_real_remove_named_item;
	iface->item = (gpointer (*)(GXmlNamedNodeMap*, gulong)) gxml_named_attr_map_real_item;
	iface->get_length = gxml_named_attr_map_real_get_length;
}


static void gxml_named_attr_map_instance_init (GXmlNamedAttrMap * self) {
}


/**
 * A class implementing {@link GXml.NamedNodeMap} interface for {@link GXml.xAttr} objects.
 * 
 * A collection of {@link GXml.NamedNodeMap} of type {@link GXml.xAttr} objects in a {@link GXml.xElement}.
 *
 * This class implements {@link Gee.Map}, but requires parent {@link GXml.AbstractNamedAttrMap} class
 * in order to implement it.
 */
GType gxml_named_attr_map_get_type (void) {
	static volatile gsize gxml_named_attr_map_type_id__volatile = 0;
	if (g_once_init_enter (&gxml_named_attr_map_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GXmlNamedAttrMapClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gxml_named_attr_map_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GXmlNamedAttrMap), 0, (GInstanceInitFunc) gxml_named_attr_map_instance_init, NULL };
		static const GInterfaceInfo gee_map_info = { (GInterfaceInitFunc) gxml_named_attr_map_gee_map_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo gxml_named_node_map_info = { (GInterfaceInitFunc) gxml_named_attr_map_gxml_named_node_map_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gxml_named_attr_map_type_id;
		gxml_named_attr_map_type_id = g_type_register_static (GXML_TYPE_ABSTRACT_NAMED_ATTR_MAP, "GXmlNamedAttrMap", &g_define_type_info, 0);
		g_type_add_interface_static (gxml_named_attr_map_type_id, GEE_TYPE_MAP, &gee_map_info);
		g_type_add_interface_static (gxml_named_attr_map_type_id, GXML_TYPE_NAMED_NODE_MAP, &gxml_named_node_map_info);
		g_once_init_leave (&gxml_named_attr_map_type_id__volatile, gxml_named_attr_map_type_id);
	}
	return gxml_named_attr_map_type_id__volatile;
}


static void _vala_gxml_named_attr_map_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GXmlNamedAttrMap * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GXML_TYPE_NAMED_ATTR_MAP, GXmlNamedAttrMap);
	switch (property_id) {
		case GXML_NAMED_ATTR_MAP_ENTRIES:
		g_value_take_object (value, gee_map_get_entries ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_KEYS:
		g_value_take_object (value, gee_map_get_keys ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_READ_ONLY:
		g_value_set_boolean (value, gee_map_get_read_only ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_READ_ONLY_VIEW:
		g_value_take_object (value, gee_map_get_read_only_view ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_SIZE:
		g_value_set_int (value, gee_map_get_size ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_VALUES:
		g_value_take_object (value, gee_map_get_values ((GeeMap*) self));
		break;
		case GXML_NAMED_ATTR_MAP_LENGTH:
		g_value_set_ulong (value, gxml_named_node_map_get_length ((GXmlNamedNodeMap*) self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}



