[gxml] GNodeList: renamed to GXml.NodeList



commit 13c7dbdb478248323fccf8786c7371eee37a02f7
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri Jul 5 23:51:24 2019 -0500

    GNodeList: renamed to GXml.NodeList

 gxml/ArrayList.vala         | 4 ++--
 gxml/CssSelectorParser.vala | 2 +-
 gxml/Document.vala          | 6 +++---
 gxml/HashPairedMap.vala     | 2 +-
 gxml/Node.vala              | 6 +++---
 gxml/XDocument.vala         | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gxml/ArrayList.vala b/gxml/ArrayList.vala
index 9d34259..0e558ec 100644
--- a/gxml/ArrayList.vala
+++ b/gxml/ArrayList.vala
@@ -28,11 +28,11 @@ using Gee;
  * child {@link DomElement} of {@link Collection.element}, using an index.
  *
  * {{{
- *   public class YourObject : GomElement {
+ *   public class YourObject : GXml.Element {
  *    [Description (nick="::Name")]
  *    public string name { get; set; }
  *   }
- *   public class YourList : GomArrayList {
+ *   public class YourList : GXml.ArrayList {
  *    construct {
  *      try { initialize (typeof (YourObject)); }
  *      catch (GLib.Error e) {
diff --git a/gxml/CssSelectorParser.vala b/gxml/CssSelectorParser.vala
index 9eb3188..c172e0a 100644
--- a/gxml/CssSelectorParser.vala
+++ b/gxml/CssSelectorParser.vala
@@ -685,7 +685,7 @@ public class GXml.CssSelectorParser : GLib.Object {
        }
        
        public GXml.DomNodeList query_selector_all (GXml.DomElement element) throws GLib.Error {
-               var list = new GXml.GomNodeList();
+               var list = new GXml.NodeList();
                foreach (GXml.DomElement child in element.children) {
                        if (match (child))
                                list.add (child);
diff --git a/gxml/Document.vala b/gxml/Document.vala
index 53a32b4..b7839e9 100644
--- a/gxml/Document.vala
+++ b/gxml/Document.vala
@@ -38,7 +38,7 @@ public class GXml.Document : GXml.Node,
                               DomXMLDocument
 {
   // DomDocument implementation
-  protected DomImplementation _implementation = new GomImplementation ();
+  protected DomImplementation _implementation = new GXml.Implementation ();
   protected string _url;
   protected string _origin;
   protected string _compat_mode;
@@ -320,7 +320,7 @@ public class GXml.Document : GXml.Node,
   public DomNodeList query_selector_all (string selectors) throws GLib.Error  {
     var cs = new CssSelectorParser ();
     cs.parse (selectors);
-    var l = new GomNodeList();
+    var l = new GXml.NodeList();
     foreach (DomNode e in child_nodes) {
       if (!(e is DomElement)) continue;
       if (cs.match (e as DomElement))
@@ -337,7 +337,7 @@ public class GXml.Document : GXml.Node,
   }
 }
 
-public class GXml.GomImplementation : GLib.Object, GXml.DomImplementation {
+public class GXml.Implementation : GLib.Object, GXml.DomImplementation {
   public DomDocumentType
     create_document_type (string qualified_name, string public_id, string system_id)
         throws GLib.Error
diff --git a/gxml/HashPairedMap.vala b/gxml/HashPairedMap.vala
index bae8206..f385426 100644
--- a/gxml/HashPairedMap.vala
+++ b/gxml/HashPairedMap.vala
@@ -1,6 +1,6 @@
 /* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
 /*
- * GomHashPairedMap.vala
+ * HashPairedMap.vala
  *
  * Copyright (C) 2016  Daniel Espinosa <esodan gmail com>
  *
diff --git a/gxml/Node.vala b/gxml/Node.vala
index ea65236..0c58d6c 100644
--- a/gxml/Node.vala
+++ b/gxml/Node.vala
@@ -62,7 +62,7 @@ public class GXml.Node : GLib.Object,
   /**
    * Use this field to set node's child nodes. Derived classes should avoid to modify it.
    */
-  protected GomNodeList _child_nodes;
+  protected GXml.NodeList _child_nodes;
   public DomNode.NodeType node_type { get { return _node_type; } }
   public string node_name {
     owned get {
@@ -164,7 +164,7 @@ public class GXml.Node : GLib.Object,
     _node_type = DomNode.NodeType.INVALID;
     _base_uri = null;
     _node_value = null;
-    _child_nodes = new GomNodeList ();
+    _child_nodes = new GXml.NodeList ();
     _parent = null;
   }
 
@@ -341,7 +341,7 @@ public class GXml.Node : GLib.Object,
 /**
  * List of {@link DomNode} implementing {@link DomNodeList}
  */
-public class GXml.GomNodeList : Gee.ArrayList<DomNode>, DomNodeList {
+public class GXml.NodeList : Gee.ArrayList<DomNode>, DomNodeList {
   public DomNode? item (int index) { return base.get (index); }
   public int length { get { return size; } }
 }
diff --git a/gxml/XDocument.vala b/gxml/XDocument.vala
index 3612860..7ea4f5e 100644
--- a/gxml/XDocument.vala
+++ b/gxml/XDocument.vala
@@ -339,7 +339,7 @@ public class GXml.XDocument : GXml.XNode,
   public DomNodeList query_selector_all (string selectors) throws GLib.Error  {
     var cs = new CssSelectorParser ();
     cs.parse (selectors);
-    var l = new GomNodeList();
+    var l = new GXml.NodeList();
     foreach (GXml.DomNode e in children_nodes) {
       if (!(e is DomElement)) continue;
       if (cs.match (e as DomElement))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]