Class IDesignerSerializationManagerImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.design.serialization.IDesignerSerializationManagerImplementation
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IDesignerSerializationManager
,IServiceProvider
public class IDesignerSerializationManagerImplementation extends NetObject implements IDesignerSerializationManager
The base .NET class managing System.ComponentModel.Design.Serialization.IDesignerSerializationManager, 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.Design.Serialization.IDesignerSerializationManager
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.ComponentModel.TypeConverter, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.ComponentModel.TypeConverterstatic java.lang.String
className
Qualified class name: System.ComponentModel.Design.Serialization.IDesignerSerializationManagerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IDesignerSerializationManagerImplementation(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addResolveName(ResolveNameEventHandler handler)
void
addSerializationComplete(EventHandler handler)
void
AddSerializationProvider(IDesignerSerializationProvider provider)
NetObject
CreateInstance(NetType type, ICollection arguments, java.lang.String name, boolean addToContainer)
ContextStack
getContext()
NetObject
GetInstance(java.lang.String name)
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 Typejava.lang.String
GetName(NetObject value)
PropertyDescriptorCollection
getProperties()
NetObject
GetSerializer(NetType objectType, NetType serializerType)
NetObject
GetService(NetType serviceType)
NetType
GetType(java.lang.String typeName)
void
removeResolveName(ResolveNameEventHandler handler)
void
removeSerializationComplete(EventHandler handler)
void
RemoveSerializationProvider(IDesignerSerializationProvider provider)
void
ReportError(NetObject errorInformation)
void
SetName(NetObject instance, java.lang.String name)
static IDesignerSerializationManager
ToIDesignerSerializationManager(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoIDesignerSerializationManager
, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
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.Design.Serialization.IDesignerSerializationManager- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDesignerSerializationManager
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceIServiceProvider
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDesignerSerializationManager
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceIServiceProvider
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDesignerSerializationManager
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceIServiceProvider
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDesignerSerializationManager
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIServiceProvider
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDesignerSerializationManager
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIServiceProvider
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
ToIDesignerSerializationManager
public static IDesignerSerializationManager ToIDesignerSerializationManager(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoIDesignerSerializationManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
IDesignerSerializationManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateInstance
public NetObject CreateInstance(NetType type, ICollection arguments, java.lang.String name, boolean addToContainer) throws java.lang.Throwable
- Specified by:
CreateInstance
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
GetInstance
public NetObject GetInstance(java.lang.String name) throws java.lang.Throwable
- Specified by:
GetInstance
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
GetSerializer
public NetObject GetSerializer(NetType objectType, NetType serializerType) throws java.lang.Throwable
- Specified by:
GetSerializer
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable
- Specified by:
GetService
in interfaceIServiceProvider
- Throws:
java.lang.Throwable
-
GetName
public java.lang.String GetName(NetObject value) throws java.lang.Throwable
- Specified by:
GetName
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
GetType
public NetType GetType(java.lang.String typeName) throws java.lang.Throwable
- Specified by:
GetType
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
AddSerializationProvider
public void AddSerializationProvider(IDesignerSerializationProvider provider) throws java.lang.Throwable
- Specified by:
AddSerializationProvider
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
RemoveSerializationProvider
public void RemoveSerializationProvider(IDesignerSerializationProvider provider) throws java.lang.Throwable
- Specified by:
RemoveSerializationProvider
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
ReportError
public void ReportError(NetObject errorInformation) throws java.lang.Throwable
- Specified by:
ReportError
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
SetName
public void SetName(NetObject instance, java.lang.String name) throws java.lang.Throwable
- Specified by:
SetName
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
getContext
public ContextStack getContext() throws java.lang.Throwable
- Specified by:
getContext
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
getProperties
public PropertyDescriptorCollection getProperties() throws java.lang.Throwable
- Specified by:
getProperties
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
addResolveName
public void addResolveName(ResolveNameEventHandler handler) throws java.lang.Throwable
- Specified by:
addResolveName
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
removeResolveName
public void removeResolveName(ResolveNameEventHandler handler) throws java.lang.Throwable
- Specified by:
removeResolveName
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
addSerializationComplete
public void addSerializationComplete(EventHandler handler) throws java.lang.Throwable
- Specified by:
addSerializationComplete
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
removeSerializationComplete
public void removeSerializationComplete(EventHandler handler) throws java.lang.Throwable
- Specified by:
removeSerializationComplete
in interfaceIDesignerSerializationManager
- Throws:
java.lang.Throwable
-
-