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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Schema.XmlSchemaSet
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.Schema.XmlSchemaSetstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaSet()
XmlSchemaSet(java.lang.Object instance)
Internal constructor.XmlSchemaSet(XmlNameTable nameTable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlSchema
Add(java.lang.String targetNamespace, java.lang.String schemaUri)
XmlSchema
Add(java.lang.String targetNamespace, XmlReader schemaDocument)
XmlSchema
Add(XmlSchema schema)
void
Add(XmlSchemaSet schemas)
void
addValidationEventHandler(ValidationEventHandler handler)
static XmlSchemaSet
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaSet
, a cast assert is made to check if types are compatible.void
Compile()
boolean
Contains(java.lang.String targetNamespace)
boolean
Contains(XmlSchema schema)
void
CopyTo(XmlSchema[] schemas, int index)
XmlSchemaCompilationSettings
getCompilationSettings()
int
getCount()
XmlSchemaObjectTable
getGlobalAttributes()
XmlSchemaObjectTable
getGlobalElements()
XmlSchemaObjectTable
getGlobalTypes()
boolean
getIsCompiled()
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 TypeXmlNameTable
getNameTable()
XmlSchema
Remove(XmlSchema schema)
boolean
RemoveRecursive(XmlSchema schemaToRemove)
void
removeValidationEventHandler(ValidationEventHandler handler)
XmlSchema
Reprocess(XmlSchema schema)
ICollection
Schemas()
ICollection
Schemas(java.lang.String targetNamespace)
void
setCompilationSettings(XmlSchemaCompilationSettings CompilationSettings)
void
setJCOInstance(JCObject instance)
void
setXmlResolver(XmlResolver XmlResolver)
-
-
-
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.Schema.XmlSchemaSet- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaSet
public XmlSchemaSet(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlSchemaSet
public XmlSchemaSet() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, XmlSchemaException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
XmlSchemaException
ObjectDisposedException
SecurityException
UnauthorizedAccessException
IOException
MissingManifestResourceException
XmlException
-
XmlSchemaSet
public XmlSchemaSet(XmlNameTable nameTable) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, XmlSchemaException, ObjectDisposedException, IndexOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, FormatException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
XmlSchemaException
ObjectDisposedException
IndexOutOfRangeException
SecurityException
UnauthorizedAccessException
IOException
MissingManifestResourceException
FormatException
XmlException
-
-
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 XmlSchemaSet cast(IJCOBridgeReflected from) throws java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
Contains
public boolean Contains(java.lang.String targetNamespace) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
Contains
public boolean Contains(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
RemoveRecursive
public boolean RemoveRecursive(XmlSchema schemaToRemove) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
RankException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
ObjectDisposedException
AbandonedMutexException
NotImplementedException
MissingManifestResourceException
-
Schemas
public ICollection Schemas() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Schemas
public ICollection Schemas(java.lang.String targetNamespace) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
Add
public XmlSchema Add(java.lang.String targetNamespace, java.lang.String schemaUri) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, PathTooLongException, NotSupportedException, RankException, XmlSchemaException, XmlException, TaskSchedulerException, OperationCanceledException, AggregateException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
SecurityException
MemberAccessException
NullReferenceException
UriFormatException
PathTooLongException
NotSupportedException
RankException
XmlSchemaException
XmlException
TaskSchedulerException
OperationCanceledException
AggregateException
-
Add
public XmlSchema Add(java.lang.String targetNamespace, XmlReader schemaDocument) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, SecurityException, MemberAccessException, NullReferenceException, ConfigurationException, UriFormatException, RankException, NotSupportedException, XmlSchemaException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
SecurityException
MemberAccessException
NullReferenceException
ConfigurationException
UriFormatException
RankException
NotSupportedException
XmlSchemaException
XmlException
-
Add
public XmlSchema Add(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, RankException, InvalidOperationException, FormatException, CultureNotFoundException, ConfigurationErrorsException, ConfigurationException, MissingManifestResourceException, IndexOutOfRangeException, NotSupportedException, XmlSchemaException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
RankException
InvalidOperationException
FormatException
CultureNotFoundException
ConfigurationErrorsException
ConfigurationException
MissingManifestResourceException
IndexOutOfRangeException
NotSupportedException
XmlSchemaException
XmlException
-
Remove
public XmlSchema Remove(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, RankException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
RankException
InvalidOperationException
-
Reprocess
public XmlSchema Reprocess(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, RankException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, ConfigurationException, FormatException, XmlSchemaException, XmlException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
RankException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
ConfigurationErrorsException
ConfigurationException
FormatException
XmlSchemaException
XmlException
NullReferenceException
-
Add
public void Add(XmlSchemaSet schemas) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, RankException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, MissingMethodException, TargetInvocationException, FormatException, MissingManifestResourceException, XmlSchemaException, ConfigurationErrorsException, ConfigurationException, NotSupportedException, XmlException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
RankException
InvalidOperationException
ObjectDisposedException
AbandonedMutexException
MissingMethodException
TargetInvocationException
FormatException
MissingManifestResourceException
XmlSchemaException
ConfigurationErrorsException
ConfigurationException
NotSupportedException
XmlException
-
Compile
public void Compile() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingManifestResourceException, XmlSchemaException, IndexOutOfRangeException
-
CopyTo
public void CopyTo(XmlSchema[] schemas, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
getIsCompiled
public boolean getIsCompiled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCount
public int getCount() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCompilationSettings
public XmlSchemaCompilationSettings getCompilationSettings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCompilationSettings
public void setCompilationSettings(XmlSchemaCompilationSettings CompilationSettings) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getGlobalAttributes
public XmlSchemaObjectTable getGlobalAttributes() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getGlobalElements
public XmlSchemaObjectTable getGlobalElements() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getGlobalTypes
public XmlSchemaObjectTable getGlobalTypes() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
getNameTable
public XmlNameTable getNameTable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlResolver
public void setXmlResolver(XmlResolver XmlResolver) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException
-
addValidationEventHandler
public void addValidationEventHandler(ValidationEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeValidationEventHandler
public void removeValidationEventHandler(ValidationEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-