Class DesignerSerializationManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.componentmodel.design.serialization.DesignerSerializationManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IServiceProvider
public class DesignerSerializationManager extends NetObject implements IServiceProvider
The base .NET class managing System.ComponentModel.Design.Serialization.DesignerSerializationManager, System.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.Design.Serialization.DesignerSerializationManager
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.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Forms.Designstatic java.lang.String
className
Qualified class name: System.ComponentModel.Design.Serialization.DesignerSerializationManagerstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DesignerSerializationManager()
DesignerSerializationManager(java.lang.Object instance)
Internal constructor.DesignerSerializationManager(IServiceProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSessionCreated(EventHandler handler)
void
addSessionDisposed(EventHandler handler)
static DesignerSerializationManager
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDesignerSerializationManager
, a cast assert is made to check if types are compatible.IDisposable
CreateSession()
IContainer
getContainer()
IList
getErrors()
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
getPreserveNames()
NetObject
getPropertyProvider()
boolean
getRecycleInstances()
NetType
GetRuntimeType(java.lang.String typeName)
NetObject
GetSerializer(NetType objectType, NetType serializerType)
boolean
getValidateRecycledTypes()
void
removeSessionCreated(EventHandler handler)
void
removeSessionDisposed(EventHandler handler)
void
setContainer(IContainer Container)
void
setJCOInstance(JCObject instance)
void
setPreserveNames(boolean PreserveNames)
void
setPropertyProvider(NetObject PropertyProvider)
void
setRecycleInstances(boolean RecycleInstances)
void
setValidateRecycledTypes(boolean ValidateRecycledTypes)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IServiceProvider
GetService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms.Design- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ComponentModel.Design.Serialization.DesignerSerializationManager- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DesignerSerializationManager
public DesignerSerializationManager(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
DesignerSerializationManager
public DesignerSerializationManager() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DesignerSerializationManager
public DesignerSerializationManager(IServiceProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- 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 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 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 interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceIServiceProvider
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- 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
-
cast
public static DesignerSerializationManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDesignerSerializationManager
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DesignerSerializationManager
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateSession
public IDisposable CreateSession() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
GetSerializer
public NetObject GetSerializer(NetType objectType, NetType serializerType) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, TypeLoadException, FormatException, IndexOutOfRangeException, CultureNotFoundException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
TypeLoadException
FormatException
IndexOutOfRangeException
CultureNotFoundException
MissingMethodException
-
GetRuntimeType
public NetType GetRuntimeType(java.lang.String typeName) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, TypeLoadException, ArgumentOutOfRangeException, InvalidOperationException
-
getPreserveNames
public boolean getPreserveNames() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPreserveNames
public void setPreserveNames(boolean PreserveNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getRecycleInstances
public boolean getRecycleInstances() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRecycleInstances
public void setRecycleInstances(boolean RecycleInstances) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getValidateRecycledTypes
public boolean getValidateRecycledTypes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValidateRecycledTypes
public void setValidateRecycledTypes(boolean ValidateRecycledTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getErrors
public IList getErrors() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getContainer
public IContainer getContainer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContainer
public void setContainer(IContainer Container) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
getPropertyProvider
public NetObject getPropertyProvider() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPropertyProvider
public void setPropertyProvider(NetObject PropertyProvider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSessionCreated
public void addSessionCreated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSessionCreated
public void removeSessionCreated(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSessionDisposed
public void addSessionDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSessionDisposed
public void removeSessionDisposed(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-