| java.lang.Object javax.xml.parsers.FactoryFinder
FactoryFinder | class FactoryFinder (Code) | | This class is duplicated for each JAXP subpackage so keep it in
sync. It is package private.
This code is designed to implement the JAXP 1.1 spec pluggability
feature and is designed to run on JDK version 1.1 and later including
JVMs that perform early linking like the Microsoft JVM in IE 5. Note
however that it must be compiled on a JDK version 1.2 or later system
since it calls Thread#getContextClassLoader(). The code also runs both
as part of an unbundled jar file and when bundled as part of the JDK.
|
Inner Class :static class ConfigurationError extends Error | |
Inner Class :static class ClassLoaderFinderConcrete extends ClassLoaderFinder | |
Method Summary | |
static Object | find(String factoryId, String fallbackClassName) Finds the implementation Class object in the specified order. |
find | static Object find(String factoryId, String fallbackClassName) throws ConfigurationError(Code) | | Finds the implementation Class object in the specified order. Main
entry point.
Class object of factory, never null Parameters: factoryId - Name of the factory to find, same asa property name Parameters: fallbackClassName - Implementation class name, if nothing elseis found. Use null to mean no fallback.Package private so this code can be shared. |
|
|