Package-level declarations
Types
Simple implementation for RendererTypeHandler. Renders any type by default
Annotation handler used to hook class declarations with specific annotations
Callback to handle new class or interface declarations in executed snippets
Evaluates code. Ignores the result
Preprocesses the cell code before its execution
Container that holds all notebook display results
Display result that may be converted to JSON for display_data
kernel response
Display result that holds the reference to related cell
Serializable version of type handler. Renders only classes which exactly match className by FQN. Accepts only ResultHandlerCodeExecution because it's the only one that may be correctly serialized.
Wrapper for DisplayResults that contain in memory results. This is only applicable to the embedded server.
Mimetypes for in-memory output.
Wrapper for in-memory results that also tracks its corresponding mime-type.
Provides information about used Java runtime
Jupyter client which is used for running the instance of a kernel
Factory interface for creating slf4j-compatible loggers.
Represents settings that depend on the environment in which the kernel is running
Interface representing kernel engine, the core facility for compiling and executing code snippets
Kotlin kernel version, with full specification, Comparable implementation and serialization/deserialization
Loads library definitions given the LibrariesScanResult. Usually used in loadLibraryDefinitions
or loadLibraryProducers
Convenient implementation of DisplayResult, supposed to be used almost always.
Precompiled renderer type handler. Override this interface if you want type rendering to be optimized.
Object that should be rendered to DisplayResult if it is the result of code cell
RendererFieldHandler renders results for which acceptsField returns true
RendererHandler renders results for which accepts returns true
RenderersProcessor is responsible for rendering objects. You may use it to render values exactly like notebook renders results, and also register new renderers in runtime.
RendererTypeHandler handles results for which runtime types acceptsType returns true
Execution represented by code snippet. This snippet should return the value.
Execution interface for type handlers
Execution results accessor interface
Defines the way of how redirection from standard outputs works
Renders any object of superType (including subtypes). If execution is ResultHandlerCodeExecution, this renderer may be optimized by pre-compilation (unlike ExactRendererTypeHandler).
Properties
Renders any array (primitive or non-primitive) into a list.
Renders a Swing JComponent in-memory, but also provides a screenshot of the UI as fallback data.
Renders a Swing JDialog in-memory, but also provides a screenshot of the UI as fallback data.
Renders a Swing JFrame in-memory, but also provides a screenshot of the UI as fallback data.
This prefix is used for creating temporary properties names, and variables which names start from this prefix are not processed by FieldHandler processor
Functions
Check if the JSON object contains a display_id
entry.
Convert a buffered image to a PNG file encoded as a Base64 Json string.
Renders HTML as iframe in Kotlin Notebook or simply in other clients
Takes a screenshot of the Swing component. This is only possible if the component has been given a size, see JComponent.getSize. Either manually or through a java.awt.LayoutManager.
Takes a screenshot of a JDialog.
Takes a screenshot of a JFrame.
Convenience method for converting nullable DisplayResult to JSON