Uses of Class
javax.xml.validation.Schema
Packages that use 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
Methods in javax.xml.parsers that return SchemaModifier and TypeMethodDescriptionDocumentBuilder.getSchema()Get a reference to theSchemabeing used by the XML processor.DocumentBuilderFactory.getSchema()Gets theSchemaobject specified through theDocumentBuilderFactory.setSchema(Schema schema)method.SAXParser.getSchema()Get a reference to theSchemabeing used by the XML processor.SAXParserFactory.getSchema()Gets theSchemaobject specified through theSAXParserFactory.setSchema(Schema schema)method.Methods in javax.xml.parsers with parameters of type Schema -
Uses of Schema in javax.xml.validation
Methods in javax.xml.validation that return SchemaModifier and TypeMethodDescriptionabstract SchemaSchemaFactory.newSchema()Creates a specialSchemaobject.Parses the specifiedFileas a schema and returns it as aSchema.Parses the specifiedURLas a schema and returns it as aSchema.Parses the specified source as a schema and returns it as a schema.abstract SchemaParses the specified source(s) as a schema and returns it as a schema.