Callback interfaces for notation and entity declarations.
Method Index
| Name | Description |
|---|---|
| notationDecl | Called for each declared notation. |
| unparsedEntityDecl | Called for each declaration of an unparsed entity (data entity). |
Member Details
- notationDecl(name, pubid, sysid)
-
Called for each declared notation.
Also called for an artificial notation generated by Linkhandler.
notationDeclcalls are called after astartDtdevent (delivered as LexicalHandler callback), and before the correspondingendDtdevent; thestartDtdandendDtddemarcation events inform about the declaration set name of the notation declaration.Parameters
Name Type Description name string the name of the declared notation
pubid string the declared public identifier, if any
sysid string the declared system identifier, if any
- unparsedEntityDecl(name, pubid, sysid, notationName, dataAttributes)
-
Called for each declaration of an unparsed entity (data entity).
Also called for delivering DAFE attributes by Linkhandler.
unparsedEntityDeclscalls are called after astartDtdevent (delivered as LexicalHandler callback), and before the correspondingendDtdevent; thestartDtdandendDtddemarcation events inform about the declaration set name of the entity declaration.Moreover,
unparsedEntityDecl()callbacks are always called afternotationDecl()calls for the respective notation (as ofnotationName) in the declaration set.Parameters
Name Type Description name string the name of the entity being declared
pubid string the declared public identifier, if any
sysid string the declared system identifier, if any
notationName string the declared content notation
dataAttributes string declared data attributes or DAFE attributes as attribute specification string