Code example for Document

Methods: getDoctype

        childValue = child.getNodeValue();
        assertEquals("childValue", "importedText", childValue);
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Doesn't verify DOMException.", 
        method = "importNode", 
        args = {org.w3c.dom.Node.class, boolean.class}
    public void testImportNode2() throws Throwable { 
        Document doc;
        Document aNewDoc;
        CDATASection cDataSec;
        Node aNode;
        Document ownerDocument;
        DocumentType docType;
        String system;
        String value;
        doc = (Document) load("staffNS", builder);
        aNewDoc = (Document) load("staffNS", builder);
Connect your IDE to all the code out there  Get Codota for Java