Javax.Xml.Validation.SchemaFactory Members

The members of Javax.Xml.Validation.SchemaFactory are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetFeature(string) : bool
Look up the value of a feature flag.
GetProperty(string) : Java.Lang.Object
Look up the value of a property.
abstract
IsSchemaLanguageSupported(string) : bool
static
NewInstance(string) : SchemaFactory
  1. If the system property "javax.xml.validation.SchemaFactory:schemaLanguage" is present (where schemaLanguage is the parameter to this method), then its value is read as a class name. The method will try to create a new instance of this class by using the class loader, and returns it if it is successfully created.
  2. $java.home/lib/jaxp.properties is read and the value associated with the key being the system property above is looked for. If present, the value is processed just like above.
  3. java Example

    isSchemaLanguageSupported(String)
    The first service provider found in class loader order that supports the specified schema language is returned.
  4. Platform default SchemaFactory is located in a implementation specific way. There must be a platform default SchemaFactory for W3C XML Schema.

java Example

 http\://www.w3.org/2001/XMLSchema=org.acme.foo.XSSchemaFactory
 
static
NewInstance(string, string, Java.Lang.ClassLoader) : SchemaFactory
Returns an instance of the named implementation of SchemaFactory.
abstract
NewSchema() : Schema
Creates a special Javax.Xml.Validation.Schema object.
NewSchema(Java.IO.File) : Schema
NewSchema(Java.Net.URL) : Schema
NewSchema(Javax.Xml.Transform.ISource) : Schema
abstract
NewSchema(Javax.Xml.Transform.ISource[]) : Schema
Parses the specified source(s) as a schema and returns it as a schema.
SetFeature(string, bool)
Set the value of a feature flag.
SetProperty(string, Java.Lang.Object)
Set the value of a property.