|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.util.DummyClassLocator
public class DummyClassLocator
Dummy class locator, used when no class information is available. This returns only place holder class information.
Nested Class Summary | |
---|---|
private class |
DummyClassLocator.DummyClassInfo
(Very) partial implementation of class information interface, used as a place holder for classes. |
Field Summary | |
---|---|
private IClass |
s_objectDummy
Singleton instance of root class information. |
Constructor Summary | |
---|---|
DummyClassLocator()
|
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 |
Field Detail |
---|
private final IClass s_objectDummy
Constructor Detail |
---|
public DummyClassLocator()
Method Detail |
---|
public boolean isLookupSupported()
false
to indicate that lookup methods return only
place holder class information.
isLookupSupported
in interface IClassLocator
false
public IClass getClassInfo(java.lang.String name)
getClassInfo
in interface IClassLocator
name
- fully-qualified name of class to be found
null
if class not foundpublic IClass getRequiredClassInfo(java.lang.String name)
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)
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 |