public class CodeDomComponentSerializationService extends ComponentSerializationService
.NET documentation at https://learn.microsoft.com/dotnet/api/System.ComponentModel.Design.Serialization.CodeDomComponentSerializationService
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.Windows.Forms.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Design
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.Design.Serialization.CodeDomComponentSerializationService
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeDomComponentSerializationService()
Initializes a new instance by invoking the .NET constructor.
|
CodeDomComponentSerializationService(IServiceProvider provider)
Initializes a new instance by invoking the .NET constructor.
|
CodeDomComponentSerializationService(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeDomComponentSerializationService |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CodeDomComponentSerializationService, a cast assert is made to check if types are compatible. |
SerializationStore |
CreateStore()
Invokes the .NET member CreateStore.
|
ICollection |
Deserialize(SerializationStore store)
Invokes the .NET member Deserialize.
|
ICollection |
Deserialize(SerializationStore store,
IContainer container)
Invokes the .NET member Deserialize.
|
void |
DeserializeTo(SerializationStore store,
IContainer container,
boolean validateRecycledTypes,
boolean applyDefaults)
Invokes the .NET member DeserializeTo.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
SerializationStore |
LoadStore(Stream stream)
Invokes the .NET member LoadStore.
|
void |
Serialize(SerializationStore store,
NetObject value)
Invokes the .NET member Serialize.
|
void |
SerializeAbsolute(SerializationStore store,
NetObject value)
Invokes the .NET member SerializeAbsolute.
|
void |
SerializeMember(SerializationStore store,
NetObject owningObject,
MemberDescriptor member)
Invokes the .NET member SerializeMember.
|
void |
SerializeMemberAbsolute(SerializationStore store,
NetObject owningObject,
MemberDescriptor member)
Invokes the .NET member SerializeMemberAbsolute.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
DeserializeTo, DeserializeTopublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeDomComponentSerializationService()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic CodeDomComponentSerializationService(IServiceProvider provider) throws java.lang.Throwable
provider - the argument of type IServiceProviderjava.lang.Throwable - if the .NET constructor failspublic CodeDomComponentSerializationService(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static CodeDomComponentSerializationService cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeDomComponentSerializationService, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeDomComponentSerializationService instancejava.lang.Throwable - in case of error during cast operationpublic SerializationStore CreateStore() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException
CreateStore in class ComponentSerializationServicejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic ICollection Deserialize(SerializationStore store) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, SerializationException, EventSourceException, EndOfStreamException, IOException, OutOfMemoryException, ExternalException, CultureNotFoundException, FormatException, InvalidCastException
Deserialize in class ComponentSerializationServicestore - the argument of type SerializationStorejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itEventSourceException - if the .NET member raises itEndOfStreamException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic ICollection Deserialize(SerializationStore store, IContainer container) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, SerializationException, EventSourceException, EndOfStreamException, IOException, OutOfMemoryException, ExternalException, CultureNotFoundException, FormatException, InvalidCastException
Deserialize in class ComponentSerializationServicestore - the argument of type SerializationStorecontainer - the argument of type IContainerjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itEventSourceException - if the .NET member raises itEndOfStreamException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic void DeserializeTo(SerializationStore store, IContainer container, boolean validateRecycledTypes, boolean applyDefaults) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, SerializationException, EventSourceException, EndOfStreamException, IOException, OutOfMemoryException, ExternalException, CultureNotFoundException, FormatException, InvalidCastException
DeserializeTo in class ComponentSerializationServicestore - the argument of type SerializationStorecontainer - the argument of type IContainervalidateRecycledTypes - the argument of type booleanapplyDefaults - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itEventSourceException - if the .NET member raises itEndOfStreamException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentSerializationServicepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentSerializationServicepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentSerializationServicenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentSerializationServicepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentSerializationServicepublic SerializationStore LoadStore(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
LoadStore in class ComponentSerializationServicestream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Serialize(SerializationStore store, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException
Serialize in class ComponentSerializationServicestore - the argument of type SerializationStorevalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void SerializeAbsolute(SerializationStore store, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException
SerializeAbsolute in class ComponentSerializationServicestore - the argument of type SerializationStorevalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void SerializeMember(SerializationStore store, NetObject owningObject, MemberDescriptor member) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException
SerializeMember in class ComponentSerializationServicestore - the argument of type SerializationStoreowningObject - the argument of type NetObjectmember - the argument of type MemberDescriptorjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void SerializeMemberAbsolute(SerializationStore store, NetObject owningObject, MemberDescriptor member) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException
SerializeMemberAbsolute in class ComponentSerializationServicestore - the argument of type SerializationStoreowningObject - the argument of type NetObjectmember - the argument of type MemberDescriptorjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ComponentSerializationServiceinstance - the new underlying object