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=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Schema.XmlSchemaValidator
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Private.Xmlstatic String
className
Qualified class name: System.Xml.Schema.XmlSchemaValidatorstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSchemaValidator()
XmlSchemaValidator(Object instance)
Internal constructor.XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags)
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Xml.Schema.XmlSchemaValidator- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlSchemaValidator
public XmlSchemaValidator(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
XmlSchemaValidator
public XmlSchemaValidator(XmlNameTable nameTable, XmlSchemaSet schemas, IXmlNamespaceResolver namespaceResolver, XmlSchemaValidationFlags validationFlags) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, XmlSchemaException, FormatException, XmlException, MulticastNotSupportedException, RankException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
XmlSchemaException
FormatException
XmlException
MulticastNotSupportedException
RankException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 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:
Throwable
- in case of error during cast operation
-
ValidateAttribute
public NetObject ValidateAttribute(String localName, String namespaceUri, String attributeValue, XmlSchemaInfo schemaInfo) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, XmlSchemaException, XmlException, RankException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
XmlSchemaException
XmlException
RankException
OutOfMemoryException
-
ValidateAttribute
public NetObject ValidateAttribute(String localName, String namespaceUri, XmlValueGetter attributeValue, XmlSchemaInfo schemaInfo) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, XmlSchemaException, XmlException, RankException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
XmlSchemaException
XmlException
RankException
OutOfMemoryException
-
ValidateEndElement
public NetObject ValidateEndElement(XmlSchemaInfo schemaInfo, NetObject typedValue) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
-
ValidateEndElement
public NetObject ValidateEndElement(XmlSchemaInfo schemaInfo) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArrayTypeMismatchException, NotSupportedException, RankException
-
GetExpectedAttributes
public XmlSchemaAttribute[] GetExpectedAttributes() throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
GetExpectedParticles
public XmlSchemaParticle[] GetExpectedParticles() throws Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException
-
AddSchema
public void AddSchema(XmlSchema schema) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, RankException, XmlSchemaException, XmlException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
RankException
XmlSchemaException
XmlException
-
EndValidation
public void EndValidation() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException
-
GetUnspecifiedDefaultAttributes
public void GetUnspecifiedDefaultAttributes(NetArrayList defaultAttributes) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException
-
Initialize
public void Initialize() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, InvalidOperationException, PlatformNotSupportedException
-
Initialize
public void Initialize(XmlSchemaObject partialValidationType) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, InvalidOperationException, PlatformNotSupportedException
-
SkipToEndElement
public void SkipToEndElement(XmlSchemaInfo schemaInfo) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, PlatformNotSupportedException
-
ValidateElement
public void ValidateElement(String localName, String namespaceUri, XmlSchemaInfo schemaInfo, String xsiType, String xsiNil, String xsiSchemaLocation, String xsiNoNamespaceSchemaLocation) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException, XmlException, XmlSchemaException, RankException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
XmlException
XmlSchemaException
RankException
-
ValidateElement
public void ValidateElement(String localName, String namespaceUri, XmlSchemaInfo schemaInfo) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, OutOfMemoryException, XmlException, XmlSchemaException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
FormatException
OutOfMemoryException
XmlException
XmlSchemaException
-
ValidateEndOfAttributes
public void ValidateEndOfAttributes(XmlSchemaInfo schemaInfo) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
-
ValidateText
public void ValidateText(String elementValue) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
-
ValidateText
public void ValidateText(XmlValueGetter elementValue) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
-
ValidateWhitespace
public void ValidateWhitespace(String elementValue) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
-
ValidateWhitespace
public void ValidateWhitespace(XmlValueGetter elementValue) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, OutOfMemoryException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
OutOfMemoryException
-
getValidationEventSender
public NetObject getValidationEventSender() throws Throwable
- Throws:
Throwable
-
setValidationEventSender
public void setValidationEventSender(NetObject ValidationEventSender) throws Throwable
- Throws:
Throwable
-
getLineInfoProvider
public IXmlLineInfo getLineInfoProvider() throws Throwable
- Throws:
Throwable
-
setLineInfoProvider
public void setLineInfoProvider(IXmlLineInfo LineInfoProvider) throws Throwable
- Throws:
Throwable
-
setXmlResolver
public void setXmlResolver(XmlResolver XmlResolver) throws Throwable
- Throws:
Throwable
-
addValidationEventHandler
public void addValidationEventHandler(ValidationEventHandler handler) throws Throwable
- Throws:
Throwable
-
removeValidationEventHandler
public void removeValidationEventHandler(ValidationEventHandler handler) throws Throwable
- Throws:
Throwable
-
-