[gxml] * add documentation for DocumentFragment



commit 0ca5e644cc4c22ac88831a15c0b49f4b9b381117
Author: Richard Schwarting <aquarichy gmail com>
Date:   Thu Jul 21 14:37:23 2011 -0400

    * add documentation for DocumentFragment

 gxml/DocumentFragment.vala |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gxml/DocumentFragment.vala b/gxml/DocumentFragment.vala
index 483dffa..3ba1c26 100644
--- a/gxml/DocumentFragment.vala
+++ b/gxml/DocumentFragment.vala
@@ -15,6 +15,15 @@ namespace GXml.Dom {
 	   [0,inf) children
 
 	 */
+	/**
+	 * An incomplete portion of a Document. This is not restricted
+	 * to having a root document element, or being completely
+	 * valid. It can have multiple children, which, if the
+	 * DocumentFragment is inserted as a child to another node,
+	 * become that nodes' children, without the DocumentFragment
+	 * itself existing as a child.
+	 * For more, see: [[http://www.w3.org/TR/DOM-Level-1/level-one-core.html#ID-B63ED1A3]]
+	 */
 	public class DocumentFragment : BackedNode {
 		internal DocumentFragment (Xml.Node *fragment_node, Document doc) {
 			base (fragment_node, doc);



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