public class

ResultSnapshot

extends Object
implements AutoCloseable
java.lang.Object
   ↳ com.pdftron.sdf.ResultSnapshot

Class Overview

The class ResultSnapshot. Represents a transition between two document states.

Summary

Public Constructors
ResultSnapshot(long impl_ptr)
Public Methods
long __GetHandle()
void close()
Frees the native memory of the object.
DocSnapshot currentState()
Retrieves the document state to which this transition has transitioned.
void destroy()
Frees the native memory of the object.
boolean isNullTransition()
Returns whether this transition is a null transition.
boolean isOk()
Returns whether this transition is valid or a null transition.
DocSnapshot previousState()
Retrieves the document state from which this transition has transitioned.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.AutoCloseable

Public Constructors

public ResultSnapshot (long impl_ptr)

Public Methods

public long __GetHandle ()

public void close ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

public DocSnapshot currentState ()

Retrieves the document state to which this transition has transitioned.

Returns
  • The current document state.

public void destroy ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

public boolean isNullTransition ()

Returns whether this transition is a null transition.

Returns
  • Whether this transition is a null transition.

public boolean isOk ()

Returns whether this transition is valid or a null transition.

Returns
  • Whether this transition is valid or a null transition.

public DocSnapshot previousState ()

Retrieves the document state from which this transition has transitioned.

Returns
  • The previous document state.