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.Private.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.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, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException, OutOfMemoryException, ExternalException, XmlSchemaException, XmlException, MulticastNotSupportedException, UriFormatException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionCultureNotFoundExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionXmlSchemaExceptionXmlExceptionMulticastNotSupportedExceptionUriFormatExceptionFormatExceptionpublic void AddSchema(XmlSchema schema) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, InvalidCastException, NullReferenceException, OutOfMemoryException, ExternalException, CultureNotFoundException, UriFormatException, FormatException, XmlSchemaException, XmlException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionInvalidCastExceptionNullReferenceExceptionOutOfMemoryExceptionExternalExceptionCultureNotFoundExceptionUriFormatExceptionFormatExceptionXmlSchemaExceptionXmlExceptionpublic 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,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
public XmlSchemaAttribute[] GetExpectedAttributes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, NullReferenceException
public XmlSchemaParticle[] GetExpectedParticles() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException
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, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionpublic NetObject getValidationEventSender() throws java.lang.Throwable
java.lang.Throwablepublic void Initialize()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException
public void Initialize(XmlSchemaObject partialValidationType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException
public 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, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic 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, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, RankException, ArrayTypeMismatchException
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, IndexOutOfRangeException, OutOfMemoryException, FormatException, CultureNotFoundException, XmlSchemaException, XmlException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCultureNotFoundExceptionXmlSchemaExceptionXmlExceptionpublic 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, IndexOutOfRangeException, OutOfMemoryException, FormatException, CultureNotFoundException, XmlSchemaException, XmlException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionCultureNotFoundExceptionXmlSchemaExceptionXmlExceptionpublic void ValidateElement(java.lang.String localName,
java.lang.String namespaceUri,
XmlSchemaInfo schemaInfo)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
FormatException,
ArrayTypeMismatchException,
XmlException,
CultureNotFoundException,
UriFormatException,
XmlSchemaException,
RankException,
InvalidCastException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionFormatExceptionArrayTypeMismatchExceptionXmlExceptionCultureNotFoundExceptionUriFormatExceptionXmlSchemaExceptionRankExceptionInvalidCastExceptionpublic 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,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
XmlException,
CultureNotFoundException,
UriFormatException,
UnreachableException,
XmlSchemaException,
InvalidCastException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionXmlExceptionCultureNotFoundExceptionUriFormatExceptionUnreachableExceptionXmlSchemaExceptionInvalidCastExceptionpublic NetObject ValidateEndElement(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionRankExceptionpublic NetObject ValidateEndElement(XmlSchemaInfo schemaInfo, NetObject typedValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionpublic void ValidateEndOfAttributes(XmlSchemaInfo schemaInfo) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
public void ValidateText(java.lang.String elementValue)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException,
UnreachableException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionUnreachableExceptionpublic void ValidateText(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, UnreachableException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionUnreachableExceptionpublic void ValidateWhitespace(java.lang.String elementValue)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OutOfMemoryException,
FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionpublic void ValidateWhitespace(XmlValueGetter elementValue) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatException