Package system.xml.schema
Class XmlSchemaSet
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.schema.XmlSchemaSet
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlSchemaSet extends NetObject
The base .NET class managing System.Xml.Schema.XmlSchemaSet, System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Schema.XmlSchemaSet
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Private.Xmlstatic String
className
Qualified class name: System.Xml.Schema.XmlSchemaSetstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaSet()
XmlSchemaSet(Object instance)
Internal constructor.XmlSchemaSet(XmlNameTable nameTable)
-
Method Summary
-
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.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Xml.Schema.XmlSchemaSet- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaSet
public XmlSchemaSet(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
XmlSchemaSet
public XmlSchemaSet() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OutOfMemoryException, ExternalException, XmlSchemaException, FormatException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OutOfMemoryException
ExternalException
XmlSchemaException
FormatException
XmlException
-
XmlSchemaSet
public XmlSchemaSet(XmlNameTable nameTable) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, XmlSchemaException, FormatException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
XmlSchemaException
FormatException
XmlException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 XmlSchemaSet cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaSet
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSchemaSet
instance- Throws:
Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(String targetNamespace) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
Contains
public boolean Contains(XmlSchema schema) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
RemoveRecursive
public boolean RemoveRecursive(XmlSchema schemaToRemove) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, FormatException
-
Schemas
public ICollection Schemas() throws Throwable
- Throws:
Throwable
-
Schemas
public ICollection Schemas(String targetNamespace) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
Add
public XmlSchema Add(String targetNamespace, String schemaUri) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, UriFormatException, RankException, FormatException, XmlSchemaException, XmlException, NotImplementedException, TaskCanceledException, AggregateException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
UriFormatException
RankException
FormatException
XmlSchemaException
XmlException
NotImplementedException
TaskCanceledException
AggregateException
-
Add
public XmlSchema Add(String targetNamespace, XmlReader schemaDocument) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, RankException, FormatException, XmlSchemaException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
RankException
FormatException
XmlSchemaException
XmlException
-
Add
public XmlSchema Add(XmlSchema schema) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, FormatException, XmlSchemaException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
RankException
FormatException
XmlSchemaException
XmlException
-
Remove
public XmlSchema Remove(XmlSchema schema) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
Reprocess
public XmlSchema Reprocess(XmlSchema schema) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException, FormatException, XmlSchemaException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
RankException
OutOfMemoryException
ExternalException
FormatException
XmlSchemaException
XmlException
-
Add
public void Add(XmlSchemaSet schemas) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, RankException, FormatException, XmlSchemaException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
RankException
FormatException
XmlSchemaException
XmlException
-
Compile
public void Compile() throws Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException, FormatException, CultureNotFoundException, ObjectDisposedException, XmlSchemaException, RankException, ArrayTypeMismatchException
-
CopyTo
public void CopyTo(XmlSchema[] schemas, int index) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getCompilationSettings
public XmlSchemaCompilationSettings getCompilationSettings() throws Throwable
- Throws:
Throwable
-
setCompilationSettings
public void setCompilationSettings(XmlSchemaCompilationSettings CompilationSettings) throws Throwable
- Throws:
Throwable
-
getGlobalAttributes
public XmlSchemaObjectTable getGlobalAttributes() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
-
getGlobalElements
public XmlSchemaObjectTable getGlobalElements() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
-
getGlobalTypes
public XmlSchemaObjectTable getGlobalTypes() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
-
getNameTable
public XmlNameTable getNameTable() throws Throwable
- Throws:
Throwable
-
setXmlResolver
public void setXmlResolver(XmlResolver XmlResolver) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, XmlException
-
addValidationEventHandler
public void addValidationEventHandler(ValidationEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeValidationEventHandler
public void removeValidationEventHandler(ValidationEventHandler handler) throws Throwable
- Throws:
Throwable
-
-