public class XmlObjectSerializer extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.XmlObjectSerializer
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.Private.DataContractSerialization, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.DataContractSerialization
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.XmlObjectSerializer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XmlObjectSerializer() |
XmlObjectSerializer(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlObjectSerializer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlObjectSerializer, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
IsStartObject(XmlDictionaryReader reader) |
boolean |
IsStartObject(XmlReader reader) |
NetObject |
ReadObject(Stream stream) |
NetObject |
ReadObject(XmlDictionaryReader reader) |
NetObject |
ReadObject(XmlDictionaryReader reader,
boolean verifyObjectName) |
NetObject |
ReadObject(XmlReader reader) |
NetObject |
ReadObject(XmlReader reader,
boolean verifyObjectName) |
void |
setJCOInstance(JCObject instance) |
void |
WriteEndObject(XmlDictionaryWriter writer) |
void |
WriteEndObject(XmlWriter writer) |
void |
WriteObject(Stream stream,
NetObject graph) |
void |
WriteObject(XmlDictionaryWriter writer,
NetObject graph) |
void |
WriteObject(XmlWriter writer,
NetObject graph) |
void |
WriteObjectContent(XmlDictionaryWriter writer,
NetObject graph) |
void |
WriteObjectContent(XmlWriter writer,
NetObject graph) |
void |
WriteStartObject(XmlDictionaryWriter writer,
NetObject graph) |
void |
WriteStartObject(XmlWriter writer,
NetObject graph) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlObjectSerializer()
throws java.lang.Throwable
java.lang.Throwablepublic XmlObjectSerializer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static XmlObjectSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlObjectSerializer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlObjectSerializer instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic boolean IsStartObject(XmlDictionaryReader reader) throws java.lang.Throwable
java.lang.Throwablepublic boolean IsStartObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public NetObject ReadObject(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, XmlException, IOException, OutOfMemoryException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionXmlExceptionIOExceptionOutOfMemoryExceptionSerializationExceptionpublic NetObject ReadObject(XmlDictionaryReader reader) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SerializationException
public NetObject ReadObject(XmlDictionaryReader reader, boolean verifyObjectName) throws java.lang.Throwable
java.lang.Throwablepublic NetObject ReadObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, SerializationException
public NetObject ReadObject(XmlReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void WriteEndObject(XmlDictionaryWriter writer) throws java.lang.Throwable
java.lang.Throwablepublic void WriteEndObject(XmlWriter writer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void WriteObject(Stream stream, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, XmlException, FormatException, SerializationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionXmlExceptionFormatExceptionSerializationExceptionpublic void WriteObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, SerializationException
public void WriteObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, FormatException, SerializationException
public void WriteObjectContent(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable
java.lang.Throwablepublic void WriteObjectContent(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void WriteStartObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable
java.lang.Throwablepublic void WriteStartObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException