public class TypeConverter extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.TypeConverter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.TypeConverter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TypeConverter() |
TypeConverter(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TypeConverter()
throws java.lang.Throwable
java.lang.Throwablepublic TypeConverter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic boolean CanConvertFrom(ITypeDescriptorContext context, NetType sourceType) throws java.lang.Throwable
java.lang.Throwablepublic boolean CanConvertFrom(NetType sourceType) throws java.lang.Throwable
java.lang.Throwablepublic boolean CanConvertTo(ITypeDescriptorContext context, NetType destinationType) throws java.lang.Throwable
java.lang.Throwablepublic boolean CanConvertTo(NetType destinationType) throws java.lang.Throwable
java.lang.Throwablepublic static TypeConverter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TypeConverter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTypeConverter instancejava.lang.Throwable - in case of error during cast operationpublic NetObject ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, NetObject value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException
public NetObject ConvertFrom(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OutOfMemoryException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException
public NetObject ConvertFromInvariantString(ITypeDescriptorContext context, java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public NetObject ConvertFromInvariantString(java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
public NetObject ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public NetObject ConvertFromString(ITypeDescriptorContext context, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OutOfMemoryException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException
public NetObject ConvertFromString(java.lang.String text) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotSupportedException
public NetObject ConvertTo(ITypeDescriptorContext context, CultureInfo culture, NetObject value, NetType destinationType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, FormatException, IndexOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionIndexOutOfRangeExceptionpublic NetObject ConvertTo(NetObject value, NetType destinationType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, FormatException
public java.lang.String ConvertToInvariantString(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
public java.lang.String ConvertToInvariantString(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
public java.lang.String ConvertToString(ITypeDescriptorContext context, CultureInfo culture, NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, FormatException
public java.lang.String ConvertToString(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OutOfMemoryException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionOutOfMemoryExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionIndexOutOfRangeExceptionpublic java.lang.String ConvertToString(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, OutOfMemoryException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionOutOfMemoryExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionIndexOutOfRangeExceptionpublic NetObject CreateInstance(IDictionary propertyValues) throws java.lang.Throwable
java.lang.Throwablepublic NetObject CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) throws java.lang.Throwable
java.lang.Throwablepublic boolean GetCreateInstanceSupported()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetCreateInstanceSupported(ITypeDescriptorContext context) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable
java.lang.Throwablepublic PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, NetObject value, Attribute[] attributes) throws java.lang.Throwable
java.lang.Throwablepublic PropertyDescriptorCollection GetProperties(NetObject value) throws java.lang.Throwable
java.lang.Throwablepublic boolean GetPropertiesSupported()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetPropertiesSupported(ITypeDescriptorContext context) throws java.lang.Throwable
java.lang.Throwablepublic ICollection GetStandardValues() throws java.lang.Throwable
java.lang.Throwablepublic boolean GetStandardValuesExclusive()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetStandardValuesExclusive(ITypeDescriptorContext context) throws java.lang.Throwable
java.lang.Throwablepublic boolean GetStandardValuesSupported()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetStandardValuesSupported(ITypeDescriptorContext context) throws java.lang.Throwable
java.lang.Throwablepublic boolean IsValid(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionpublic boolean IsValid(NetObject value) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject