1. // $Id: SchemaFactoryLoader.java,v 1.6 2004/03/17 03:58:54 jsuttor Exp $
  2. /*
  3. * @(#)SchemaFactoryLoader.java 1.3 04/07/26
  4. *
  5. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  6. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  7. */
  8. package javax.xml.validation;
  9. /**
  10. * <p>Factory that creates {@link SchemaFactory}.</p>
  11. *
  12. * <p>
  13. * This class is intended to be used by the implementations of
  14. * the validation API, not by users.
  15. * </p>
  16. *
  17. * @author <a href="Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
  18. * @version $Revision: 1.6 $, $Date: 2004/03/17 03:58:54 $
  19. * @since 1.5
  20. */
  21. public abstract class SchemaFactoryLoader {
  22. /**
  23. * A do-nothing constructor.
  24. */
  25. protected SchemaFactoryLoader() {
  26. }
  27. /**
  28. * Creates a new {@link SchemaFactory} object for the specified
  29. * schema language.
  30. *
  31. * @param schemaLanguage
  32. * See <a href="../SchemaFactory.html#schemaLanguage">
  33. * the list of available schema languages</a>.
  34. *
  35. * @throws NullPointerException
  36. * If the <tt>schemaLanguage</tt> parameter is null.
  37. *
  38. * @return <code>null</code> if the callee fails to create one.
  39. */
  40. public abstract SchemaFactory newFactory(String schemaLanguage);
  41. }