- java.lang.Object
-
- swim.dynamic.Bridge
-
-
Constructor Summary
Constructors Constructor Description Bridge()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract HostLibrarygetHostLibrary(String libraryName)abstract HostPackagegetHostPackage(String packageName)abstract HostType<?>getHostType(Class<?> typeClass)abstract booleanguestCanExecute(Object guestFunction)abstract booleanguestCanInvokeMember(Object guestObject, String member)abstract ObjectguestExecute(Object guestFunction, Object... arguments)abstract voidguestExecuteVoid(Object guestFunction, Object... arguments)abstract ObjectguestInvokeMember(Object guestObject, String member, Object... arguments)abstract StringguestLanguage()abstract ObjectguestToHost(Object guestValue)abstract Collection<HostLibrary>hostLibraries()abstract Collection<HostPackage>hostPackages()abstract HostRuntimehostRuntime()abstract ObjecthostToGuest(Object hostValue)abstract <T> HostType<? super T>hostType(T hostValue)abstract Collection<HostType<?>>hostTypes()
-
-
-
Method Detail
-
hostRuntime
public abstract HostRuntime hostRuntime()
-
guestLanguage
public abstract String guestLanguage()
-
getHostLibrary
public abstract HostLibrary getHostLibrary(String libraryName)
-
hostLibraries
public abstract Collection<HostLibrary> hostLibraries()
-
getHostPackage
public abstract HostPackage getHostPackage(String packageName)
-
hostPackages
public abstract Collection<HostPackage> hostPackages()
-
hostTypes
public abstract Collection<HostType<?>> hostTypes()
-
hostType
public abstract <T> HostType<? super T> hostType(T hostValue)
-
guestCanExecute
public abstract boolean guestCanExecute(Object guestFunction)
-
guestCanInvokeMember
public abstract boolean guestCanInvokeMember(Object guestObject, String member)
-
-