Java XML Text Node Create createTextNode(Document doc, String string)

Here you can find the source of createTextNode(Document doc, String string)

Description

create Text Node

License

Open Source License

Declaration

public static Node createTextNode(Document doc, String string) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import org.w3c.dom.Document;

import org.w3c.dom.Node;

public class Main {
    public static Node createTextNode(Document doc, String string) {
        return doc.createTextNode(string);
    }//from w  ww  . j  a v  a2 s  .c o  m
}

Related

  1. createTextElement(QName qname, String value, Document doc)
  2. createTextLn(Document d, String text)
  3. createTextNode(Document _doc, String tagName, String tagValue)
  4. createTextNode(Document doc, Calendar cal, boolean dateOnly)
  5. createTextNode(Document doc, String elemName, String attrName, String attrValue, String content)
  6. createTextNode(Element element, String nodeName, String textValue)
  7. createTextNode(Node doc, String elementName, String elementText)
  8. createTextNode(Node node, String data)
  9. extractOrCreateTextNode(Element filenameElement, String defaultText)