Package system.runtime.serialization
Interface IFormatterConverter
-
- All Superinterfaces:
IJCOBridgeReflected
- All Known Implementing Classes:
IFormatterConverterImplementation
public interface IFormatterConverter extends IJCOBridgeReflected
The base .NET class managing System.Runtime.Serialization.IFormatterConverter, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.IFormatterConverter
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Runtime.Serialization.IFormatterConverter
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description NetObject
Convert(NetObject value, NetType type)
NetObject
Convert(NetObject value, TypeCode typeCode)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeboolean
ToBoolean(NetObject value)
byte
ToByte(NetObject value)
char
ToChar(NetObject value)
DateTime
ToDateTime(NetObject value)
Decimal
ToDecimal(NetObject value)
double
ToDouble(NetObject value)
static IFormatterConverter
ToIFormatterConverter(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIFormatterConverter
, a cast assert is made to check if types are compatible.short
ToInt16(NetObject value)
int
ToInt32(NetObject value)
long
ToInt64(NetObject value)
SByte
ToSByte(NetObject value)
Single
ToSingle(NetObject value)
java.lang.String
ToString(NetObject value)
UInt16
ToUInt16(NetObject value)
UInt32
ToUInt32(NetObject value)
UInt64
ToUInt64(NetObject value)
-
-
-
Field Detail
-
assemblyFullName
static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
static final java.lang.String className
Qualified class name: System.Runtime.Serialization.IFormatterConverter- See Also:
- Constant Field Values
-
-
Method Detail
-
ToIFormatterConverter
static IFormatterConverter ToIFormatterConverter(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIFormatterConverter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IFormatterConverter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getJCOAssemblyName
java.lang.String getJCOAssemblyName()
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
java.lang.String getJCOClassName()
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
java.lang.String getJCOObjectName()
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
java.lang.Object getJCOInstance()
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Returns:
- An
Object
representing the instance of the instantiated Class
-
getJCOType
JCType getJCOType()
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Returns:
- A
JCType
representing the Type of the instantiated Class
-
ToBoolean
boolean ToBoolean(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToByte
byte ToByte(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToChar
char ToChar(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDouble
double ToDouble(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt16
short ToInt16(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt32
int ToInt32(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToInt64
long ToInt64(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDateTime
DateTime ToDateTime(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToDecimal
Decimal ToDecimal(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Convert
NetObject Convert(NetObject value, NetType type) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Convert
NetObject Convert(NetObject value, TypeCode typeCode) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
java.lang.String ToString(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-