io.sirix.api.json.JsonNodeReadOnlyTrx Maven / Gradle / Ivy
package io.sirix.api.json;
import com.google.gson.JsonObject;
import io.sirix.api.visitor.JsonNodeVisitor;
import io.sirix.api.visitor.VisitResult;
import io.sirix.api.visitor.VisitResultType;
import io.sirix.node.SirixDeweyID;
import io.sirix.api.NodeCursor;
import io.sirix.api.NodeReadOnlyTrx;
import io.sirix.api.ResourceSession;
import java.util.List;
public interface JsonNodeReadOnlyTrx extends NodeCursor, NodeReadOnlyTrx {
@Override
String getValue();
boolean isObject();
boolean isObjectKey();
boolean isArray();
boolean isStringValue();
boolean isNumberValue();
boolean isNullValue();
boolean isBooleanValue();
@Override
boolean moveTo(long nodeKey);
@Override
boolean moveToDocumentRoot();
@Override
boolean moveToFirstChild();
@Override
boolean moveToLastChild();
@Override
boolean moveToLeftSibling();
@Override
boolean moveToParent();
@Override
boolean moveToRightSibling();
@Override
boolean moveToPrevious();
@Override
boolean moveToNext();
@Override
boolean moveToNextFollowing();
/**
* Accept a visitor.
*
* @param visitor {@link JsonNodeVisitor} implementation
* @return {@link VisitResultType} value
*/
VisitResult acceptVisitor(JsonNodeVisitor visitor);
/**
* Get the {@link ResourceSession} this instance is bound to.
*
* @return the resource manager
*/
@Override
JsonResourceSession getResourceSession();
boolean getBooleanValue();
Number getNumberValue();
int getNameKey();
List getUpdateOperations();
List getUpdateOperationsInSubtreeOfNode(SirixDeweyID deweyID, long maxDepth);
}