Package system.xml.serialization
Class XmlSchemaImporter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.serialization.SchemaImporter
-
- system.xml.serialization.XmlSchemaImporter
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlSchemaImporter extends SchemaImporter
The base .NET class managing System.Xml.Serialization.XmlSchemaImporter, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.See: https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Serialization.XmlSchemaImporter
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Xmlstatic String
className
Qualified class name: System.Xml.Serialization.XmlSchemaImporterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaImporter()
XmlSchemaImporter(Object instance)
Internal constructor.XmlSchemaImporter(XmlSchemas schemas)
XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context)
XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, ImportContext context)
XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers)
XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options)
-
Method Summary
-
Methods inherited from class system.xml.serialization.SchemaImporter
getExtensions
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Xml- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Xml.Serialization.XmlSchemaImporter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaImporter
public XmlSchemaImporter(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, CodeDomProvider codeProvider, ImportContext context) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas, CodeGenerationOptions options, ImportContext context) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers, CodeGenerationOptions options) throws Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classSchemaImporter
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classSchemaImporter
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classSchemaImporter
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classSchemaImporter
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classSchemaImporter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classSchemaImporter
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlSchemaImporter cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaImporter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSchemaImporter
instance- Throws:
Throwable
- in case of error during cast operation
-
ImportAnyType
public XmlMembersMapping ImportAnyType(XmlQualifiedName typeName, String elementName) throws Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, NotImplementedException, XmlException, XmlSchemaException, MulticastNotSupportedException, RankException, OutOfMemoryException
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
ObjectDisposedException
NotImplementedException
XmlException
XmlSchemaException
MulticastNotSupportedException
RankException
OutOfMemoryException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(String name, String ns, SoapSchemaMember[] members) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, SecurityException, FormatException, RankException, OutOfMemoryException
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
SecurityException
FormatException
RankException
OutOfMemoryException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName name) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, CultureNotFoundException, RankException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[] names) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, NotSupportedException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[] names, NetType baseType, boolean baseTypeCanBeIndirect) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, RankException
-
ImportDerivedTypeMapping
public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
ImportDerivedTypeMapping
public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType, boolean baseTypeCanBeIndirect) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, CultureNotFoundException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName) throws Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName, NetType baseType) throws Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName, NetType baseType, boolean baseTypeCanBeIndirect) throws Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, NotImplementedException, XmlException, XmlSchemaException, MulticastNotSupportedException, RankException
- Throws:
Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
ObjectDisposedException
NotImplementedException
XmlException
XmlSchemaException
MulticastNotSupportedException
RankException
-
ImportTypeMapping
public XmlTypeMapping ImportTypeMapping(XmlQualifiedName name) throws Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
-