/libcore/luni/src/test/java/tests/org/w3c/dom/ |
DocumentImportNode.java | 17 * The importNode method imports a node from another document to this document. 22 * Using the method importNode with deep=true, import the attribute, "street" of 33 * href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 79 // importedAttr = doc.importNode(attr, false); 104 importedAttr = docImported.importNode(attr, false); 130 // importedAttr = doc.importNode(attr, false); 161 // importedAttr = newDoc.importNode(attr, true); 181 importedAttr = docImported.importNode(attr, false); 200 doc.importNode(doc, false) [all...] |
ImportNode.java | 44 * The "importNode(importedNode,deep)" method for a Document should import the 51 * above. Invoke method importNode(importedNode,deep) on this document with 60 * href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 62 public final class ImportNode extends DOMTestCase { 115 aNode = doc.importNode(newAttr, false); 146 aNode = doc.importNode(cDataSec, false); 168 aNode = doc.importNode(comment, false); 192 aNode = doc.importNode(docFrag, true); 215 aNode = doc.importNode(element, false) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentimportnode21.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, retreive the entity refs present in the 50 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 110 entRefImp2 = (EntityReference) docImp.importNode(entRef2, true); 111 entRefImp3 = (EntityReference) docImp.importNode(entRef3, false); 118 entRefImp2 = (EntityReference) doc.importNode(entRef2, true); 119 entRefImp3 = (EntityReference) doc.importNode(entRef3, false);
|
documentimportnode22.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true/false, import two notaiton nodes into the 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 106 notationImp1 = (Notation) doc.importNode(notation1, true); 107 notationImp2 = (Notation) doc.importNode(notation2, false); 108 notationImpNew1 = (Notation) docImp.importNode(notation1, false); 109 notationImpNew2 = (Notation) docImp.importNode(notation2, true);
|
importNode16.java | 34 * The "importNode(importedNode,deep)" method for a 39 * Invoke method importNode(importedNode,deep) where importedNode 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 46 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Core-Document-importNode')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NOT_SUPPORTED_ERR'])">http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Core-Document-importNode')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NOT_SUPPORTED_ERR'])</a> 82 node = doc.importNode(docType, false);
|
importNode17.java | 34 * The "importNode(importedNode,deep)" method for a 39 * Invoke method importNode(importedNode,deep) where importedNode 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 46 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Core-Document-importNode')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NOT_SUPPORTED_ERR'])">http://www.w3.org/TR/DOM-Level-2-Core/core#xpointer(id('Core-Document-importNode')/raises/exception[@name='DOMException']/descr/p[substring-before(.,':')='NOT_SUPPORTED_ERR'])</a> 80 node = doc.importNode(anotherDoc, false);
|
documentimportnode19.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true/false, import a entity nodes ent2 and ent6 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 100 entityImp2 = (Entity) docImp.importNode(entity2, false); 101 entityImp6 = (Entity) docImp.importNode(entity6, true);
|
attrgetownerelement04.java | 83 attrImp = (Attr) docImp.importNode(attr, true);
|
documentimportnode01.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import the attribute, "street" of the second 46 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 88 importedAttr = doc.importNode(attr, false);
|
documentimportnode02.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import the attribute, "emp:zone" of the 46 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 92 importedAttr = docImported.importNode(attr, false);
|
documentimportnode03.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import the default Attribute attribute, 47 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 90 importedAttr = doc.importNode(attr, false);
|
documentimportnode04.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import the default Attribute attribute, 47 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 96 importedAttr = newDoc.importNode(attr, true);
|
documentimportnode05.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import a newly created attribute node, 46 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 88 importedAttr = docImported.importNode(attr, false);
|
documentimportnode06.java | 34 * The importNode method imports a node from another document to this document. 38 * Using the method importNode with deep=false, try to import this document object to itself. 43 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 80 docImported = (Document) doc.importNode(doc, false);
|
documentimportnode07.java | 34 * The importNode method imports a node from another document to this document. 38 * Using the method importNode with deep=true, try to import this Document's 44 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 83 imported = doc.importNode(docType, true);
|
documentimportnode08.java | 34 * The importNode method imports a node from another document to this document. 38 * Using the method importNode with deep=true, try to import a newly created DOcumentType 43 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 87 imported = doc.importNode(docType, true);
|
documentimportnode09.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import a newly created DocumentFragment node 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 87 importedDocFrag = doc.importNode(docFragment, false);
|
documentimportnode10.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import a newly created DocumentFragment node 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 87 importedDocFrag = doc.importNode(docFragment, true);
|
documentimportnode11.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import this Document's documentElement 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 83 imported = doc.importNode(docElement, false);
|
documentimportnode12.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import the first address element node of this 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 86 imported = doc.importNode(addressElem, true);
|
documentimportnode13.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=false, import the first employee element node of this 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 84 imported = doc.importNode(employeeElem, false);
|
documentimportnode14.java | 34 * Using the method importNode with deep=true, import the fourth employee element node of this 41 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 90 imported = newDoc.importNode(employeeElem, true);
|
documentimportnode15.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import a newly created Text node for this 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 83 textToImport = doc.createTextNode("Document.importNode test for a TEXT_NODE"); 84 textImport = doc.importNode(textToImport, true); 86 assertEquals("documentimportnode15", "Document.importNode test for a TEXT_NODE", nodeValue);
|
documentimportnode17.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import a newly created Comment node for this 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 83 commentToImport = doc.createComment("Document.importNode test for a COMMENT_NODE"); 84 commentImport = doc.importNode(commentToImport, true); 86 assertEquals("documentimportnode17", "Document.importNode test for a COMMENT_NODE", nodeValue);
|
documentimportnode18.java | 34 * The importNode method imports a node from another document to this document. 39 * Using the method importNode with deep=true, import a newly created PI node for this 45 * @see <a href="http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode">http://www.w3.org/TR/DOM-Level-2-Core/core#Core-Document-importNode</a> 85 piImport = (ProcessingInstruction) doc.importNode(piToImport, false);
|