|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceprojects.xmlparser.ResourceResolverFactory
ResourceResolverFactory
instead
@Deprecated public final class ResourceResolverFactory
Defines a factory API that enables applications to obtain instances of
ResourceResolver
either by given
standard implmentation or by configuring own implementation.
Field Summary | |
---|---|
static String |
STANDARD_RESOURCERESOLVER_CLASS
Deprecated. Classname for the standard ResourceResolver class to be created
if no special implementation is given |
Constructor Summary | |
---|---|
ResourceResolverFactory()
Deprecated. |
Method Summary | |
---|---|
static ResourceResolver |
newInstance()
Deprecated. Obtain a new instance of a ResourceResolver Implementation used for ResourceResolver is the standard
one. |
static ResourceResolver |
newInstance(ClassLoader classLoader)
Deprecated. Obtain a new instance of a ResourceResolver Implementation used for ResourceResolver is the standard
one. |
static ResourceResolver |
newInstance(String resolverImplementationClassname,
ClassLoader classLoader)
Deprecated. Obtain a new instance of a ResourceResolver Implementation used for ResourceResolver must be given as
parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String STANDARD_RESOURCERESOLVER_CLASS
ResourceResolver
class to be created
if no special implementation is given
Constructor Detail |
---|
public ResourceResolverFactory()
Method Detail |
---|
public static final ResourceResolver newInstance() throws XmlParserInitializationException
ResourceResolver
ResourceResolver
is the standard
one. The classloader to load up this implementation is the actual
ContextClassLoader of the actual thread.
XmlParserInitializationException
- If some exception occurs on initialization of the new
instance the exception is wrapped into a
XmlParserInitializationException
public static final ResourceResolver newInstance(ClassLoader classLoader) throws XmlParserInitializationException
ResourceResolver
ResourceResolver
is the standard
one. The classloader to load up those implementations is the given
classloader.
classLoader
- The classloader to load classes
XmlParserInitializationException
- If some exception occurs on initialization of the new
instance the exception is wrapped into a
XmlParserInitializationException
public static final ResourceResolver newInstance(String resolverImplementationClassname, ClassLoader classLoader) throws XmlParserInitializationException
ResourceResolver
ResourceResolver
must be given as
parameter. The classloader to load up those implementations is the given
classloader.
resolverImplementationClassname
- classLoader
- The classloader to load classes
XmlParserInitializationException
- If some exception occurs on initialization of the new
instance the exception is wrapped into a
XmlParserInitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |