All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sirix.api.json.JsonNodeReadOnlyTrx Maven / Gradle / Ivy

package org.sirix.api.json;

import org.sirix.api.Move;
import org.sirix.api.NodeCursor;
import org.sirix.api.NodeReadOnlyTrx;
import org.sirix.api.ResourceManager;
import org.sirix.api.visitor.JsonNodeVisitor;
import org.sirix.api.visitor.VisitResult;
import org.sirix.api.visitor.VisitResultType;

public interface JsonNodeReadOnlyTrx extends NodeCursor, NodeReadOnlyTrx {
  @Override
  public String getValue();

  public boolean isObject();

  public boolean isObjectKey();

  public boolean isArray();

  public boolean isStringValue();

  public boolean isNumberValue();

  public boolean isNullValue();

  public boolean isBooleanValue();

  @Override
  Move moveTo(long nodeKey);

  @Override
  Move moveToDocumentRoot();

  @Override
  Move moveToFirstChild();

  @Override
  Move moveToLastChild();

  @Override
  Move moveToLeftSibling();

  @Override
  Move moveToParent();

  @Override
  Move moveToRightSibling();

  @Override
  Move moveToPrevious();

  @Override
  Move moveToNext();

  @Override
  Move moveToNextFollowing();

  /**
   * Accept a visitor.
   *
   * @param visitor {@link JsonNodeVisitor} implementation
   * @return {@link VisitResultType} value
   */
  VisitResult acceptVisitor(JsonNodeVisitor visitor);

  /**
   * Get the {@link ResourceManager} this instance is bound to.
   *
   * @return the resource manager
   */
  @Override
  JsonResourceManager getResourceManager();

  boolean getBooleanValue();

  Number getNumberValue();

  public int getNameKey();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy