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.StringassemblyFullNameFully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.Schema.XmlSchemaSetstatic JCTypeclassTypeThe 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 XmlSchemaAdd(java.lang.String targetNamespace, java.lang.String schemaUri)XmlSchemaAdd(java.lang.String targetNamespace, XmlReader schemaDocument)XmlSchemaAdd(XmlSchema schema)voidAdd(XmlSchemaSet schemas)voidaddValidationEventHandler(ValidationEventHandler handler)static XmlSchemaSetcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlSchemaSet, a cast assert is made to check if types are compatible.voidCompile()booleanContains(java.lang.String targetNamespace)booleanContains(XmlSchema schema)voidCopyTo(XmlSchema[] schemas, int index)XmlSchemaCompilationSettingsgetCompilationSettings()intgetCount()XmlSchemaObjectTablegetGlobalAttributes()XmlSchemaObjectTablegetGlobalElements()XmlSchemaObjectTablegetGlobalTypes()booleangetIsCompiled()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeXmlNameTablegetNameTable()XmlSchemaRemove(XmlSchema schema)booleanRemoveRecursive(XmlSchema schemaToRemove)voidremoveValidationEventHandler(ValidationEventHandler handler)XmlSchemaReprocess(XmlSchema schema)ICollectionSchemas()ICollectionSchemas(java.lang.String targetNamespace)voidsetCompilationSettings(XmlSchemaCompilationSettings CompilationSettings)voidsetJCOInstance(JCObject instance)voidsetXmlResolver(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.ThrowableInternal 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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionXmlSchemaExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionXmlException
-
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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionXmlSchemaExceptionObjectDisposedExceptionIndexOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionFormatExceptionXmlException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlSchemaSet cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlSchemaSet, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlSchemaSetinstance- 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.ThrowableArgumentNullExceptionObjectDisposedExceptionAbandonedMutexException
-
Contains
public boolean Contains(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeException
-
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.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionMissingManifestResourceException
-
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.ThrowableArgumentOutOfRangeException
-
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.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionPathTooLongExceptionNotSupportedExceptionRankExceptionXmlSchemaExceptionXmlExceptionTaskSchedulerExceptionOperationCanceledExceptionAggregateException
-
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.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionOutOfMemoryExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionConfigurationExceptionUriFormatExceptionRankExceptionNotSupportedExceptionXmlSchemaExceptionXmlException
-
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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionRankExceptionInvalidOperationExceptionFormatExceptionCultureNotFoundExceptionConfigurationErrorsExceptionConfigurationExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionNotSupportedExceptionXmlSchemaExceptionXmlException
-
Remove
public XmlSchema Remove(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, RankException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionRankExceptionInvalidOperationException
-
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.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionRankExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionConfigurationExceptionFormatExceptionXmlSchemaExceptionXmlExceptionNullReferenceException
-
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.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionRankExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionMissingManifestResourceExceptionXmlSchemaExceptionConfigurationErrorsExceptionConfigurationExceptionNotSupportedExceptionXmlException
-
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.ThrowableArgumentNullExceptionArgumentOutOfRangeException
-
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.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getGlobalElements
public XmlSchemaObjectTable getGlobalElements() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
getGlobalTypes
public XmlSchemaObjectTable getGlobalTypes() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
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
-
-