Package Module_Interface

AuthorJulien Burdy &Vincent Decorges
Date17.6.02
DescriptionInterface between SAX parser and the AdaDoc modules
File namemodule_interface.ads
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
Unicode.CES
Sax.Attributes
Sax.Readers
Modulefrom AdaDoc
Dict_TDA
 
Use clauses
Dict_TDA
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
Objectnew Sax.Readers.Reader with private
  
Exceptions
XML_Element_Name_Error
If XML contain false element
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Set_Module procedure
Purpose : Set a module with the current Reader

Self : Object itself.
Module_Instance : AdaDoc module instance to fixe-
Dict_Tags : User defined tags
Options : Option for the module
Parameter name Type Mode Default
SelfObjectin out
Module_InstanceModule.Object_Accessin
Dict_TagsDict_Tda.Dict_Typein
OptionsStringin
  
Start_Element procedure
Purpose : Receive notification of the beginning of an element.
There will always be a matching call to End_Element,
even for empty elements.
The attribute list will only contain attributes with explicit values.

Self : Object itself.
see SAX documentation
Parameter name Type Mode Default
SelfObjectin out
Namespace_URIUnicode.CES.Byte_Sequencein""
Local_NameUnicode.CES.Byte_Sequencein""
QnameUnicode.CES.Byte_Sequencein""
AttsSax.Attributes.Attributes'Classin
  
End_Element procedure
Purpose : Receive notification of the end of an element.

Self : Object itself.
see SAX documentation
Parameter name Type Mode Default
SelfObjectin out
Namespace_URIUnicode.CES.Byte_Sequencein""
Local_NameUnicode.CES.Byte_Sequencein""
QnameUnicode.CES.Byte_Sequencein""
  
End_Document procedure
Purpose : Receive notification of the end of a document.
This callback will be called only once once it has reached the end of
the input stream.

Self : Object itself.
Parameter name Type Mode Default
SelfObjectin out