Beispiel #1
0
 /// <summary>
 /// Get the contents of the comment.
 /// </summary>
 /// <returns>Content</returns>
 public string GetData()
 {
     return(Attributes.GetValue(COMMENT_KEY));
 }
Beispiel #2
0
 /// <summary>
 /// Get the unencoded XML declaration.
 /// </summary>
 /// <returns>XML declaration</returns>
 public string GetWholeDeclaration()
 {
     return(Attributes.GetValue(DECL_KEY));
 }
Beispiel #3
0
 /// <summary>
 /// Get the data contents of this node. Will be unescaped and with original new lines, space etc.
 /// </summary>
 /// <returns>data</returns>
 public string GetWholeData()
 {
     return(Attributes.GetValue(DATA_KEY));
 }
Beispiel #4
0
 /// <summary>
 /// Get the (unencoded) text of this text node, including any newlines and spaces present in the original.
 /// </summary>
 /// <returns>text</returns>
 public string GetWholeText()
 {
     return(Attributes == null ? text : Attributes.GetValue(TEXT_KEY));
 }