|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.util.ObjectDump
public class ObjectDump
Dump an object and all of its contents.
| Constructor Summary | |
|---|---|
ObjectDump()
Get an instance of ObjectDump. |
|
| Method Summary | |
|---|---|
void |
dumpObject(java.lang.Object o)
Dump the given object. |
protected void |
reportDuplicate(java.lang.String path,
java.lang.String prevPath,
java.lang.Object o)
Report a duplicate object at the given path. |
protected void |
reportExamining(java.lang.String path,
java.lang.Object o)
Report that the given object is being examined. |
protected void |
reportException(java.lang.String path,
java.lang.Object o,
java.lang.Exception e)
Report an exception traversing an object. |
protected void |
reportNull(java.lang.String path)
Report a path's value is null. |
protected void |
reportPrimitive(java.lang.String path,
java.lang.Object v)
Report a primitive was found. |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectDump()
| Method Detail |
|---|
protected void reportExamining(java.lang.String path,
java.lang.Object o)
path - the path to the objecto - the object
protected void reportPrimitive(java.lang.String path,
java.lang.Object v)
path - the path to the primitivev - the value of the primitiveprotected void reportNull(java.lang.String path)
path - the path
protected void reportDuplicate(java.lang.String path,
java.lang.String prevPath,
java.lang.Object o)
path - the path of the duplicateprevPath - the first seen path of this objecto - the object itself
protected void reportException(java.lang.String path,
java.lang.Object o,
java.lang.Exception e)
path - the path of the objecto - the objecte - the exception that occurredpublic void dumpObject(java.lang.Object o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||