| org.griphyn.vdl.euryale.Callback
All known Subclasses: org.griphyn.vdl.euryale.DAX2DAG, org.griphyn.vdl.euryale.DAXTest,
Callback | public interface Callback (Code) | | 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.
author: Kavitha Ranganathan author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 289 $ |
Method Summary | |
public void | cb_document(java.util.Map attributes) Callback when the opening tag was parsed. | public void | cb_done() Callback when the parsing of the document is done. | public void | cb_filename(Filename filename) Callback when the section 1 filenames are being parsed. | public void | cb_job(Job job) Callback for the job from section 2 jobs. | public void | cb_parents(String child, java.util.List parents) Callback for child and parent relationships from section 3. |
cb_document | public void cb_document(java.util.Map attributes)(Code) | | Callback when the opening tag was parsed. This contains all
attributes and their raw values within a map. This callback can
also be used to initialize callback-specific resources.
Parameters: attributes - is a map of attribute key to attribute value |
cb_done | public void cb_done()(Code) | | Callback when the parsing of the document is done. While this state
could also be determined from the return of the invocation of the
parser, that return may be hidden in another place of the code.
This callback can be used to free callback-specific resources.
|
cb_filename | public void cb_filename(Filename filename)(Code) | | Callback when the section 1 filenames are being parsed.
Parameters: filename - is a DAX-style filename elements. |
cb_job | public void cb_job(Job job)(Code) | | Callback for the job from section 2 jobs. These jobs are completely
assembled, but each is passed separately.
Parameters: job - is the DAX-style job. |
cb_parents | public void cb_parents(String child, java.util.List parents)(Code) | | Callback for child and parent relationships from section 3.
Parameters: child - is the IDREF of the child element. Parameters: parents - is a list of IDREFs of the included parents. |
|
|