|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Callback
This interfaces defines the callback calls from DAX parsing. A slim and memory-efficient parser of DAX is expected to implement these callbacks, and generate its own information on the fly.
| Method Summary | |
|---|---|
void |
cbDocument(Map attributes)
Callback when the opening tag was parsed. |
void |
cbDone()
Callback when the parsing of the document is done. |
void |
cbJob(SubInfo job)
Callback for the job from section 2 jobs. |
void |
cbParents(String child,
List parents)
Callback for child and parent relationships from section 3. |
Object |
getConstructedObject()
Return a object that is constructed during the parsing of the object. |
| Method Detail |
|---|
Object getConstructedObject()
void cbDocument(Map attributes)
attributes - is a map of attribute key to attribute valuevoid cbJob(SubInfo job)
job - is the DAX-style job.
void cbParents(String child,
List parents)
child - is the IDREF of the child element.parents - is a list of IDREFs of the included parents.void cbDone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||