KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > validation > SchemaFactoryLoader


1 // $Id: SchemaFactoryLoader.java,v 1.6 2004/03/17 03:58:54 jsuttor Exp $
2

3 /*
4  * @(#)SchemaFactoryLoader.java 1.3 04/07/26
5  *
6  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
7  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
8  */

9
10 package javax.xml.validation;
11
12 /**
13  * <p>Factory that creates {@link SchemaFactory}.</p>
14  *
15  * <p>
16  * This class is intended to be used by the implementations of
17  * the validation API, not by users.
18  * </p>
19  *
20  * @author <a HREF="Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
21  * @version $Revision: 1.6 $, $Date: 2004/03/17 03:58:54 $
22  * @since 1.5
23  */

24 public abstract class SchemaFactoryLoader {
25     
26     /**
27      * A do-nothing constructor.
28      */

29     protected SchemaFactoryLoader() {
30     }
31     
32     /**
33      * Creates a new {@link SchemaFactory} object for the specified
34      * schema language.
35      *
36      * @param schemaLanguage
37      * See <a HREF="../SchemaFactory.html#schemaLanguage">
38      * the list of available schema languages</a>.
39      *
40      * @throws NullPointerException
41      * If the <tt>schemaLanguage</tt> parameter is null.
42      *
43      * @return <code>null</code> if the callee fails to create one.
44      */

45     public abstract SchemaFactory JavaDoc newFactory(String JavaDoc schemaLanguage);
46 }
47
Popular Tags