public class NetDataContractSerializer extends XmlObjectSerializer
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.NetDataContractSerializer
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.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.Serialization
|
static java.lang.String |
className
Qualified class name: System.Runtime.Serialization.NetDataContractSerializer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NetDataContractSerializer() |
NetDataContractSerializer(java.lang.Object instance)
Internal constructor.
|
NetDataContractSerializer(StreamingContext context) |
NetDataContractSerializer(StreamingContext context,
int maxItemsInObjectGraph,
boolean ignoreExtensionDataObject,
FormatterAssemblyStyle assemblyFormat,
ISurrogateSelector surrogateSelector) |
NetDataContractSerializer(java.lang.String rootName,
java.lang.String rootNamespace) |
NetDataContractSerializer(java.lang.String rootName,
java.lang.String rootNamespace,
StreamingContext context,
int maxItemsInObjectGraph,
boolean ignoreExtensionDataObject,
FormatterAssemblyStyle assemblyFormat,
ISurrogateSelector surrogateSelector) |
NetDataContractSerializer(XmlDictionaryString rootName,
XmlDictionaryString rootNamespace) |
NetDataContractSerializer(XmlDictionaryString rootName,
XmlDictionaryString rootNamespace,
StreamingContext context,
int maxItemsInObjectGraph,
boolean ignoreExtensionDataObject,
FormatterAssemblyStyle assemblyFormat,
ISurrogateSelector surrogateSelector) |
ReadObject, ReadObject, WriteObject, WriteObjectpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NetDataContractSerializer()
throws java.lang.Throwable,
ArgumentException,
IndexOutOfRangeException,
ArgumentNullException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
public NetDataContractSerializer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic NetDataContractSerializer(StreamingContext context) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
public NetDataContractSerializer(StreamingContext context, int maxItemsInObjectGraph, boolean ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, OverflowException, SecurityException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionOverflowExceptionSecurityExceptionOutOfMemoryExceptionpublic NetDataContractSerializer(java.lang.String rootName,
java.lang.String rootNamespace)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
MissingManifestResourceException,
InvalidOperationException,
OutOfMemoryException,
ObjectDisposedException,
AbandonedMutexException
public NetDataContractSerializer(java.lang.String rootName,
java.lang.String rootNamespace,
StreamingContext context,
int maxItemsInObjectGraph,
boolean ignoreExtensionDataObject,
FormatterAssemblyStyle assemblyFormat,
ISurrogateSelector surrogateSelector)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
OverflowException,
OutOfMemoryException
public NetDataContractSerializer(XmlDictionaryString rootName, XmlDictionaryString rootNamespace) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
public NetDataContractSerializer(XmlDictionaryString rootName, XmlDictionaryString rootNamespace, StreamingContext context, int maxItemsInObjectGraph, boolean ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, NotImplementedException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, OutOfMemoryException
public static NetDataContractSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NetDataContractSerializer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNetDataContractSerializer instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Deserialize(Stream stream) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, XmlException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionXmlExceptionKeyNotFoundExceptionpublic FormatterAssemblyStyle getAssemblyFormat() throws java.lang.Throwable
java.lang.Throwablepublic SerializationBinder getBinder() throws java.lang.Throwable
java.lang.Throwablepublic StreamingContext getContext() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIgnoreExtensionDataObject()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XmlObjectSerializerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XmlObjectSerializerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XmlObjectSerializerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XmlObjectSerializerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XmlObjectSerializerJCType representing the CLR Type of the instantiated Classpublic int getMaxItemsInObjectGraph()
throws java.lang.Throwable
java.lang.Throwablepublic ISurrogateSelector getSurrogateSelector() throws java.lang.Throwable
java.lang.Throwablepublic boolean IsStartObject(XmlDictionaryReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic boolean IsStartObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
IsStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic NetObject ReadObject(XmlDictionaryReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic NetObject ReadObject(XmlReader reader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic NetObject ReadObject(XmlReader reader, boolean verifyObjectName) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
ReadObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void Serialize(Stream stream, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void setAssemblyFormat(FormatterAssemblyStyle AssemblyFormat) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionOverflowExceptionOutOfMemoryExceptionpublic void setBinder(SerializationBinder Binder) throws java.lang.Throwable
java.lang.Throwablepublic void setContext(StreamingContext Context) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class XmlObjectSerializerpublic void setSurrogateSelector(ISurrogateSelector SurrogateSelector) throws java.lang.Throwable
java.lang.Throwablepublic void WriteEndObject(XmlDictionaryWriter writer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteEndObject(XmlWriter writer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
WriteEndObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
WriteObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteObjectContent(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteObjectContent(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException
WriteObjectContent in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionKeyNotFoundExceptionpublic void WriteStartObject(XmlDictionaryWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedExceptionpublic void WriteStartObject(XmlWriter writer, NetObject graph) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException
WriteStartObject in class XmlObjectSerializerjava.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionOverflowExceptionOutOfMemoryExceptionNotSupportedException