package com.github.simy4.xpath.jackson.navigator.node;

import com.fasterxml.jackson.databind.JsonNode;
import com.github.simy4.xpath.XmlBuilderException;
import com.github.simy4.xpath.navigator.Node;

/**
 * Jackson node contract.
 *
 * @author Alex Simkin
 * @since 1.1
 */
public interface JacksonNode extends Node, Iterable<JacksonNode> {

    JacksonNode getParent();

    void setParent(JacksonNode parent);

    JsonNode get();

    void set(JsonNode jsonNode) throws XmlBuilderException;

    void remove() throws XmlBuilderException;

}

package com.github.simy4.xpath.jackson.navigator.node;

import com.fasterxml.jackson.databind.JsonNode;
import com.github.simy4.xpath.XmlBuilderException;
import com.github.simy4.xpath.navigator.Node;

/**
 * Jackson node contract.
 *
 * @author Alex Simkin
 * @since 1.2
 */
public interface JacksonNode extends Node, Iterable<JacksonNode> {

    JacksonNode getParent();

    void setParent(JacksonNode parent);

    JsonNode get();

    void set(JsonNode jsonNode) throws XmlBuilderException;

    void remove() throws XmlBuilderException;

}

Fix javadoc for JacksonNode.