Package system.xml.serialization
Class XmlSerializer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.serialization.XmlSerializer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlSerializer extends NetObject
The base .NET class managing System.Xml.Serialization.XmlSerializer, System.Private.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Serialization.XmlSerializer
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.Private.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Private.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.Serialization.XmlSerializerstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSerializer()XmlSerializer(java.lang.Object instance)Internal constructor.XmlSerializer(NetType type)XmlSerializer(NetType type, java.lang.String defaultNamespace)XmlSerializer(NetType type, NetType[] extraTypes)XmlSerializer(NetType type, XmlAttributeOverrides overrides)XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace)XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location)XmlSerializer(NetType type, XmlRootAttribute root)XmlSerializer(XmlTypeMapping xmlTypeMapping)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUnknownAttribute(XmlAttributeEventHandler handler)voidaddUnknownElement(XmlElementEventHandler handler)voidaddUnknownNode(XmlNodeEventHandler handler)voidaddUnreferencedObject(UnreferencedObjectEventHandler handler)booleanCanDeserialize(XmlReader xmlReader)static XmlSerializercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlSerializer, a cast assert is made to check if types are compatible.NetObjectDeserialize(Stream stream)NetObjectDeserialize(TextReader textReader)NetObjectDeserialize(XmlReader xmlReader)NetObjectDeserialize(XmlReader xmlReader, java.lang.String encodingStyle)NetObjectDeserialize(XmlReader xmlReader, java.lang.String encodingStyle, XmlDeserializationEvents events)NetObjectDeserialize(XmlReader xmlReader, XmlDeserializationEvents events)static XmlSerializer[]FromMappings(XmlMapping[] mappings)static XmlSerializer[]FromMappings(XmlMapping[] mappings, NetType type)static XmlSerializer[]FromTypes(NetType[] types)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 objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typestatic java.lang.StringGetXmlSerializerAssemblyName(NetType type)static java.lang.StringGetXmlSerializerAssemblyName(NetType type, java.lang.String defaultNamespace)voidremoveUnknownAttribute(XmlAttributeEventHandler handler)voidremoveUnknownElement(XmlElementEventHandler handler)voidremoveUnknownNode(XmlNodeEventHandler handler)voidremoveUnreferencedObject(UnreferencedObjectEventHandler handler)voidSerialize(Stream stream, NetObject o)voidSerialize(Stream stream, NetObject o, XmlSerializerNamespaces namespaces)voidSerialize(TextWriter textWriter, NetObject o)voidSerialize(TextWriter textWriter, NetObject o, XmlSerializerNamespaces namespaces)voidSerialize(XmlWriter xmlWriter, NetObject o)voidSerialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces)voidSerialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle)voidSerialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle, java.lang.String id)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.Serialization.XmlSerializer- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
XmlSerializer
public XmlSerializer(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlSerializer
public XmlSerializer() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
XmlSerializer
public XmlSerializer(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, NullReferenceException, CryptographicException, OutOfMemoryException, CultureNotFoundException, FileNotFoundException, EventSourceException, KeyNotFoundException, FileLoadException, MulticastNotSupportedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionCryptographicExceptionOutOfMemoryExceptionCultureNotFoundExceptionFileNotFoundExceptionEventSourceExceptionKeyNotFoundExceptionFileLoadExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationException
-
XmlSerializer
public XmlSerializer(NetType type, NetType[] extraTypes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, KeyNotFoundException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionNullReferenceExceptionCultureNotFoundExceptionKeyNotFoundExceptionInvalidCastException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlRootAttribute root) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, NullReferenceException, ArrayTypeMismatchException, CryptographicException, OutOfMemoryException, FileNotFoundException, RankException, EventSourceException, FileLoadException, CultureNotFoundException, MulticastNotSupportedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionFormatExceptionNullReferenceExceptionArrayTypeMismatchExceptionCryptographicExceptionOutOfMemoryExceptionFileNotFoundExceptionRankExceptionEventSourceExceptionFileLoadExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationException
-
XmlSerializer
public XmlSerializer(XmlTypeMapping xmlTypeMapping) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- 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- 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- 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- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlSerializer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlSerializerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanDeserialize
public boolean CanDeserialize(XmlReader xmlReader) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, KeyNotFoundException
-
Deserialize
public NetObject Deserialize(Stream stream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, FormatException, XmlException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IOException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatExceptionXmlExceptionInvalidOperationExceptionNotSupportedExceptionArrayTypeMismatchExceptionIOExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(TextReader textReader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, XmlException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, FormatException, OutOfMemoryException, ArgumentNullException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionXmlExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionFormatExceptionOutOfMemoryExceptionArgumentNullExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionArrayTypeMismatchException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, OverflowException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionOverflowExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, FormatException, XmlException, OutOfMemoryException, OverflowException, IndexOutOfRangeException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionFormatExceptionXmlExceptionOutOfMemoryExceptionOverflowExceptionIndexOutOfRangeExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, FormatException, XmlException, OutOfMemoryException, OverflowException, IndexOutOfRangeException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionFormatExceptionXmlExceptionOutOfMemoryExceptionOverflowExceptionIndexOutOfRangeExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, FormatException, XmlException, OutOfMemoryException, NotSupportedException, OverflowException, IndexOutOfRangeException, NotImplementedException, KeyNotFoundException, MissingMethodException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionFormatExceptionXmlExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowExceptionIndexOutOfRangeExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionArrayTypeMismatchException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CryptographicException, OverflowException, IndexOutOfRangeException, FormatException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCryptographicExceptionOverflowExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ArrayTypeMismatchException, CryptographicException, IndexOutOfRangeException, FormatException, OutOfMemoryException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings, NetType type) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, CryptographicException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException, FileNotFoundException, RankException, EventSourceException, KeyNotFoundException, FileLoadException, MulticastNotSupportedException, MissingMethodException, TargetInvocationException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArrayTypeMismatchExceptionCryptographicExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionCultureNotFoundExceptionFileNotFoundExceptionRankExceptionEventSourceExceptionKeyNotFoundExceptionFileLoadExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionInvalidCastException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings) throws java.lang.Throwable, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ArgumentException, ArrayTypeMismatchException, CryptographicException, FormatException, OutOfMemoryException, FileNotFoundException, RankException, EventSourceException, FileLoadException, CultureNotFoundException, MulticastNotSupportedException, MissingMethodException, TargetInvocationException, KeyNotFoundException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionArrayTypeMismatchExceptionCryptographicExceptionFormatExceptionOutOfMemoryExceptionFileNotFoundExceptionRankExceptionEventSourceExceptionFileLoadExceptionCultureNotFoundExceptionMulticastNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionKeyNotFoundExceptionInvalidCastException
-
FromTypes
public static XmlSerializer[] FromTypes(NetType[] types) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, NotSupportedException, NullReferenceException, FileNotFoundException, EventSourceException, FileLoadException, CultureNotFoundException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionNullReferenceExceptionFileNotFoundExceptionEventSourceExceptionFileLoadExceptionCultureNotFoundExceptionKeyNotFoundException
-
Serialize
public void Serialize(Stream stream, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, UnreachableException, InvalidOperationException, OutOfMemoryException, ArrayTypeMismatchException, RankException, NotImplementedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionUnreachableExceptionInvalidOperationExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionRankExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(Stream stream, NetObject o) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException, FormatException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionFormatExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, UnreachableException, PlatformNotSupportedException, InvalidOperationException, OutOfMemoryException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, FormatException, NotImplementedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionUnreachableExceptionPlatformNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, NotImplementedException, KeyNotFoundException, NotSupportedException, MissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle, java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, FormatException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionFormatExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, FormatException, NotImplementedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, NotSupportedException, RankException, ArrayTypeMismatchException, NotImplementedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationException
-
addUnreferencedObject
public void addUnreferencedObject(UnreferencedObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnreferencedObject
public void removeUnreferencedObject(UnreferencedObjectEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnknownAttribute
public void addUnknownAttribute(XmlAttributeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnknownAttribute
public void removeUnknownAttribute(XmlAttributeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnknownElement
public void addUnknownElement(XmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnknownElement
public void removeUnknownElement(XmlElementEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addUnknownNode
public void addUnknownNode(XmlNodeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeUnknownNode
public void removeUnknownNode(XmlNodeEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-