00001 /* 00002 Copyright 1996-2000 00003 Simon Whiteside 00004 00005 * $Id: skXMLExecutable.h-source.html,v 1.1 2001/03/05 16:22:46 sdw Exp $ 00006 */ 00007 00008 #ifndef skXMLEXECUTABLE_H 00009 #define skXMLEXECUTABLE_H 00010 00011 #include "skXMLElementObject.h" 00012 #include "sax/InputSource.hpp" 00013 #include <iostream.h> 00014 00019 class skXMLExecutable : public skXMLElementObject { 00020 public: 00024 skXMLExecutable(); 00028 skXMLExecutable(const skString& fileName); 00032 skXMLExecutable(const skString& scriptLocation,InputSource& in); 00036 skXMLExecutable(const skString& scriptLocation,const skString& in); 00041 void load(const skString& scriptLocation,InputSource& in); 00046 void load(const skString& scriptLocation,const skString& in); 00050 void load(const skString& fileName); 00055 void save(ostream& out); 00059 void save(const skString& fileName); 00060 private: 00064 skXMLExecutable(const skXMLExecutable&); 00068 skXMLExecutable& operator=(const skXMLExecutable&); 00069 }; 00070 #endif