Lines Matching refs:schema

37  * {@link SchemaFactory} is a schema compiler. It reads external
55 * This spec uses a namespace URI to designate a schema language.
60 * if it chooses to support other schema languages listed here,
67 * implementations for other schema languages at run-time.
118 * schema language and return it.</p>
120 * <p>To find a <code>SchemaFactory</code> object for a given schema language,
146 * The first service provider found in class loader order that supports the specified schema language is returned.
160 * need to be escaped in a property file, so make sure schema language
167 * Specifies the schema language which the returned
170 * schema languages</a> for the possible values.
175 * If no implementation of the schema language is available.
233 * <p>Is specified schema supported by this <code>SchemaFactory</code>?</p>
235 * @param schemaLanguage Specifies the schema language which the returned <code>SchemaFactory</code> will understand.
236 * <code>schemaLanguage</code> must specify a <a href="#schemaLanguage">valid</a> schema language.
242 * or <code>schemaLanguage</code> does not specify a <a href="#schemaLanguage">valid</a> schema language.
387 * during schema parsing. When an {@link ErrorHandler} is set,
392 * The error handler can abort the parsing of a schema immediately
462 * up to each schema language. For example, for W3C XML Schema,
464 * and DTD referenced from schema files, etc.
515 * <p>Parses the specified source as a schema and returns it as a schema.</p>
519 * @param schema Source that represents a schema.
521 * @return New <code>Schema</code> from parsing <code>schema</code>.
524 * @throws NullPointerException if <tt>schema</tt> is null.
526 public Schema newSchema(Source schema) throws SAXException {
527 return newSchema(new Source[]{schema});
531 * <p>Parses the specified <code>File</code> as a schema and returns it as a <code>Schema</code>.</p>
533 * <p>This is a convenience method for {@link #newSchema(Source schema)}.</p>
535 * @param schema File that represents a schema.
537 * @return New <code>Schema</code> from parsing <code>schema</code>.
540 * @throws NullPointerException if <tt>schema</tt> is null.
542 public Schema newSchema(File schema) throws SAXException {
543 return newSchema(new StreamSource(schema));
547 * <p>Parses the specified <code>URL</code> as a schema and returns it as a <code>Schema</code>.</p>
549 * <p>This is a convenience method for {@link #newSchema(Source schema)}.</p>
551 * @param schema <code>URL</code> that represents a schema.
553 * @return New <code>Schema</code> from parsing <code>schema</code>.
556 * @throws NullPointerException if <tt>schema</tt> is null.
558 public Schema newSchema(URL schema) throws SAXException {
559 return newSchema(new StreamSource(schema.toExternalForm()));
563 * Parses the specified source(s) as a schema and returns it as a schema.
567 * single schema. The exact semantics of the combination depends on the schema
573 * abort the schema compilation and the same exception will be thrown from
580 * The resulting schema contains components from the specified sources.
583 * into a single schema document with a different targetNamespace
588 * JAXP schema sources and XML Schema imports, the behavior between
626 * If the schema language doesn't support this operation.
635 * on the schema language that this {@link SchemaFactory} is created
650 * refer to the same URL in the schema location hints,
651 * they will always resolve to the same schema document. This
653 * schema documents so that multiple validations against the same
654 * schema will run faster.
657 * Note that the use of schema location hints introduces a