|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParseObserver
Observer of parsing in action. This is used to supply feedback from the various things that parse particularly to the dumping utilities.
| Method Summary | |
|---|---|
void |
changeIndent(int indentDelta)
Indicate that the level of indentation for a dump should increase or decrease (positive or negative argument, respectively). |
void |
endParsingMember(ByteArray bytes,
int offset,
String name,
String descriptor,
Member member)
Indicate that a particular member is no longer being parsed. |
void |
parsed(ByteArray bytes,
int offset,
int len,
String human)
Indicate that some parsing happened. |
void |
startParsingMember(ByteArray bytes,
int offset,
String name,
String descriptor)
Indicate that a particular member is now being parsed. |
| Method Detail |
|---|
void changeIndent(int indentDelta)
indentDelta - the amount to change indentation
void startParsingMember(ByteArray bytes,
int offset,
String name,
String descriptor)
bytes - non-null; the source that is being parsedoffset - offset into bytes for the start of the
membername - non-null; name of the memberdescriptor - non-null; descriptor of the member
void endParsingMember(ByteArray bytes,
int offset,
String name,
String descriptor,
Member member)
bytes - non-null; the source that was parsedoffset - offset into bytes for the end of the
membername - non-null; name of the memberdescriptor - non-null; descriptor of the membermember - non-null; the actual member that was parsed
void parsed(ByteArray bytes,
int offset,
int len,
String human)
bytes - non-null; the source that was parsedoffset - offset into bytes for what was parsedlen - number of bytes parsedhuman - non-null; human form for what was parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||