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 00014 namespace X3D { 00015 class SAX2X3DHandler; 00016 } 00017 00019 00020 class XercesFileElement : public X3DFileElement 00021 { 00022 friend class X3D::SAX2X3DHandler; 00023 public: 00025 SFString getName() const; 00027 SFString getAttribute(int i) const; 00029 int getIndexAttribute(const SFString &attribute) const; 00030 00031 private: 00032 XercesFileElementImplementation *impl; 00033 XercesFileElement(const SFString &name, const void *const attributes); 00034 ~XercesFileElement(); 00035 }; 00036 00037 } 00038 00039 #endif