|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
DummyClassLocator()
|
|
| Method Summary | |
|---|---|
IClass |
getClassInfo(String name)
Get class information. |
IClass |
getRequiredClassInfo(String name)
Get required class information. |
boolean |
isLookupSupported()
Check if class lookup is supported. |
Class |
loadClass(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 DummyClassLocator()
| Method Detail |
|---|
public boolean isLookupSupported()
false to indicate that lookup methods return only
place holder class information.
isLookupSupported in interface IClassLocatorfalsepublic IClass getClassInfo(String name)
getClassInfo in interface IClassLocatorname - fully-qualified name of class to be found
null if class not foundpublic IClass getRequiredClassInfo(String name)
getClassInfo(String), but throws a runtime exception
rather than returning null.
getRequiredClassInfo in interface IClassLocatorname - fully-qualified name of class to be found
null)public Class loadClass(String name)
loadClass in interface IClassLocatorname - fully-qualified class name
null if not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||