JavetProxyConverter how to
expose specific Java types as idiomatic JavaScript objects via Proxy.See: Description
| Class | Description |
|---|---|
| BaseJavetProxyPlugin |
The type Base javet proxy plugin.
|
| BaseJavetProxyPluginMultiple |
The type Base javet proxy plugin for multiple classes.
|
| BaseJavetProxyPluginSingle<T> |
The type Base javet proxy plugin for single class.
|
| JavetProxyPluginArray |
The type Javet proxy plugin array.
|
| JavetProxyPluginClass |
The type Javet proxy plugin class.
|
| JavetProxyPluginDefault |
The type Javet proxy plugin primitive.
|
| JavetProxyPluginList |
The type Javet proxy plugin list.
|
| JavetProxyPluginMap |
The type Javet proxy plugin map.
|
| JavetProxyPluginSet |
The type Javet proxy plugin set.
|
JavetProxyConverter how to
expose specific Java types as idiomatic JavaScript objects via Proxy.
Each plugin maps a Java type to JavaScript semantics (index access, iteration, length, spread, etc.):
JavetProxyPluginDefault - Default plugin for general Java objects;
handles String, BigInteger, ZonedDateTime, and other common types.JavetProxyPluginArray - Java arrays exposed as JavaScript Array-like
objects with index access, length, push, pop, forEach, map, etc.JavetProxyPluginList - java.util.List exposed as JavaScript Array-like
objects with index access, length, push, pop, splice, forEach, etc.JavetProxyPluginMap - java.util.Map exposed as JavaScript Map-like
objects with size, get, set, has, delete, forEach, and iteration.JavetProxyPluginSet - java.util.Set exposed as JavaScript Set-like
objects with size, add, has, delete, forEach, and iteration.JavetProxyPluginClass - java.lang.Class proxy for static member access.Base classes for building custom plugins:
BaseJavetProxyPlugin - Base with Symbol.toPrimitive and error handling.BaseJavetProxyPluginSingle - For plugins targeting a single Java type.BaseJavetProxyPluginMultiple - For plugins targeting multiple Java types.