Documentation for this section has not yet been entered.
Type Reason Java.Lang.UnsupportedOperationException For backward compatibility, when implementations for earlier versions of JAXP is used, this exception will be thrown. Java.Lang.UnsupportedOperationException For backward compatibility, when implementations for earlier versions of JAXP is used, this exception will be thrown.
Get method documentation [Android Documentation]
Gets the Javax.Xml.Validation.Schema object specified through
the DocumentBuilderFactory.Schema method.
Set method documentation [Android Documentation]
Set the Javax.Xml.Validation.Schema to be used by parsers created
from this factory.
When a Javax.Xml.Validation.Schema is non-null, a parser will use a validator
created from it to validate documents before it passes information
down to the application.
When errors are found by the validator, the parser is responsible
to report them to the user-specified Org.Xml.Sax.IErrorHandler
(or if the error handler is not set, ignore them or throw them), just
like any other errors found by the parser itself.
In other words, if the user-specified Org.Xml.Sax.IErrorHandler
is set, it must receive those errors, and if not, they must be
treated according to the implementation specific
default error handling rules.
A validator may modify the outcome of a parse (for example by
adding default values that were missing in documents), and a parser
is responsible to make sure that the application will receive
modified DOM trees.
Initially, null is set as the Javax.Xml.Validation.Schema.
This processing will take effect even if
the DocumentBuilderFactory.Validating method returns false.
It is an error to use the http://java.sun.com/xml/jaxp/properties/schemaSource property and/or the http://java.sun.com/xml/jaxp/properties/schemaLanguage property in conjunction with a Javax.Xml.Validation.Schema object. Such configuration will cause a Javax.Xml.Parsers.ParserConfigurationException exception when the DocumentBuilderFactory.NewDocumentBuilder is invoked.