Class DatatypeLibraryLoader
- java.lang.Object
-
- com.sun.tools.rngdatatype.helpers.DatatypeLibraryLoader
-
- All Implemented Interfaces:
DatatypeLibraryFactory
public class DatatypeLibraryLoader extends Object implements DatatypeLibraryFactory
Discovers the datatype library implementation from the classpath.The call of the createDatatypeLibrary method finds an implementation from a given datatype library URI at run-time.
-
-
Constructor Summary
Constructors Constructor Description DatatypeLibraryLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatatypeLibrarycreateDatatypeLibrary(String uri)Creates a new instance of a DatatypeLibrary that supports the specified namespace URI.
-
-
-
Method Detail
-
createDatatypeLibrary
public DatatypeLibrary createDatatypeLibrary(String uri)
Description copied from interface:DatatypeLibraryFactoryCreates a new instance of a DatatypeLibrary that supports the specified namespace URI.- Specified by:
createDatatypeLibraryin interfaceDatatypeLibraryFactory- Returns:
nullif the specified namespace URI is not supported.
-
-