public class XholonJsApi
extends java.lang.Object
Constructor and Description |
---|
XholonJsApi() |
Modifier and Type | Method and Description |
---|---|
static void |
exportIXholonApi(IXholon node)
For now, I'm storing the various API function objects in the single Application object.
|
static void |
exportTopLevelApi(IApplication app)
Export a top-level static API that can be used by external JavaScript.
|
static void |
initIXholonApi()
Initialize the IXholon API.
|
static java.lang.Object[] |
ports(IXholon node)
Get all ports as an array.
|
static java.lang.Object[] |
portSpec(IXholon node)
Get all ports as an array.
|
static IXholon |
xpath(java.lang.String expression,
IXholon node)
This is for use with the JavaScript API.
|
public static IXholon xpath(java.lang.String expression, IXholon node)
public static java.lang.Object[] ports(IXholon node)
node
- public static java.lang.Object[] portSpec(IXholon node)
node
- public static void exportTopLevelApi(IApplication app)
app
- public static void exportIXholonApi(IXholon node)
node
- public static void initIXholonApi()