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=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Serialization.XmlSerializer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.Xml, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Private.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.Serialization.XmlSerializerstatic 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
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=5.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
-
-
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, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, OutOfMemoryException, EventSourceException, MulticastNotSupportedException, FileNotFoundException, MissingMethodException, TargetInvocationException, FileLoadException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionEventSourceExceptionMulticastNotSupportedExceptionFileNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileLoadExceptionKeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, NetType[] extraTypes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionOutOfMemoryExceptionKeyNotFoundException
-
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, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, OutOfMemoryException, KeyNotFoundException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionKeyNotFoundExceptionInvalidCastException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionOutOfMemoryExceptionKeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionOutOfMemoryExceptionKeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlRootAttribute root) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException, OutOfMemoryException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionFormatExceptionOutOfMemoryExceptionKeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, EventSourceException, MulticastNotSupportedException, FileNotFoundException, MissingMethodException, TargetInvocationException, FileLoadException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionCultureNotFoundExceptionEventSourceExceptionMulticastNotSupportedExceptionFileNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileLoadException
-
XmlSerializer
public XmlSerializer(XmlTypeMapping xmlTypeMapping) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, OutOfMemoryException
-
-
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(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public 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, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException, KeyNotFoundException
-
Deserialize
public NetObject Deserialize(Stream stream) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, XmlException, FormatException, OutOfMemoryException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionXmlExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionArrayTypeMismatchException
-
Deserialize
public NetObject Deserialize(TextReader textReader) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, XmlException, FormatException, OutOfMemoryException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionXmlExceptionFormatExceptionOutOfMemoryExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionArrayTypeMismatchException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, FormatException, XmlException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException, NotSupportedException, RankException, ArrayTypeMismatchException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionFormatExceptionXmlExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionNotSupportedExceptionRankExceptionArrayTypeMismatchExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, FormatException, XmlException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionFormatExceptionXmlExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, FormatException, XmlException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionFormatExceptionXmlExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionNotSupportedExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArgumentOutOfRangeException, NotSupportedException, OverflowException, NotImplementedException, KeyNotFoundException, MissingMethodException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionArgumentOutOfRangeExceptionNotSupportedExceptionOverflowExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodExceptionArrayTypeMismatchException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, ArrayTypeMismatchException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, PlatformNotSupportedException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings, NetType type) throws java.lang.Throwable, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotSupportedException, CultureNotFoundException, RankException, OutOfMemoryException, EventSourceException, MulticastNotSupportedException, FileNotFoundException, MissingMethodException, TargetInvocationException, FileLoadException, ArrayTypeMismatchException, KeyNotFoundException, InvalidCastException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionFormatExceptionArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionRankExceptionOutOfMemoryExceptionEventSourceExceptionMulticastNotSupportedExceptionFileNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileLoadExceptionArrayTypeMismatchExceptionKeyNotFoundExceptionInvalidCastException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, OutOfMemoryException, EventSourceException, MulticastNotSupportedException, FileNotFoundException, MissingMethodException, TargetInvocationException, FileLoadException, FormatException, KeyNotFoundException, InvalidCastException
- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionCultureNotFoundExceptionObjectDisposedExceptionRankExceptionOutOfMemoryExceptionEventSourceExceptionMulticastNotSupportedExceptionFileNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionFileLoadExceptionFormatExceptionKeyNotFoundExceptionInvalidCastException
-
FromTypes
public static XmlSerializer[] FromTypes(NetType[] types) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, FormatException, NotSupportedException, OutOfMemoryException, CultureNotFoundException, EventSourceException, FileNotFoundException, FileLoadException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionCultureNotFoundExceptionEventSourceExceptionFileNotFoundExceptionFileLoadExceptionKeyNotFoundException
-
Serialize
public void Serialize(Stream stream, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, RankException, ArrayTypeMismatchException, NotImplementedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(Stream stream, NetObject o) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, RankException, ArrayTypeMismatchException, NotImplementedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentException, NotSupportedException, IndexOutOfRangeException, ArgumentNullException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, KeyNotFoundException, MissingMethodException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionArgumentExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionKeyNotFoundExceptionMissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle, java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, KeyNotFoundException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException, RankException, NotImplementedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionRankExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, ObjectDisposedException, KeyNotFoundException, IndexOutOfRangeException, FormatException, NotSupportedException, OutOfMemoryException, RankException, NotImplementedException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionPlatformNotSupportedExceptionObjectDisposedExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionOutOfMemoryExceptionRankExceptionNotImplementedExceptionMissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, KeyNotFoundException, ArgumentOutOfRangeException, FormatException, NotSupportedException, IndexOutOfRangeException, NotImplementedException, PlatformNotSupportedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionKeyNotFoundExceptionArgumentOutOfRangeExceptionFormatExceptionNotSupportedExceptionIndexOutOfRangeExceptionNotImplementedExceptionPlatformNotSupportedExceptionMissingMethodExceptionTargetInvocationException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OutOfMemoryException, RankException, ArrayTypeMismatchException, NotImplementedException, MissingMethodException, TargetInvocationException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionRankExceptionArrayTypeMismatchExceptionNotImplementedExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedException
-
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
-
-