public class XmlSchemaValidator extends NetObject
.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
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Xml
|
static java.lang.String |
className
Qualified class name: System.Xml.Schema.XmlSchemaValidator
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XmlSchemaValidator() |
XmlSchemaValidator(java.lang.Object instance)
Internal constructor.
|
XmlSchemaValidator(XmlNameTable nameTable,
XmlSchemaSet schemas,
IXmlNamespaceResolver namespaceResolver,
XmlSchemaValidationFlags validationFlags) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddSchema(XmlSchema schema) |
void |
addValidationEventHandler(ValidationEventHandler handler) |
static XmlSchemaValidator |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlSchemaValidator, a cast assert is made to check if types are compatible. |
void |
EndValidation() |
XmlSchemaAttribute[] |
GetExpectedAttributes() |
XmlSchemaParticle[] |
GetExpectedParticles() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
IXmlLineInfo |
getLineInfoProvider() |
Uri |
getSourceUri() |
void |
GetUnspecifiedDefaultAttributes(NetArrayList defaultAttributes) |
NetObject |
getValidationEventSender() |
void |
Initialize() |
void |
Initialize(XmlSchemaObject partialValidationType) |
void |
removeValidationEventHandler(ValidationEventHandler handler) |
void |
setJCOInstance(JCObject instance) |
void |
setLineInfoProvider(IXmlLineInfo LineInfoProvider) |
void |
setSourceUri(Uri SourceUri) |
void |
setValidationEventSender(NetObject ValidationEventSender) |
void |
setXmlResolver(XmlResolver XmlResolver) |
void |
SkipToEndElement(XmlSchemaInfo schemaInfo) |
NetObject |
ValidateAttribute(java.lang.String localName,
java.lang.String namespaceUri,
java.lang.String attributeValue,
XmlSchemaInfo schemaInfo) |
NetObject |
ValidateAttribute(java.lang.String localName,
java.lang.String namespaceUri,
XmlValueGetter attributeValue,
XmlSchemaInfo schemaInfo) |
void |
ValidateElement(java.lang.String localName,
java.lang.String namespaceUri,
XmlSchemaInfo schemaInfo) |
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) |
NetObject |
ValidateEndElement(XmlSchemaInfo schemaInfo) |
NetObject |
ValidateEndElement(XmlSchemaInfo schemaInfo,
NetObject typedValue) |
void |
ValidateEndOfAttributes(XmlSchemaInfo schemaInfo) |
void |
ValidateText(java.lang.String elementValue) |
void |
ValidateText(XmlValueGetter elementValue) |
void |
ValidateWhitespace(java.lang.String elementValue) |
void |
ValidateWhitespace(XmlValueGetter elementValue) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlSchemaValidator()
throws java.lang.Throwable
java.lang.Throwablepublic XmlSchemaValidator(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, XmlSchemaException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, XmlException, MulticastNotSupportedException, ConfigurationErrorsException, ConfigurationException, RankException
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionXmlSchemaExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionXmlExceptionMulticastNotSupportedExceptionConfigurationErrorsExceptionConfigurationExceptionRankExceptionpublic void AddSchema(XmlSchema schema) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, IndexOutOfRangeException, RankException, CultureNotFoundException, ConfigurationException, NotSupportedException, FormatException, XmlSchemaException, XmlException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionCultureNotFoundExceptionConfigurationExceptionNotSupportedExceptionFormatExceptionXmlSchemaExceptionXmlExceptionpublic void addValidationEventHandler(ValidationEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static XmlSchemaValidator cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlSchemaValidator, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlSchemaValidator instancejava.lang.Throwable - in case of error during cast operationpublic void EndValidation()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic XmlSchemaAttribute[] GetExpectedAttributes() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, NotSupportedException
public XmlSchemaParticle[] GetExpectedParticles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, FormatException, NotSupportedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic IXmlLineInfo getLineInfoProvider() throws java.lang.Throwable
java.lang.Throwablepublic Uri getSourceUri() throws java.lang.Throwable
java.lang.Throwablepublic void GetUnspecifiedDefaultAttributes(NetArrayList defaultAttributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic NetObject getValidationEventSender() throws java.lang.Throwable
java.lang.Throwablepublic void Initialize()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void Initialize(XmlSchemaObject partialValidationType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void removeValidationEventHandler(ValidationEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setLineInfoProvider(IXmlLineInfo LineInfoProvider) throws java.lang.Throwable
java.lang.Throwablepublic void setSourceUri(Uri SourceUri) throws java.lang.Throwable
java.lang.Throwablepublic void setValidationEventSender(NetObject ValidationEventSender) throws java.lang.Throwable
java.lang.Throwablepublic void setXmlResolver(XmlResolver XmlResolver) throws java.lang.Throwable
java.lang.Throwablepublic void SkipToEndElement(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic NetObject ValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, java.lang.String attributeValue, XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlSchemaException, XmlException, FormatException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlSchemaExceptionXmlExceptionFormatExceptionRankExceptionpublic NetObject ValidateAttribute(java.lang.String localName, java.lang.String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlSchemaException, XmlException, FormatException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlSchemaExceptionXmlExceptionFormatExceptionRankExceptionpublic void ValidateElement(java.lang.String localName,
java.lang.String namespaceUri,
XmlSchemaInfo schemaInfo)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
XmlException,
NotSupportedException,
XmlSchemaException,
RankException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlExceptionNotSupportedExceptionXmlSchemaExceptionRankExceptionFormatExceptionpublic 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,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
XmlException,
UriFormatException,
PathTooLongException,
NotSupportedException,
OutOfMemoryException,
FormatException,
XmlSchemaException,
RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionXmlExceptionUriFormatExceptionPathTooLongExceptionNotSupportedExceptionOutOfMemoryExceptionFormatExceptionXmlSchemaExceptionRankExceptionpublic NetObject ValidateEndElement(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionNullReferenceExceptionpublic NetObject ValidateEndElement(XmlSchemaInfo schemaInfo, NetObject typedValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionIndexOutOfRangeExceptionpublic void ValidateEndOfAttributes(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic void ValidateText(java.lang.String elementValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
public void ValidateText(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public void ValidateWhitespace(java.lang.String elementValue)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException
public void ValidateWhitespace(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException