Implements DocumentHandler, DTDHandler, LexicalHandler.
Constructor
new Linkhandler(sgmldecl, errorhandler, locator, markupdefinitions, docinfo, result_docinfo, parent_docinfo, entitydefinitions, nexthandler, resolver)
Parameters
Name | Type | Description |
---|---|---|
sgmldecl | Sgmldecl | |
errorhandler | Errorhandler | |
locator | Locator | |
markupdefinitions | Markupdefinitions | |
docinfo | Docinfo | |
result_docinfo | Docinfo | |
parent_docinfo | Docinfo | |
entitydefinitions | Entitydefinitions | |
nexthandler | DocumentHandler | |
resolver | SystemSpecificEntityResolver |
Method Index
Name | Description |
---|---|
configure | Configuration method. |
materialize_current_link_set_declarations | Materializes a link process markup declaration at the current state. |
reset | Resets internal state. |
set_debug_emit_ctx_token | Sets the string printed as part of debugEmit messages. |
set_link_process_name | Associates a link process name with this linkhandler. |
Member Details
- configure(args)
-
Configuration method.
Parameters
Name Type Description args Object.<string, string> Map of configuration properties
- materialize_current_link_set_declarations()
-
Materializes a link process markup declaration at the current state.
Re-generates markup declarations for the current linkset at the context position into effective_link_processing_declarations for pickup by downstream subcontext invocations.
- reset()
-
Resets internal state.
- set_debug_emit_ctx_token()
-
Sets the string printed as part of debugEmit messages.
- set_link_process_name(name)
-
Associates a link process name with this linkhandler.
The link process must be declared in document, and no content events must have been sent prior to setting the link process.
Parameters
Name Type Description name string