Source for org.relaxng.datatype.DatatypeLibraryFactory

   1: package org.relaxng.datatype;
   2: 
   3: /**
   4:  * Factory class for the DatatypeLibrary class.
   5:  *
   6:  * <p>
   7:  * The datatype library should provide the implementation of
   8:  * this interface if it wants to be found by the schema processors.
   9:  * The implementor also have to place a file in your jar file.
  10:  * See the reference datatype library implementation for detail.
  11:  *
  12:  * @author <a href="mailto:jjc@jclark.com">James Clark</a>
  13:  * @author <a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a>
  14:  */
  15: public interface DatatypeLibraryFactory
  16: {
  17:         /**
  18:          * Creates a new instance of a DatatypeLibrary that supports
  19:          * the specified namespace URI.
  20:          *
  21:          * @return
  22:          *              <code>null</code> if the specified namespace URI is not
  23:          *              supported.
  24:          */
  25:         DatatypeLibrary createDatatypeLibrary( String namespaceURI );
  26: }