|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.utils.xml.ResolverContext
Resolver context is a flexible static class to allow setting of EntityResolver and URIResolver when using all the static methods in these utility classes.
ClassContextLocal,
InheritableClassContextLocal| Method Summary | |
static Resolver |
get()
Get a Resolver. |
static void |
set(Resolver factory)
Set a Resolver available globaly in the JVM. |
static void |
setClassLocal(Resolver factory)
Set an Resolver only available in the context classloader it is set. |
static void |
setInheritClassLocal(Resolver factory)
Set an Resolver available in the current context class loader it is set and in all its children classloaders. |
static void |
setThreadLocal(Resolver factory)
Set a Resolver available in the current thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Resolver get()
Get a Resolver.
Does a bottom up search. The order is: threadLocal, classLocal, inheritableClassLocal and last the static global instance of URIFactory.
public static void set(Resolver factory)
public static void setInheritClassLocal(Resolver factory)
public static void setClassLocal(Resolver factory)
public static void setThreadLocal(Resolver factory)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||