00001 00002 // XercesFileElement.h // 00004 00005 #ifndef XERCESFILEELEMENT_H 00006 #define XERCESFILEELEMENT_H 00007 00008 #include "X3DFileElement.h" 00009 00010 namespace X3DTK { 00011 00012 class XercesFileElementImplementation; 00013 00015 00016 class XercesFileElement : public X3DFileElement 00017 { 00018 friend class SAX2X3DHandler; 00019 public: 00021 SFString getName() const; 00023 SFString getAttribute(int i) const; 00025 int getIndexAttribute(const SFString &attribute) const; 00026 00027 private: 00028 XercesFileElementImplementation *impl; 00029 00030 XercesFileElement(const SFString &name, const void *const attributes); 00031 ~XercesFileElement(); 00032 }; 00033 00034 } 00035 00036 #endif