class Node implements Cloneable {

    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;
    }

    protected  Node(String baseUri, Attributes attributes);
    protected  Node(String baseUri);
    protected  Node();

}