Package system.xml.serialization
Class XmlSerializerFactory
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.serialization.XmlSerializerFactory
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlSerializerFactory extends NetObject
The base .NET class managing System.Xml.Serialization.XmlSerializerFactory, 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.XmlSerializerFactory
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.XmlSerializerFactorystatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSerializerFactory()
XmlSerializerFactory(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlSerializerFactory
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlSerializerFactory
, a cast assert is made to check if types are compatible.XmlSerializer
CreateSerializer(NetType type)
XmlSerializer
CreateSerializer(NetType type, java.lang.String defaultNamespace)
XmlSerializer
CreateSerializer(NetType type, NetType[] extraTypes)
XmlSerializer
CreateSerializer(NetType type, XmlAttributeOverrides overrides)
XmlSerializer
CreateSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace)
XmlSerializer
CreateSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location)
XmlSerializer
CreateSerializer(NetType type, XmlAttributeOverrides overrides, NetType[] extraTypes, XmlRootAttribute root, java.lang.String defaultNamespace, java.lang.String location, Evidence evidence)
XmlSerializer
CreateSerializer(NetType type, XmlRootAttribute root)
XmlSerializer
CreateSerializer(XmlTypeMapping xmlTypeMapping)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typevoid
setJCOInstance(org.mases.jcobridge.JCObject instance)
-
-
-
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.XmlSerializerFactory- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.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 XmlSerializerFactory cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSerializerFactory
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSerializerFactory
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateSerializer
public XmlSerializer CreateSerializer(NetType type) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ThreadAbortException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, OverflowException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException, SecurityException, NotImplementedException, InvalidCastException, NullReferenceException, FormatException, InvalidEnumArgumentException, ApplicationException, Win32Exception, RankException, FileNotFoundException, OutOfMemoryException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException, KeyNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
ThreadAbortException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
OverflowException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
SecurityException
NotImplementedException
InvalidCastException
NullReferenceException
FormatException
InvalidEnumArgumentException
ApplicationException
Win32Exception
RankException
FileNotFoundException
OutOfMemoryException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
KeyNotFoundException
-
CreateSerializer
public XmlSerializer CreateSerializer(NetType type, java.lang.String defaultNamespace) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ThreadAbortException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationException, ConfigurationErrorsException, FormatException, OverflowException, IndexOutOfRangeException, NotImplementedException, InvalidCastException, InvalidEnumArgumentException, PlatformNotSupportedException, SecurityException, OutOfMemoryException, SystemException, UnauthorizedAccessException, IOException, ApplicationException, Win32Exception, RankException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TypeLoadException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
ThreadAbortException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationException
ConfigurationErrorsException
FormatException
OverflowException
IndexOutOfRangeException
NotImplementedException
InvalidCastException
InvalidEnumArgumentException
PlatformNotSupportedException
SecurityException
OutOfMemoryException
SystemException
UnauthorizedAccessException
IOException
ApplicationException
Win32Exception
RankException
FileNotFoundException
DirectoryNotFoundException
PathTooLongException
DriveNotFoundException
OperationCanceledException
TypeLoadException
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
CreateSerializer
public XmlSerializer CreateSerializer(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
-
-