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 SAXParserFactory.Schema method.
Set method documentation [Android Documentation]
When warnings/errors/fatal errors are found by the validator, the parser must
handle them as if those errors were 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.
This processing will take effect even if
the SAXParserFactory.Validating method returns false.
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.
A validator may modify the SAX event stream (for example by adding default values that were missing in documents), and a parser is responsible to make sure that the application will receive those modified event stream.
Initially, null is set as the Javax.Xml.Validation.Schema.
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 non-null Javax.Xml.Validation.Schema object. Such configuration will cause a Org.Xml.Sax.SAXException exception when those properties are set on a Javax.Xml.Parsers.SAXParser.
A parser must be able to work with any Javax.Xml.Validation.Schema implementation. However, parsers and schemas are allowed to use implementation-specific custom mechanisms as long as they yield the result described in the specification.