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=9.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.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Forms.Designstatic java.lang.StringclassNameQualified class name: System.ComponentModel.Design.Serialization.DesignerSerializationManagerstatic JCTypeclassTypeThe 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 voidaddSessionCreated(EventHandler handler)voidaddSessionDisposed(EventHandler handler)static DesignerSerializationManagercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoDesignerSerializationManager, a cast assert is made to check if types are compatible.IDisposableCreateSession()IContainergetContainer()IListgetErrors()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypebooleangetPreserveNames()NetObjectgetPropertyProvider()booleangetRecycleInstances()NetTypeGetRuntimeType(java.lang.String typeName)NetObjectGetSerializer(NetType objectType, NetType serializerType)booleangetValidateRecycledTypes()voidremoveSessionCreated(EventHandler handler)voidremoveSessionDisposed(EventHandler handler)voidsetContainer(IContainer Container)voidsetJCOInstance(JCObject instance)voidsetPreserveNames(boolean PreserveNames)voidsetPropertyProvider(NetObject PropertyProvider)voidsetRecycleInstances(boolean RecycleInstances)voidsetValidateRecycledTypes(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=9.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.ThrowableInternal 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.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIServiceProvider- 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- Specified by:
getJCOClassNamein interfaceIServiceProvider- 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- Specified by:
getJCOObjectNamein interfaceIServiceProvider- 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- Specified by:
getJCOInstancein interfaceIServiceProvider- 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- Specified by:
getJCOTypein interfaceIServiceProvider- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static DesignerSerializationManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoDesignerSerializationManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
DesignerSerializationManagerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateSession
public IDisposable CreateSession() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
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.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionTypeLoadExceptionFormatExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionMissingMethodException
-
GetRuntimeType
public NetType GetRuntimeType(java.lang.String typeName) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, TypeLoadException, IndexOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, UnreachableException, ArgumentOutOfRangeException, FileLoadException, FileNotFoundException
-
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, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, 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, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, 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, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
getErrors
public IList getErrors() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, 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, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, 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
-
-