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..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Serialization.XmlSchemaImporter
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.XmlSchemaImporterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaImporter()
XmlSchemaImporter(java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlSchemaImporter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaImporter
, a cast assert is made to check if types are compatible.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 objectJCType
getJCOType()
Returns the instantiated class TypeXmlMembersMapping
ImportAnyType(XmlQualifiedName typeName, java.lang.String elementName)
XmlTypeMapping
ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType)
XmlTypeMapping
ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType, boolean baseTypeCanBeIndirect)
XmlMembersMapping
ImportMembersMapping(java.lang.String name, java.lang.String ns, SoapSchemaMember[] members)
XmlMembersMapping
ImportMembersMapping(XmlQualifiedName name)
XmlMembersMapping
ImportMembersMapping(XmlQualifiedName[] names)
XmlMembersMapping
ImportMembersMapping(XmlQualifiedName[] names, NetType baseType, boolean baseTypeCanBeIndirect)
XmlTypeMapping
ImportSchemaType(XmlQualifiedName typeName)
XmlTypeMapping
ImportSchemaType(XmlQualifiedName typeName, NetType baseType)
XmlTypeMapping
ImportSchemaType(XmlQualifiedName typeName, NetType baseType, boolean baseTypeCanBeIndirect)
XmlTypeMapping
ImportTypeMapping(XmlQualifiedName name)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.xml.serialization.SchemaImporter
getExtensions
-
-
-
-
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.XmlSchemaImporter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaImporter
public XmlSchemaImporter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlSchemaImporter
public XmlSchemaImporter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.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 java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.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 java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
XmlSchemaImporter
public XmlSchemaImporter(XmlSchemas schemas, CodeIdentifiers typeIdentifiers) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.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 java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, XmlSchemaException, IndexOutOfRangeException, XmlException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, RankException, NotSupportedException, FormatException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
XmlSchemaException
IndexOutOfRangeException
XmlException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
RankException
NotSupportedException
FormatException
MissingMethodException
TargetInvocationException
-
-
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 classSchemaImporter
- 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 classSchemaImporter
- 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 classSchemaImporter
- 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 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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
ImportAnyType
public XmlMembersMapping ImportAnyType(XmlQualifiedName typeName, java.lang.String elementName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, NotImplementedException, XmlException, XmlSchemaException, MulticastNotSupportedException, RankException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
ObjectDisposedException
NotImplementedException
XmlException
XmlSchemaException
MulticastNotSupportedException
RankException
OutOfMemoryException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(java.lang.String name, java.lang.String ns, SoapSchemaMember[] members) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, SecurityException, FormatException, RankException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
NotSupportedException
SecurityException
FormatException
RankException
OutOfMemoryException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, CultureNotFoundException, RankException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
ObjectDisposedException
InvalidOperationException
NotSupportedException
XmlException
XmlSchemaException
MulticastNotSupportedException
OutOfMemoryException
CultureNotFoundException
RankException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[] names) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, NotSupportedException
-
ImportMembersMapping
public XmlMembersMapping ImportMembersMapping(XmlQualifiedName[] names, NetType baseType, boolean baseTypeCanBeIndirect) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, RankException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
XmlException
XmlSchemaException
MulticastNotSupportedException
OutOfMemoryException
RankException
-
ImportDerivedTypeMapping
public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
ImportDerivedTypeMapping
public XmlTypeMapping ImportDerivedTypeMapping(XmlQualifiedName name, NetType baseType, boolean baseTypeCanBeIndirect) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, NotSupportedException, XmlException, XmlSchemaException, MulticastNotSupportedException, OutOfMemoryException, CultureNotFoundException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName, NetType baseType) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlSchemaException, MulticastNotSupportedException, RankException
-
ImportSchemaType
public XmlTypeMapping ImportSchemaType(XmlQualifiedName typeName, NetType baseType, boolean baseTypeCanBeIndirect) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, NotImplementedException, XmlException, XmlSchemaException, MulticastNotSupportedException, RankException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
NotSupportedException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
IndexOutOfRangeException
ObjectDisposedException
NotImplementedException
XmlException
XmlSchemaException
MulticastNotSupportedException
RankException
-
ImportTypeMapping
public XmlTypeMapping ImportTypeMapping(XmlQualifiedName name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
-