test_class.file: base/lang/src/test/java/leap/lang/jsoup/nodes/NodeTest.java
test_class.identifier: NodeTest
test_case.body: @Test public void unwrapNoChildren() {
          Document doc = Jsoup.parse("<div>One <span></span> Two</div>");
          Element span = doc.select("span").first();
          Node node = span.unwrap();
          assertEquals("<div>One  Two</div>", TextUtil.stripNewlines(doc.body().html()));
          assertTrue(node == null);
      }
test_case.class_method_signature: NodeTest.unwrapNoChildren()
test_case.full_signature: @Test public void unwrapNoChildren()
test_case.identifier: unwrapNoChildren
test_case.invocations: parse first select unwrap assertEquals stripNewlines html body assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void unwrapNoChildren()
focal_class.declarator: parentNode
focal_class.original_string: Node parentNode;
focal_class.type: Node
focal_class.var_name: parentNode
focal_class.declarator: childNodes
focal_class.original_string: List<Node> childNodes;
focal_class.type: List<Node>
focal_class.var_name: childNodes
focal_class.declarator: attributes
focal_class.original_string: Attributes attributes;
focal_class.type: Attributes
focal_class.var_name: attributes
focal_class.declarator: baseUri
focal_class.original_string: String baseUri;
focal_class.type: String
focal_class.var_name: baseUri
focal_class.declarator: siblingIndex
focal_class.original_string: int siblingIndex;
focal_class.type: int
focal_class.var_name: siblingIndex
focal_class.file: base/lang/src/main/java/leap/lang/jsoup/nodes/Node.java
focal_class.identifier: Node
focal_class.interfaces: implements Cloneable
focal_class.class_method_signature: Node.Node(String baseUri, Attributes attributes)
focal_class.full_signature: protected  Node(String baseUri, Attributes attributes)
focal_class.identifier: Node
focal_class.modifiers: protected
focal_class.parameters: (String baseUri, Attributes attributes)
focal_class.signature:  Node(String baseUri, Attributes attributes)
focal_class.class_method_signature: Node.Node(String baseUri)
focal_class.full_signature: protected  Node(String baseUri)
focal_class.identifier: Node
focal_class.modifiers: protected
focal_class.parameters: (String baseUri)
focal_class.signature:  Node(String baseUri)
focal_class.class_method_signature: Node.Node()
focal_class.full_signature: protected  Node()
focal_class.identifier: Node
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  Node()
focal_class.class_method_signature: Node.nodeName()
focal_class.full_signature: public abstract String nodeName()
focal_class.identifier: nodeName
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String nodeName()
focal_class.class_method_signature: Node.attr(String attributeKey)
focal_class.full_signature: public String attr(String attributeKey)
focal_class.identifier: attr
focal_class.modifiers: public
focal_class.parameters: (String attributeKey)
focal_class.return: String
focal_class.signature: String attr(String attributeKey)
focal_class.class_method_signature: Node.attributes()
focal_class.full_signature: public Attributes attributes()
focal_class.identifier: attributes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Attributes
focal_class.signature: Attributes attributes()
focal_class.class_method_signature: Node.attr(String attributeKey, String attributeValue)
focal_class.full_signature: public Node attr(String attributeKey, String attributeValue)
focal_class.identifier: attr
focal_class.modifiers: public
focal_class.parameters: (String attributeKey, String attributeValue)
focal_class.return: Node
focal_class.signature: Node attr(String attributeKey, String attributeValue)
focal_class.class_method_signature: Node.hasAttr(String attributeKey)
focal_class.full_signature: public boolean hasAttr(String attributeKey)
focal_class.identifier: hasAttr
focal_class.modifiers: public
focal_class.parameters: (String attributeKey)
focal_class.return: boolean
focal_class.signature: boolean hasAttr(String attributeKey)
focal_class.class_method_signature: Node.removeAttr(String attributeKey)
focal_class.full_signature: public Node removeAttr(String attributeKey)
focal_class.identifier: removeAttr
focal_class.modifiers: public
focal_class.parameters: (String attributeKey)
focal_class.return: Node
focal_class.signature: Node removeAttr(String attributeKey)
focal_class.class_method_signature: Node.baseUri()
focal_class.full_signature: public String baseUri()
focal_class.identifier: baseUri
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String baseUri()
focal_class.class_method_signature: Node.setBaseUri(final String baseUri)
focal_class.full_signature: public void setBaseUri(final String baseUri)
focal_class.identifier: setBaseUri
focal_class.modifiers: public
focal_class.parameters: (final String baseUri)
focal_class.return: void
focal_class.signature: void setBaseUri(final String baseUri)
focal_class.class_method_signature: Node.absUrl(String attributeKey)
focal_class.full_signature: public String absUrl(String attributeKey)
focal_class.identifier: absUrl
focal_class.modifiers: public
focal_class.parameters: (String attributeKey)
focal_class.return: String
focal_class.signature: String absUrl(String attributeKey)
focal_class.class_method_signature: Node.childNode(int index)
focal_class.full_signature: public Node childNode(int index)
focal_class.identifier: childNode
focal_class.modifiers: public
focal_class.parameters: (int index)
focal_class.return: Node
focal_class.signature: Node childNode(int index)
focal_class.class_method_signature: Node.childNodes()
focal_class.full_signature: public List<Node> childNodes()
focal_class.identifier: childNodes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Node>
focal_class.signature: List<Node> childNodes()
focal_class.class_method_signature: Node.childNodesCopy()
focal_class.full_signature: public List<Node> childNodesCopy()
focal_class.identifier: childNodesCopy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Node>
focal_class.signature: List<Node> childNodesCopy()
focal_class.class_method_signature: Node.childNodeSize()
focal_class.full_signature: public final int childNodeSize()
focal_class.identifier: childNodeSize
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int childNodeSize()
focal_class.class_method_signature: Node.childNodesAsArray()
focal_class.full_signature: protected Node[] childNodesAsArray()
focal_class.identifier: childNodesAsArray
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Node[]
focal_class.signature: Node[] childNodesAsArray()
focal_class.class_method_signature: Node.parent()
focal_class.full_signature: public Node parent()
focal_class.identifier: parent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node parent()
focal_class.class_method_signature: Node.parentNode()
focal_class.full_signature: public final Node parentNode()
focal_class.identifier: parentNode
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node parentNode()
focal_class.class_method_signature: Node.ownerDocument()
focal_class.full_signature: public Document ownerDocument()
focal_class.identifier: ownerDocument
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Document
focal_class.signature: Document ownerDocument()
focal_class.class_method_signature: Node.remove()
focal_class.full_signature: public void remove()
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void remove()
focal_class.class_method_signature: Node.before(String html)
focal_class.full_signature: public Node before(String html)
focal_class.identifier: before
focal_class.modifiers: public
focal_class.parameters: (String html)
focal_class.return: Node
focal_class.signature: Node before(String html)
focal_class.class_method_signature: Node.before(Node node)
focal_class.full_signature: public Node before(Node node)
focal_class.identifier: before
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: Node
focal_class.signature: Node before(Node node)
focal_class.class_method_signature: Node.after(String html)
focal_class.full_signature: public Node after(String html)
focal_class.identifier: after
focal_class.modifiers: public
focal_class.parameters: (String html)
focal_class.return: Node
focal_class.signature: Node after(String html)
focal_class.class_method_signature: Node.after(Node node)
focal_class.full_signature: public Node after(Node node)
focal_class.identifier: after
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: Node
focal_class.signature: Node after(Node node)
focal_class.class_method_signature: Node.addSiblingHtml(int index, String html)
focal_class.full_signature: private void addSiblingHtml(int index, String html)
focal_class.identifier: addSiblingHtml
focal_class.modifiers: private
focal_class.parameters: (int index, String html)
focal_class.return: void
focal_class.signature: void addSiblingHtml(int index, String html)
focal_class.class_method_signature: Node.wrap(String html)
focal_class.full_signature: public Node wrap(String html)
focal_class.identifier: wrap
focal_class.modifiers: public
focal_class.parameters: (String html)
focal_class.return: Node
focal_class.signature: Node wrap(String html)
focal_class.class_method_signature: Node.unwrap()
focal_class.full_signature: public Node unwrap()
focal_class.identifier: unwrap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node unwrap()
focal_class.class_method_signature: Node.getDeepChild(Element el)
focal_class.full_signature: private Element getDeepChild(Element el)
focal_class.identifier: getDeepChild
focal_class.modifiers: private
focal_class.parameters: (Element el)
focal_class.return: Element
focal_class.signature: Element getDeepChild(Element el)
focal_class.class_method_signature: Node.replaceWith(Node in)
focal_class.full_signature: public void replaceWith(Node in)
focal_class.identifier: replaceWith
focal_class.modifiers: public
focal_class.parameters: (Node in)
focal_class.return: void
focal_class.signature: void replaceWith(Node in)
focal_class.class_method_signature: Node.setParentNode(Node parentNode)
focal_class.full_signature: protected void setParentNode(Node parentNode)
focal_class.identifier: setParentNode
focal_class.modifiers: protected
focal_class.parameters: (Node parentNode)
focal_class.return: void
focal_class.signature: void setParentNode(Node parentNode)
focal_class.class_method_signature: Node.replaceChild(Node out, Node in)
focal_class.full_signature: protected void replaceChild(Node out, Node in)
focal_class.identifier: replaceChild
focal_class.modifiers: protected
focal_class.parameters: (Node out, Node in)
focal_class.return: void
focal_class.signature: void replaceChild(Node out, Node in)
focal_class.class_method_signature: Node.removeChild(Node out)
focal_class.full_signature: protected void removeChild(Node out)
focal_class.identifier: removeChild
focal_class.modifiers: protected
focal_class.parameters: (Node out)
focal_class.return: void
focal_class.signature: void removeChild(Node out)
focal_class.class_method_signature: Node.addChildren(Node... children)
focal_class.full_signature: protected void addChildren(Node... children)
focal_class.identifier: addChildren
focal_class.modifiers: protected
focal_class.parameters: (Node... children)
focal_class.return: void
focal_class.signature: void addChildren(Node... children)
focal_class.class_method_signature: Node.addChildren(int index, Node... children)
focal_class.full_signature: protected void addChildren(int index, Node... children)
focal_class.identifier: addChildren
focal_class.modifiers: protected
focal_class.parameters: (int index, Node... children)
focal_class.return: void
focal_class.signature: void addChildren(int index, Node... children)
focal_class.class_method_signature: Node.reparentChild(Node child)
focal_class.full_signature: private void reparentChild(Node child)
focal_class.identifier: reparentChild
focal_class.modifiers: private
focal_class.parameters: (Node child)
focal_class.return: void
focal_class.signature: void reparentChild(Node child)
focal_class.class_method_signature: Node.reindexChildren()
focal_class.full_signature: private void reindexChildren()
focal_class.identifier: reindexChildren
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reindexChildren()
focal_class.class_method_signature: Node.siblingNodes()
focal_class.full_signature: public List<Node> siblingNodes()
focal_class.identifier: siblingNodes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Node>
focal_class.signature: List<Node> siblingNodes()
focal_class.class_method_signature: Node.nextSibling()
focal_class.full_signature: public Node nextSibling()
focal_class.identifier: nextSibling
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node nextSibling()
focal_class.class_method_signature: Node.previousSibling()
focal_class.full_signature: public Node previousSibling()
focal_class.identifier: previousSibling
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node previousSibling()
focal_class.class_method_signature: Node.siblingIndex()
focal_class.full_signature: public int siblingIndex()
focal_class.identifier: siblingIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int siblingIndex()
focal_class.class_method_signature: Node.setSiblingIndex(int siblingIndex)
focal_class.full_signature: protected void setSiblingIndex(int siblingIndex)
focal_class.identifier: setSiblingIndex
focal_class.modifiers: protected
focal_class.parameters: (int siblingIndex)
focal_class.return: void
focal_class.signature: void setSiblingIndex(int siblingIndex)
focal_class.class_method_signature: Node.traverse(NodeVisitor nodeVisitor)
focal_class.full_signature: public Node traverse(NodeVisitor nodeVisitor)
focal_class.identifier: traverse
focal_class.modifiers: public
focal_class.parameters: (NodeVisitor nodeVisitor)
focal_class.return: Node
focal_class.signature: Node traverse(NodeVisitor nodeVisitor)
focal_class.class_method_signature: Node.outerHtml()
focal_class.full_signature: public String outerHtml()
focal_class.identifier: outerHtml
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String outerHtml()
focal_class.class_method_signature: Node.outerHtml(StringBuilder accum)
focal_class.full_signature: protected void outerHtml(StringBuilder accum)
focal_class.identifier: outerHtml
focal_class.modifiers: protected
focal_class.parameters: (StringBuilder accum)
focal_class.return: void
focal_class.signature: void outerHtml(StringBuilder accum)
focal_class.class_method_signature: Node.getOutputSettings()
focal_class.full_signature: private Document.OutputSettings getOutputSettings()
focal_class.identifier: getOutputSettings
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Document.OutputSettings
focal_class.signature: Document.OutputSettings getOutputSettings()
focal_class.class_method_signature: Node.outerHtmlHead(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.full_signature: abstract void outerHtmlHead(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.identifier: outerHtmlHead
focal_class.modifiers: abstract
focal_class.parameters: (StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.return: void
focal_class.signature: void outerHtmlHead(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.class_method_signature: Node.outerHtmlTail(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.full_signature: abstract void outerHtmlTail(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.identifier: outerHtmlTail
focal_class.modifiers: abstract
focal_class.parameters: (StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.return: void
focal_class.signature: void outerHtmlTail(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.class_method_signature: Node.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Node.indent(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.full_signature: protected void indent(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.identifier: indent
focal_class.modifiers: protected
focal_class.parameters: (StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.return: void
focal_class.signature: void indent(StringBuilder accum, int depth, Document.OutputSettings out)
focal_class.class_method_signature: Node.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: Node.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Node.clone()
focal_class.full_signature: @Override public Node clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node clone()
focal_class.class_method_signature: Node.doClone(Node parent)
focal_class.full_signature: protected Node doClone(Node parent)
focal_class.identifier: doClone
focal_class.modifiers: protected
focal_class.parameters: (Node parent)
focal_class.return: Node
focal_class.signature: Node doClone(Node parent)
focal_method.body: public Node unwrap() {
          Validate.notNull(parentNode);
  
          int index = siblingIndex;
          Node firstChild = childNodes.size() > 0 ? childNodes.get(0) : null;
          parentNode.addChildren(index, this.childNodesAsArray());
          this.remove();
  
          return firstChild;
      }
focal_method.class_method_signature: Node.unwrap()
focal_method.full_signature: public Node unwrap()
focal_method.identifier: unwrap
focal_method.invocations: notNull size get addChildren childNodesAsArray remove
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Node
focal_method.signature: Node unwrap()