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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.String
assemblyFullName
Fully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Xmlstatic java.lang.String
className
Qualified class name: System.Xml.Serialization.XmlSerializerstatic JCType
classType
The 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, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location, Evidence evidence)
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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlSerializer
public XmlSerializer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
XmlSerializer
public XmlSerializer(NetType type) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, ThreadAbortException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, MissingManifestResourceException, NotSupportedException, SecurityException, NotImplementedException, InvalidCastException, NullReferenceException, FormatException, InvalidEnumArgumentException, ApplicationException, Win32Exception, RankException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
ThreadAbortException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
OverflowException
MissingManifestResourceException
NotSupportedException
SecurityException
NotImplementedException
InvalidCastException
NullReferenceException
FormatException
InvalidEnumArgumentException
ApplicationException
Win32Exception
RankException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, ThreadAbortException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, NotImplementedException, InvalidCastException, InvalidEnumArgumentException, PlatformNotSupportedException, SecurityException, SystemException, UnauthorizedAccessException, IOException, ApplicationException, Win32Exception, RankException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
ThreadAbortException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
FormatException
OverflowException
NotImplementedException
InvalidCastException
InvalidEnumArgumentException
PlatformNotSupportedException
SecurityException
SystemException
UnauthorizedAccessException
IOException
ApplicationException
Win32Exception
RankException
FileNotFoundException
DirectoryNotFoundException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
-
XmlSerializer
public XmlSerializer(NetType type, NetType[] extraTypes) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NotImplementedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, TypeLoadException, FileNotFoundException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationException
ConfigurationErrorsException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NotImplementedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
TypeLoadException
FileNotFoundException
UnauthorizedAccessException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NotImplementedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, TypeLoadException, FileNotFoundException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationException
ConfigurationErrorsException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NotImplementedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
TypeLoadException
FileNotFoundException
UnauthorizedAccessException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NotImplementedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, TypeLoadException, FileNotFoundException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationException
ConfigurationErrorsException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NotImplementedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
TypeLoadException
FileNotFoundException
UnauthorizedAccessException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, FormatException, ArgumentException, MissingManifestResourceException, ConfigurationErrorsException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, InvalidOperationException, OutOfMemoryException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NotImplementedException, TypeLoadException, KeyNotFoundException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
FormatException
ArgumentException
MissingManifestResourceException
ConfigurationErrorsException
ObjectDisposedException
AbandonedMutexException
NotSupportedException
InvalidOperationException
OutOfMemoryException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
NotImplementedException
TypeLoadException
KeyNotFoundException
SecurityException
-
XmlSerializer
public XmlSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location, Evidence evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, FormatException, ArgumentException, ConfigurationException, ConfigurationErrorsException, OverflowException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, NotImplementedException, CultureNotFoundException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, NullReferenceException, TypeLoadException, SecurityException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
FormatException
ArgumentException
ConfigurationException
ConfigurationErrorsException
OverflowException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
ObjectDisposedException
AbandonedMutexException
NotSupportedException
NotImplementedException
CultureNotFoundException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
NullReferenceException
TypeLoadException
SecurityException
KeyNotFoundException
-
XmlSerializer
public XmlSerializer(NetType type, XmlRootAttribute root) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ConfigurationException, ConfigurationErrorsException, ObjectDisposedException, InvalidOperationException, NotSupportedException, NotImplementedException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, TypeLoadException, FileNotFoundException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
ConfigurationException
ConfigurationErrorsException
ObjectDisposedException
InvalidOperationException
NotSupportedException
NotImplementedException
OutOfMemoryException
IndexOutOfRangeException
SecurityException
TypeLoadException
FileNotFoundException
UnauthorizedAccessException
-
XmlSerializer
public XmlSerializer(XmlTypeMapping xmlTypeMapping) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, FormatException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, TypeLoadException, KeyNotFoundException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
FormatException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
TypeLoadException
KeyNotFoundException
OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSerializer
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSerializer
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CanDeserialize
public boolean CanDeserialize(XmlReader xmlReader) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
Deserialize
public NetObject Deserialize(Stream stream) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, XmlException, MulticastNotSupportedException, FormatException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
XmlException
MulticastNotSupportedException
FormatException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
MissingMethodException
-
Deserialize
public NetObject Deserialize(TextReader textReader) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, XmlException, MulticastNotSupportedException, FormatException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
XmlException
MulticastNotSupportedException
FormatException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
MissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, MulticastNotSupportedException, FormatException, XmlException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException, NotSupportedException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
MulticastNotSupportedException
FormatException
XmlException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
NotSupportedException
MissingMethodException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, FormatException, XmlException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
MulticastNotSupportedException
FormatException
XmlException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
NotSupportedException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, java.lang.String encodingStyle, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, MulticastNotSupportedException, XmlException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
MulticastNotSupportedException
XmlException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
-
Deserialize
public NetObject Deserialize(XmlReader xmlReader, XmlDeserializationEvents events) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, FormatException, XmlException, OutOfMemoryException, OverflowException, NullReferenceException, ConfigurationException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
MulticastNotSupportedException
FormatException
XmlException
OutOfMemoryException
OverflowException
NullReferenceException
ConfigurationException
NotSupportedException
-
GenerateSerializer
public static Assembly GenerateSerializer(NetType[] types, XmlMapping[] mappings) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, FormatException, SecurityException, InvalidOperationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, ConfigurationErrorsException, RankException, OutOfMemoryException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
FormatException
SecurityException
InvalidOperationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
IndexOutOfRangeException
ConfigurationErrorsException
RankException
OutOfMemoryException
UnauthorizedAccessException
-
GenerateSerializer
public static Assembly GenerateSerializer(NetType[] types, XmlMapping[] mappings, CompilerParameters parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, SecurityException, FormatException, ConfigurationException, ConfigurationErrorsException, OverflowException, RankException, OutOfMemoryException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
SecurityException
FormatException
ConfigurationException
ConfigurationErrorsException
OverflowException
RankException
OutOfMemoryException
UnauthorizedAccessException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
GetXmlSerializerAssemblyName
public static java.lang.String GetXmlSerializerAssemblyName(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException, SecurityException, NotImplementedException, InvalidCastException, NullReferenceException, FormatException, InvalidEnumArgumentException, ApplicationException, Win32Exception, ObjectDisposedException, RankException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException, KeyNotFoundException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
OverflowException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
SecurityException
NotImplementedException
InvalidCastException
NullReferenceException
FormatException
InvalidEnumArgumentException
ApplicationException
Win32Exception
ObjectDisposedException
RankException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
KeyNotFoundException
OutOfMemoryException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings, Evidence evidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException, TypeLoadException, KeyNotFoundException, RankException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
NullReferenceException
TypeLoadException
KeyNotFoundException
RankException
-
FromMappings
public static XmlSerializer[] FromMappings(XmlMapping[] mappings, NetType type) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException, ObjectDisposedException, NotImplementedException, InvalidCastException, InvalidEnumArgumentException, PlatformNotSupportedException, SecurityException, OutOfMemoryException, SystemException, UnauthorizedAccessException, IOException, ApplicationException, Win32Exception, RankException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
FormatException
OverflowException
IndexOutOfRangeException
ObjectDisposedException
NotImplementedException
InvalidCastException
InvalidEnumArgumentException
PlatformNotSupportedException
SecurityException
OutOfMemoryException
SystemException
UnauthorizedAccessException
IOException
ApplicationException
Win32Exception
RankException
FileNotFoundException
DirectoryNotFoundException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
CultureNotFoundException
-
FromTypes
public static XmlSerializer[] FromTypes(NetType[] types) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, AbandonedMutexException, NotSupportedException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, NotImplementedException, ConfigurationErrorsException, OutOfMemoryException, ThreadAbortException, MissingMethodException, SecurityException, CultureNotFoundException, InvalidEnumArgumentException, Win32Exception, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
ObjectDisposedException
AbandonedMutexException
NotSupportedException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
NotImplementedException
ConfigurationErrorsException
OutOfMemoryException
ThreadAbortException
MissingMethodException
SecurityException
CultureNotFoundException
InvalidEnumArgumentException
Win32Exception
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
KeyNotFoundException
-
Serialize
public void Serialize(Stream stream, NetObject o) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, CultureNotFoundException, MissingManifestResourceException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
ArgumentNullException
ArgumentOutOfRangeException
FormatException
CultureNotFoundException
MissingManifestResourceException
MissingMethodException
-
Serialize
public void Serialize(Stream stream, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, CultureNotFoundException, MissingManifestResourceException, MulticastNotSupportedException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
ArgumentNullException
ArgumentOutOfRangeException
FormatException
CultureNotFoundException
MissingManifestResourceException
MulticastNotSupportedException
MissingMethodException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, MissingManifestResourceException, MissingMethodException
-
Serialize
public void Serialize(TextWriter textWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
ArgumentNullException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
MulticastNotSupportedException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MulticastNotSupportedException, NotSupportedException, MissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, MulticastNotSupportedException, ConfigurationException, NotSupportedException, MissingMethodException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
MulticastNotSupportedException
ConfigurationException
NotSupportedException
MissingMethodException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, MulticastNotSupportedException, OverflowException, ConfigurationException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
MulticastNotSupportedException
OverflowException
ConfigurationException
NotSupportedException
-
Serialize
public void Serialize(XmlWriter xmlWriter, NetObject o, XmlSerializerNamespaces namespaces, java.lang.String encodingStyle, java.lang.String id) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, MulticastNotSupportedException, OverflowException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
MulticastNotSupportedException
OverflowException
ConfigurationException
-
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
-
-