Main Page | Class Hierarchy | Compound List | File List | Compound Members

BxDomAttributeList.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxDomAttributeList_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // BxDomAttributeList keeps a map of attributes for a node.
00006 // ##################################################################
00007 /*
00008 
00009 //  edikt::BinX
00010 //  www.edikt.org
00011 //  support@edikt.org
00012 
00013 // Copyright (c) 2003 The University of Edinburgh.
00014 
00015 */
00016 
00017 #ifndef __BxDomAttributeList__
00018 #define __BxDomAttributeList__
00019 
00020 #include "BxObject.h"
00021 #include <xercesc/dom/DOMNode.hpp>
00022 #include <xercesc/dom/DOMNamedNodeMap.hpp>
00023 
00024 XERCES_CPP_NAMESPACE_USE
00025 
00026 /*
00027  * Class holding a list of BinX XML attribute name-value pairs.
00028  * BxDomAttributeList keeps a list of all attribute name-value pairs for a Node.
00029  * The list is maintained in a DOMNamedNodeMap, which is populated by obtaining
00030  * attribute data from the wrapped DOM parser.
00031  * <BR>This class is explicited created by the BxDomParser
00032  * to extract BinX XML attribute values.
00033  * The returned results are released after use by the BxDomParser.
00034  * <BR><B>Since:</B>  BinX version 1.0.
00035  */
00036 class DECLSPEC BxDomAttributeList : public BxObject
00037 {
00038     DOMNamedNodeMap * attributes_;  //< attribute map
00039     DOMNode * currentAttribute_;    //< current referenced attribute
00040 
00041 public:
00042     BxDomAttributeList();
00043     BxDomAttributeList(DOMNamedNodeMap *);
00044     virtual ~BxDomAttributeList();
00045 
00046     char * getAttributeValue(const char * attributeName);
00047 };
00048 
00049 #endif
00050 

Generated on Fri May 6 13:36:17 2005 for edikt::BinX by doxygen 1.3.3