Home
last modified time | relevance | path

Searched refs:nextSibling (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/javax/xml/transform/dom/
DDOMResult.java126 public DOMResult(Node node, Node nextSibling) { in DOMResult() argument
129 if (nextSibling != null) { in DOMResult()
136 … if ((node.compareDocumentPosition(nextSibling)&Node.DOCUMENT_POSITION_CONTAINED_BY)==0) { in DOMResult()
142 setNextSibling(nextSibling); in DOMResult()
175 public DOMResult(Node node, Node nextSibling, String systemId) { in DOMResult() argument
178 if (nextSibling != null) { in DOMResult()
185 … if ((node.compareDocumentPosition(nextSibling)&Node.DOCUMENT_POSITION_CONTAINED_BY)==0) { in DOMResult()
191 setNextSibling(nextSibling); in DOMResult()
218 if (nextSibling != null) { in setNode()
225 … if ((node.compareDocumentPosition(nextSibling)&Node.DOCUMENT_POSITION_CONTAINED_BY)==0) { in setNode()
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DTextImpl.java133 Node nextSibling = getNextSibling(); in nextTextNode() local
134 if (nextSibling == null) { in nextTextNode()
138 short nodeType = nextSibling.getNodeType(); in nextTextNode()
140 ? (TextImpl) nextSibling in nextTextNode()
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java996 Node nextSibling = node.getNextSibling(); in adoptAndCheck() local
1007 } else if (nextSibling != null) { in adoptAndCheck()
1008 parent.insertBefore(node, nextSibling); in adoptAndCheck()