|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.binding.classes.ClassCache.ClassCacheLocator
public static class ClassCache.ClassCacheLocator
Locator using the cache.
Constructor Summary | |
---|---|
ClassCache.ClassCacheLocator()
|
Method Summary | |
---|---|
IClass |
getClassInfo(java.lang.String name)
Get class information. |
IClass |
getRequiredClassInfo(java.lang.String name)
Get required class information. |
boolean |
isLookupSupported()
Check if class lookup is supported. |
java.lang.Class |
loadClass(java.lang.String name)
Load class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassCache.ClassCacheLocator()
Method Detail |
---|
public boolean isLookupSupported()
IClassLocator
false
,
lookup methods return only place holder class information.
isLookupSupported
in interface IClassLocator
true
if class lookup supported, false
if only place holder information returnedpublic IClass getClassInfo(java.lang.String name)
IClassLocator
getClassInfo
in interface IClassLocator
name
- fully-qualified name of class to be found
null
if class not foundpublic IClass getRequiredClassInfo(java.lang.String name)
IClassLocator
IClassLocator.getClassInfo(String)
, but throws a runtime exception rather than
returning null
.
getRequiredClassInfo
in interface IClassLocator
name
- fully-qualified name of class to be found
null
)public java.lang.Class loadClass(java.lang.String name)
IClassLocator
loadClass
in interface IClassLocator
name
- fully-qualified class name
null
if not found
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |