|
||||||||||
| 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 PDAX parsing. A slim and memory-efficient parser of PDAX is expected to call these callbacks.
| 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 |
cbParents(String child,
List parents)
Callback for child and parent relationships from section 3. |
void |
cbPartition(Partition partition)
Callback for the partition . |
Object |
getConstructedObject()
Return a object that is constructed during the parsing of the object. |
| Method Detail |
|---|
void cbDocument(Map attributes)
attributes - is a map of attribute key to attribute valuevoid cbPartition(Partition partition)
partition - is the PDAX-style partition.
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()
Object getConstructedObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||