Uses of Class
javax.xml.validation.Schema
Package
Description
Provides the classes for processing XML documents with a SAX (Simple API for XML)
parser or a DOM (Document Object Model) Document builder.
Provides an API for validation of XML documents.
-
Uses of Schema in javax.xml.parsers
Modifier and TypeMethodDescriptionDocumentBuilder.getSchema()
Get a reference to theSchema
being used by the XML processor.DocumentBuilderFactory.getSchema()
Gets theSchema
object specified through theDocumentBuilderFactory.setSchema(Schema schema)
method.SAXParser.getSchema()
Get a reference to theSchema
being used by the XML processor.SAXParserFactory.getSchema()
Gets theSchema
object specified through theSAXParserFactory.setSchema(Schema schema)
method. -
Uses of Schema in javax.xml.validation
Modifier and TypeMethodDescriptionabstract Schema
SchemaFactory.newSchema()
Creates a specialSchema
object.Parses the specifiedFile
as a schema and returns it as aSchema
.Parses the specifiedURL
as a schema and returns it as aSchema
.Parses the specified source as a schema and returns it as a schema.abstract Schema
Parses the specified source(s) as a schema and returns it as a schema.