01: package org.relaxng.datatype;
02:
03: /**
04: * Factory class for the DatatypeLibrary class.
05: *
06: * <p>
07: * The datatype library should provide the implementation of
08: * this interface if it wants to be found by the schema processors.
09: * 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: * Creates a new instance of a DatatypeLibrary that supports
18: * the specified namespace URI.
19: *
20: * @return
21: * <code>null</code> if the specified namespace URI is not
22: * supported.
23: */
24: DatatypeLibrary createDatatypeLibrary(String namespaceURI);
25: }
|