Package system.xml.schema
Class XmlSchemaValidator
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.schema.XmlSchemaValidator
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlSchemaValidator extends NetObject
The base .NET class managing System.Xml.Schema.XmlSchemaValidator, System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Schema.XmlSchemaValidator
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.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Private.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.Schema.XmlSchemaValidatorstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaValidator()XmlSchemaValidator(java.lang.Object instance)Internal constructor.XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddSchema(XmlSchema schema)voidaddValidationEventHandler(ValidationEventHandler handler)static XmlSchemaValidatorcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlSchemaValidator, a cast assert is made to check if types are compatible.voidEndValidation()XmlSchemaAttribute[]GetExpectedAttributes()XmlSchemaParticle[]GetExpectedParticles()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 TypeIXmlLineInfogetLineInfoProvider()UrigetSourceUri()voidGetUnspecifiedDefaultAttributes(NetArrayList defaultAttributes)NetObjectgetValidationEventSender()voidInitialize()voidInitialize(XmlSchemaObject partialValidationType)voidremoveValidationEventHandler(ValidationEventHandler handler)voidsetJCOInstance(JCObject instance)voidsetLineInfoProvider(IXmlLineInfo LineInfoProvider)voidsetSourceUri(Uri SourceUri)voidsetValidationEventSender(NetObject ValidationEventSender)voidsetXmlResolver(XmlResolver XmlResolver)voidSkipToEndElement(XmlSchemaInfo schemaInfo)NetObjectValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, java.lang.String attributeValue, XmlSchemaInfo schemaInfo)NetObjectValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo)voidValidateElement(java.lang.String localName, java.lang.String namespaceUri, XmlSchemaInfo schemaInfo)voidValidateElement(java.lang.String localName, java.lang.String namespaceUri, XmlSchemaInfo schemaInfo, java.lang.String xsiType, java.lang.String xsiNil, java.lang.String xsiSchemaLocation, java.lang.String xsiNoNamespaceSchemaLocation)NetObjectValidateEndElement(XmlSchemaInfo schemaInfo)NetObjectValidateEndElement(XmlSchemaInfo schemaInfo, NetObject typedValue)voidValidateEndOfAttributes(XmlSchemaInfo schemaInfo)voidValidateText(java.lang.String elementValue)voidValidateText(XmlValueGetter elementValue)voidValidateWhitespace(java.lang.String elementValue)voidValidateWhitespace(XmlValueGetter elementValue)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.Schema.XmlSchemaValidator- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaValidator
public XmlSchemaValidator(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlSchemaValidator
public XmlSchemaValidator() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
XmlSchemaValidator
public XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException, XmlSchemaException, XmlException, MulticastNotSupportedException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionXmlSchemaExceptionXmlExceptionMulticastNotSupportedExceptionFormatException
-
-
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 XmlSchemaValidator cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlSchemaValidator, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlSchemaValidatorinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ValidateAttribute
public NetObject ValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, java.lang.String attributeValue, XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, CultureNotFoundException, XmlSchemaException, XmlException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionXmlSchemaExceptionXmlException
-
ValidateAttribute
public NetObject ValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, CultureNotFoundException, XmlSchemaException, XmlException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionXmlSchemaExceptionXmlException
-
ValidateEndElement
public NetObject ValidateEndElement(XmlSchemaInfo schemaInfo, NetObject typedValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatException
-
ValidateEndElement
public NetObject ValidateEndElement(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionOutOfMemoryExceptionNotSupportedExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankException
-
GetExpectedAttributes
public XmlSchemaAttribute[] GetExpectedAttributes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
GetExpectedParticles
public XmlSchemaParticle[] GetExpectedParticles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, FormatException, RankException, ArrayTypeMismatchException
-
AddSchema
public void AddSchema(XmlSchema schema) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException, XmlSchemaException, XmlException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionCultureNotFoundExceptionXmlSchemaExceptionXmlException
-
EndValidation
public void EndValidation() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
GetUnspecifiedDefaultAttributes
public void GetUnspecifiedDefaultAttributes(NetArrayList defaultAttributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatException
-
Initialize
public void Initialize() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
Initialize
public void Initialize(XmlSchemaObject partialValidationType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
SkipToEndElement
public void SkipToEndElement(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, RankException, ArrayTypeMismatchException
-
ValidateElement
public void ValidateElement(java.lang.String localName, java.lang.String namespaceUri, XmlSchemaInfo schemaInfo, java.lang.String xsiType, java.lang.String xsiNil, java.lang.String xsiSchemaLocation, java.lang.String xsiNoNamespaceSchemaLocation) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, XmlException, CultureNotFoundException, UnreachableException, XmlSchemaException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionXmlExceptionCultureNotFoundExceptionUnreachableExceptionXmlSchemaException
-
ValidateElement
public void ValidateElement(java.lang.String localName, java.lang.String namespaceUri, XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, XmlException, XmlSchemaException, RankException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionFormatExceptionArrayTypeMismatchExceptionXmlExceptionXmlSchemaExceptionRankException
-
ValidateEndOfAttributes
public void ValidateEndOfAttributes(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException
-
ValidateText
public void ValidateText(java.lang.String elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, UnreachableException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableException
-
ValidateText
public void ValidateText(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, UnreachableException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatExceptionUnreachableException
-
ValidateWhitespace
public void ValidateWhitespace(java.lang.String elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatException
-
ValidateWhitespace
public void ValidateWhitespace(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionFormatException
-
getValidationEventSender
public NetObject getValidationEventSender() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValidationEventSender
public void setValidationEventSender(NetObject ValidationEventSender) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceUri
public Uri getSourceUri() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSourceUri
public void setSourceUri(Uri SourceUri) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLineInfoProvider
public IXmlLineInfo getLineInfoProvider() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLineInfoProvider
public void setLineInfoProvider(IXmlLineInfo LineInfoProvider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlResolver
public void setXmlResolver(XmlResolver XmlResolver) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
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
-
-