home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / exml.lha / exml / main / xml_attribute_table.e < prev    next >
Text File  |  1999-04-13  |  1KB  |  45 lines

  1. indexing
  2.     description:"Table of XML-attributes"
  3.     status:        "See notice at end of class."
  4.     author:        "Andreas Leitner"
  5.  
  6. class
  7.     XML_ATTRIBUTE_TABLE
  8.  
  9. inherit
  10.     DS_HASH_TABLE [XML_ATTRIBUTE, STRING]
  11.         rename
  12.             make as make_hash_table
  13.         end
  14. creation
  15.     make
  16.  
  17. feature -- Initialization
  18.  
  19.     make is
  20.             -- Initialize
  21.         do
  22.             make_hash_table (3)            
  23.         end
  24. feature
  25.     add_attribute (v: XML_ATTRIBUTE) is
  26.         require
  27.             v_not_void: v /= Void
  28.         do
  29.             force (v, v.name)
  30.         end
  31. end -- class XML_ATTRIBUTE_TABLE
  32. --|-------------------------------------------------------------------------
  33. --| eXML, Eiffel XML Parser Toolkit
  34. --| Copyright (C) 1999  Andreas Leitner
  35. --| See the file forum.txt included in this package for licensing info.
  36. --|
  37. --| Comments, Questions, Additions to this library? please contact:
  38. --|
  39. --| Andreas Leitner
  40. --| Arndtgasse 1/3/5
  41. --| 8010 Graz
  42. --| Austria
  43. --| email: andreas.leitner@teleweb.at
  44. --| web: http://exml.dhs.org
  45. --|-------------------------------------------------------------------------