示例#1
0
        protected override DomNode CloneCore()
        {
            var result = OwnerDocument.CreateText(Data);

            result.CopyAnnotationsFrom(AnnotationList);
            return(result);
        }
 public DomText CreateText()
 {
     return(OwnerDocument.CreateText());
 }
 public DomText CreateText(string data)
 {
     return(OwnerDocument.CreateText(data));
 }
示例#4
0
 public DomCharacterData SplitText(int index)
 {
     After(OwnerDocument.CreateText(Data.Substring(index)));
     Data = Data.Substring(0, index);
     return(this);
 }