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.
notationDecl
calls are called after astartDtd
event (delivered as LexicalHandler callback), and before the correspondingendDtd
event; thestartDtd
andendDtd
demarcation 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.
unparsedEntityDecls
calls are called after astartDtd
event (delivered as LexicalHandler callback), and before the correspondingendDtd
event; thestartDtd
andendDtd
demarcation 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