1 // $Id: SchemaFactoryLoader.java,v 1.6 2004/03/17 03:58:54 jsuttor Exp $2 3 /*4 * @(#)SchemaFactoryLoader.java 1.3 04/07/265 * 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 of17 * 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.523 */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 specified34 * schema language.35 * 36 * @param schemaLanguage37 * See <a HREF="../SchemaFactory.html#schemaLanguage">38 * the list of available schema languages</a>.39 * 40 * @throws NullPointerException41 * 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 newFactory(String schemaLanguage);46 }47