|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
dump(String name,
Object value,
ObjectHandle object)
This method is called to dump literal value of a field |
void |
handleNullObject(ObjectHandle current,
String fieldName)
|
boolean |
indent(Object childObject,
ObjectHandle currentObject,
String fieldName)
This method is called to indicate start printing of "child" object, i.e. |
void |
print(Object obj)
This method is called to print a simple object |
void |
println(Object obj)
This method is called to print a simple object and and then terminate the line. |
void |
printReference(ObjectHandle oh,
ObjectHandle current,
String fieldName)
This method is called if an object that has already been printed before is encountered. |
void |
undent()
This method is called to indicate end of printing of "child" object. |
Method Detail |
public void dump(String name, Object value, ObjectHandle object) throws IOException
name
- Name of the fieldvalue
- Value of the fieldobject
- Object being dumped. This is sent for
information only and can be disregarded.
IOException
public boolean indent(Object childObject, ObjectHandle currentObject, String fieldName) throws IOException
false
, then child
object is not printed.
childObject
- childObject This parameter should be
used only to determine whether to print this object, there
is no need to print it. If the method returns
true
, then the object will be sent for
printing subsequently.currentObject
- Current object being dumped. This is
sent for information only and can be disregarded.fieldName
- Field in current object which corresponds
to child object.
IOException
public void undent() throws IOException
IOException
public void print(Object obj) throws IOException
obj
- Value of object to be printed, in most cases
just a String.
IOException
public void println(Object obj) throws IOException
obj
- Value of object to be printed, in most cases
just a String
IOException
public void printReference(ObjectHandle oh, ObjectHandle current, String fieldName) throws IOException
oh
- Object that has been encountered and has been
already printed.current
- Current object being dumped. This is sent
for information only and can be disregarded.fieldName
- Field in current object which corresponds
to child object.
IOException
public void handleNullObject(ObjectHandle current, String fieldName) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |