Example usage for org.jsoup.nodes DataNode DataNode

List of usage examples for org.jsoup.nodes DataNode DataNode

Introduction

In this page you can find the example usage for org.jsoup.nodes DataNode DataNode.

Prototype

public DataNode(String data, String baseUri) 

Source Link

Document

Create a new DataNode.

Usage

From source file:com.blackducksoftware.tools.nrt.generator.NRTReportGenerator.java

private void addNewScriptElementWithJson(Element jsonCompListElement, String jsonText) {
    Element scriptElement = jsonCompListElement.appendElement("script");
    DataNode jsonNode = new DataNode(jsonText, "");
    scriptElement.appendChild(jsonNode);

}