JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Codemesh.JuggerNET.ReflectionPeerValueMarshaller Class Reference

A marshaller that uses reflection to get/set properties. More...

Inheritance diagram for Codemesh.JuggerNET.ReflectionPeerValueMarshaller:
Inheritance graph
[legend]
Collaboration diagram for Codemesh.JuggerNET.ReflectionPeerValueMarshaller:
Collaboration graph
[legend]

Public Member Functions

 ReflectionPeerValueMarshaller (string defaultPeerType)
 
override JavaProxy Marshal (object dotNetInstance, JavaProxy javaInstance, PeerMarshalContext ctx)
 Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null) More...
 
override object Unmarshal (JavaProxy javaInstance, object dotNetInstance)
 Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null). More...
 
- Public Member Functions inherited from Codemesh.JuggerNET.BasePeerMarshaller
JavaProxy Marshal (object dotNetInstance)
 Marshals a .NET instance into a Java object.
More...
 
JavaProxy Marshal (object dotNetInstance, JavaProxy javaObject)
 Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null) More...
 
object Unmarshal (JavaProxy javaInstance)
 Unmarshals a Java instance into a .NET object. More...
 

Protected Member Functions

void MarshalData (object dotNetInstance, Hashtable fields, Hashtable props, JavaProxy javaInstance)
 
void UnmarshalData (object dotNetInstance, Hashtable fields, Hashtable props, JavaProxy javaInstance)
 
- Protected Member Functions inherited from Codemesh.JuggerNET.BasePeerMarshaller
Hashtable GatherFields (Type type, BindingFlags flags)
 
Hashtable GatherProperties (Type type, BindingFlags flags)
 

Protected Attributes

string mDefaultPeerType
 

Additional Inherited Members

- Static Protected Attributes inherited from Codemesh.JuggerNET.BasePeerMarshaller
static JavaClass PEER = new JavaClass( "com/codemesh/peer/PeerType", null )
 

Detailed Description

A marshaller that uses reflection to get/set properties.

<exclude>

Member Function Documentation

◆ Marshal()

override JavaProxy Codemesh.JuggerNET.ReflectionPeerValueMarshaller.Marshal ( object  dotNetInstance,
JavaProxy  javaInstance,
PeerMarshalContext  ctx 
)
inlinevirtual

Marshals a .NET instance into a Java object.
The Java object may be passed as an optional argument (default is null)

Parameters
dotNetInstancethe .NET instance to marshal
javaInstancean optional Java instance to marshal into.
ctxthe marshalling context.
Returns

Implements Codemesh.JuggerNET.BasePeerMarshaller.

◆ Unmarshal()

override object Codemesh.JuggerNET.ReflectionPeerValueMarshaller.Unmarshal ( JavaProxy  javaInstance,
object  dotNetInstance 
)
inlinevirtual

Unmarshals a Java instance into a .NET object. The .NET object may be passed as an optional argument (default is null).

Parameters
javaInstancethe Java instance to unmarshal.
dotNetInstancean optional .NET instance to unmarshal into.
Returns

Implements Codemesh.JuggerNET.BasePeerMarshaller.

References Codemesh.JuggerNET.JavaProxy.IsInstanceOf().


The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.