Javax.Xml.Validation.SchemaFactory Class
Factory that creates Javax.Xml.Validation.Schema objects. Entry-point to the validation API.

See Also: SchemaFactory Members

Syntax

[Android.Runtime.Register("javax/xml/validation/SchemaFactory", DoNotGenerateAcw=true)]
public abstract class SchemaFactory : Java.Lang.Object

Remarks

Factory that creates Javax.Xml.Validation.Schema objects. Entry-point to the validation API.

Javax.Xml.Validation.SchemaFactory is a schema compiler. It reads external representations of schemas and prepares them for validation.

The Javax.Xml.Validation.SchemaFactory class is not thread-safe. In other words, it is the application's responsibility to ensure that at most one thread is using a Javax.Xml.Validation.SchemaFactory object at any given moment. Implementations are encouraged to mark methods as synchronized to protect themselves from broken clients.

Javax.Xml.Validation.SchemaFactory is not re-entrant. While one of the newSchema methods is being invoked, applications may not attempt to recursively invoke the newSchema method, even from the same thread.

Schema Language

This spec uses a namespace URI to designate a schema language. The following table shows the values defined by this specification.

To be compliant with the spec, the implementation is only required to support W3C XML Schema 1.0. However, if it chooses to support other schema languages listed here, it must conform to the relevant behaviors described in this spec.

Schema languages not listed here are expected to introduce their own URIs to represent themselves. The Javax.Xml.Validation.SchemaFactory class is capable of locating other implementations for other schema languages at run-time.

Note that because the XML DTD is strongly tied to the parsing process and has a significant effect on the parsing process, it is impossible to define the DTD validation as a process independent from parsing. For this reason, this specification does not define the semantics for the XML DTD. This doesn't prohibit implementers from implementing it in a way they see fit, but users are warned that any DTD validation implemented on this interface necessarily deviate from the XML DTD semantics as defined in the XML 1.0.
valuelanguage
Javax.Xml.XMLConstants.W3cXmlSchemaNsUri ("http://www.w3.org/2001/XMLSchema")
Javax.Xml.XMLConstants.RelaxngNsUri ("http://relaxng.org/ns/structure/1.0")

[Android Documentation]

Requirements

Namespace: Javax.Xml.Validation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8