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.String
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Private.Xmlstatic java.lang.String
className
Qualified class name: System.Xml.Schema.XmlSchemaValidatorstatic JCType
classType
The 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 void
AddSchema(XmlSchema schema)
void
addValidationEventHandler(ValidationEventHandler handler)
static XmlSchemaValidator
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaValidator
, 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 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 TypeIXmlLineInfo
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)
-
-
-
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.Throwable
Internal 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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
CultureNotFoundException
OutOfMemoryException
ExternalException
XmlSchemaException
XmlException
MulticastNotSupportedException
FormatException
-
-
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 XmlSchemaValidator cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSchemaValidator
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSchemaValidator
instance- 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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
CultureNotFoundException
XmlSchemaException
XmlException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
CultureNotFoundException
XmlSchemaException
XmlException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
NotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
RankException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
OutOfMemoryException
CultureNotFoundException
XmlSchemaException
XmlException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
XmlException
CultureNotFoundException
UnreachableException
XmlSchemaException
-
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.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
PlatformNotSupportedException
FormatException
ArrayTypeMismatchException
XmlException
XmlSchemaException
RankException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
UnreachableException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
UnreachableException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
OutOfMemoryException
IndexOutOfRangeException
FormatException
-
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
-
-