Package system.componentmodel
Class TypeConverter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.TypeConverter
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
BaseIListConverter,BaseNumberConverter,BooleanConverter,BrushConverter,CacheModeConverter,CharConverter,CollectionConverter,ColorConverter,ColorConverter,CommandConverter,ConfigurationConverterBase,CornerRadiusConverter,CultureInfoConverter,CultureInfoIetfLanguageTagConverter,CursorConverter,CursorConverter,DataGridLengthConverter,DataGridViewCellStyleConverter,DateOnlyConverter,DateTimeConverter,DateTimeOffsetConverter,DeferrableContentConverter,DependencyPropertyConverter,DialogResultConverter,DoubleCollectionConverter,DurationConverter,DynamicResourceExtensionConverter,EnumConverter,EventSetterHandlerConverter,ExpandableObjectConverter,ExpressionConverter,ExtendedProtectionPolicyTypeConverter,FigureLengthConverter,FontConverter,FontFamilyConverter,FontSizeConverter,FontStretchConverter,FontStyleConverter,FontWeightConverter,GeometryConverter,GridLengthConverter,GuidConverter,ImageConverter,ImageFormatConverter,ImageSourceConverter,InputScopeConverter,InputScopeNameConverter,Int32CollectionConverter,Int32RectConverter,KeyConverter,KeyGestureConverter,KeysConverter,KeySplineConverter,KeyTimeConverter,LengthConverter,LinkConverter,ListBindingConverter,Matrix3DConverter,MatrixConverter,ModifierKeysConverter,MouseActionConverter,MouseGestureConverter,MultilineStringConverter,NameReferenceConverter,NullableConverter,OpacityConverter,PaddingConverter,PathFigureCollectionConverter,PixelFormatConverter,Point3DCollectionConverter,Point3DConverter,Point4DConverter,PointCollectionConverter,PointConverter,PointConverter,PropertyPathConverter,QuaternionConverter,Rect3DConverter,RectangleConverter,RectConverter,ReferenceConverter,RepeatBehaviorConverter,RequestCachePolicyConverter,RoutedEventConverter,SelectionRangeConverter,SetterTriggerConditionValueConverter,Size3DConverter,SizeConverter,SizeConverter,SizeFConverter,StringConverter,StrokeCollectionConverter,TableLayoutSettingsTypeConverter,TemplateBindingExpressionConverter,TemplateBindingExtensionConverter,TemplateKeyConverter,TextDecorationCollectionConverter,ThemeModeConverter,ThicknessConverter,TimeOnlyConverter,TimeSpanConverter,TransformConverter,TreeNodeConverter,TypeListConverter,UriTypeConverter,Vector3DCollectionConverter,Vector3DConverter,VectorCollectionConverter,VectorConverter,VersionConverter,VirtualizationCacheLengthConverter,XamlTypeTypeConverter,XmlLanguageConverter
public class TypeConverter extends NetObject
The base .NET class managing System.ComponentModel.TypeConverter, System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.TypeConverter
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.StringassemblyFullNameFully assembly qualified name: System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.ComponentModel.TypeConverterstatic java.lang.StringclassNameQualified class name: System.ComponentModel.TypeConverterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TypeConverter()TypeConverter(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ComponentModel.TypeConverter- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.TypeConverter- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TypeConverter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTypeConverter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TypeConverterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanConvertFrom
public boolean CanConvertFrom(ITypeDescriptorContext context, NetType sourceType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CanConvertFrom
public boolean CanConvertFrom(NetType sourceType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CanConvertTo
public boolean CanConvertTo(ITypeDescriptorContext context, NetType destinationType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CanConvertTo
public boolean CanConvertTo(NetType destinationType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCreateInstanceSupported
public boolean GetCreateInstanceSupported() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetCreateInstanceSupported
public boolean GetCreateInstanceSupported(ITypeDescriptorContext context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPropertiesSupported
public boolean GetPropertiesSupported() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetPropertiesSupported
public boolean GetPropertiesSupported(ITypeDescriptorContext context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetStandardValuesExclusive
public boolean GetStandardValuesExclusive() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetStandardValuesExclusive
public boolean GetStandardValuesExclusive(ITypeDescriptorContext context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetStandardValuesSupported
public boolean GetStandardValuesSupported() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetStandardValuesSupported
public boolean GetStandardValuesSupported(ITypeDescriptorContext context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsValid
public boolean IsValid(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException
-
IsValid
public boolean IsValid(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
GetStandardValues
public ICollection GetStandardValues() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProperties
public PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, NetObject value, Attribute[] attributes) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProperties
public PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProperties
public PropertyDescriptorCollection GetProperties(NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ConvertFrom
public NetObject ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
ConvertFrom
public NetObject ConvertFrom(NetObject value) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException
-
ConvertFromInvariantString
public NetObject ConvertFromInvariantString(ITypeDescriptorContext context, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
ConvertFromInvariantString
public NetObject ConvertFromInvariantString(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException
-
ConvertFromString
public NetObject ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException
-
ConvertFromString
public NetObject ConvertFromString(ITypeDescriptorContext context, java.lang.String text) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException
-
ConvertFromString
public NetObject ConvertFromString(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException
-
ConvertTo
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
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionCultureNotFoundExceptionNullReferenceExceptionFormatExceptionIndexOutOfRangeException
-
ConvertTo
public NetObject ConvertTo(NetObject value, NetType destinationType) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, FormatException
-
CreateInstance
public NetObject CreateInstance(IDictionary propertyValues) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateInstance
public NetObject CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ConvertToInvariantString
public java.lang.String ConvertToInvariantString(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
-
ConvertToInvariantString
public java.lang.String ConvertToInvariantString(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
-
ConvertToString
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
-
ConvertToString
public java.lang.String ConvertToString(ITypeDescriptorContext context, NetObject value) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionOutOfMemoryExceptionArgumentExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionIndexOutOfRangeException
-
ConvertToString
public java.lang.String ConvertToString(NetObject value) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionOutOfMemoryExceptionArgumentExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionIndexOutOfRangeException
-
-