예제 #1
0
        protected override void VisitCDataSection(DomCDataSection section)
        {
            if (section == null)
                throw new ArgumentNullException("section");

            DefaultVisit(section);
        }
예제 #2
0
        protected override void VisitCDataSection(DomCDataSection section)
        {
            if (section == null)
                throw new ArgumentNullException("section");

            sb.Append("<![CDATA[");
            sb.Append(section.Data);
            sb.Append("]]>");
        }
예제 #3
0
        protected override void WriteCDataSection(DomCDataSection section)
        {
            if (section == null)
            {
                return;
            }

            WriteCDataSection(section.Data);
        }
예제 #4
0
 protected override void VisitCDataSection(DomCDataSection node)
 {
     _output.Append("<!CDATA[")
     .Append(node.TextContent)
     .Append("]]>");
 }
예제 #5
0
 public static void OuterText(TextWriter _sb, DomCDataSection section)
 {
     _sb.Write("<![CDATA[");
     _sb.Write(section.Data);
     _sb.Write("]]>");
 }
예제 #6
0
 void IDomNodeVisitor.Visit(DomCDataSection section)
 {
     VisitCDataSection(section);
 }
예제 #7
0
 public virtual DomCDataSection CreateCData(string data)
 {
     var result = new DomCDataSection();
     result.Data = data;
     return result;
 }
예제 #8
0
 protected override void VisitCDataSection(DomCDataSection section)
 {
     TextUtility.OuterText(_sb, section);
 }