[gxml] Renamed Notation to xNotation



commit be84ac68977801592bf26f90ec7cd940f69dd359
Author: Daniel Espinosa <esodan gmail com>
Date:   Tue May 12 12:58:44 2015 -0500

    Renamed Notation to xNotation

 gxml/libxml-DocumentType.vala   |    4 ++--
 gxml/libxml-Implementation.vala |    2 +-
 gxml/libxml-NodeType.vala       |    2 +-
 gxml/libxml-Notation.vala       |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gxml/libxml-DocumentType.vala b/gxml/libxml-DocumentType.vala
index 631ecef..909620b 100644
--- a/gxml/libxml-DocumentType.vala
+++ b/gxml/libxml-DocumentType.vala
@@ -90,9 +90,9 @@ namespace GXml {
                 * A HashTable of notations defined for this DocumentType.
                 */
                // TODO: provide examples
-               public HashTable<string,Notation>? notations {
+               public HashTable<string,xNotation>? notations {
                        get {
-                               // TODO: need to create a HashTable<string,Notation> uniting the two
+                               // TODO: need to create a HashTable<string,xNotation> uniting the two
                                //       discard duplicates
                                // TODO: what type of hashtable is Xml.Dtd*'s notations?
                                //Xml.HashTable *table =  this.int_subset->notations;
diff --git a/gxml/libxml-Implementation.vala b/gxml/libxml-Implementation.vala
index 856491a..bc65121 100644
--- a/gxml/libxml-Implementation.vala
+++ b/gxml/libxml-Implementation.vala
@@ -35,7 +35,7 @@ namespace GXml {
         * Version: DOM Level 1 Core<<BR>>
         * URL: [[http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490]]
         */
-       public class Implementation : GLib.Object {
+       public class Implementation : GLib.Object { // TODO: Add DomImplementation interface
                internal Implementation () {
                }
 
diff --git a/gxml/libxml-NodeType.vala b/gxml/libxml-NodeType.vala
index 3682f71..d99e6d5 100644
--- a/gxml/libxml-NodeType.vala
+++ b/gxml/libxml-NodeType.vala
@@ -29,7 +29,7 @@
  *
  * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-1950641247]]
  */
-public enum GXml.NodeType {
+public enum GXml.NodeType { // TODO: Rename to DomNodeType
        /* NOTE: bug in vala?  if I don't have == 0, I fail when creating
           this class because I can't set default values for NodeType properties
           GLib-GObject-CRITICAL **: g_param_spec_enum: assertion `g_enum_get_value (enum_class, 
default_value) != NULL' failed */
diff --git a/gxml/libxml-Notation.vala b/gxml/libxml-Notation.vala
index e91be86..5f8e62f 100644
--- a/gxml/libxml-Notation.vala
+++ b/gxml/libxml-Notation.vala
@@ -32,7 +32,7 @@ namespace GXml {
         * ProcessingInstruction targets.
         * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-5431D1B9]]
         */
-       public class Notation : xNode {
+       public class xNotation : xNode {
                // private Xml.Notation *notation; // TODO: wrap libxml's xmlNotation
 
                /**
@@ -66,7 +66,7 @@ namespace GXml {
                        private set {
                        }
                }
-               internal Notation (/* Xml.Notation *notation, */ xDocument doc) {
+               internal xNotation (/* Xml.Notation *notation, */ xDocument doc) {
                        base (NodeType.NOTATION, doc); // STUB
                        //this.notation = notation;
                }


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