50 #ifndef NclDocumentConverter_H
51 #define NclDocumentConverter_H
53 #include "ncl/components/Node.h"
54 using namespace ::br::pucrio::telemidia::ncl::components;
56 #include "../framework/DocumentParser.h"
57 #include "../framework/ModuleParser.h"
58 using namespace ::br::pucrio::telemidia::converter::framework;
60 #include "../framework/ncl/NclDocumentParser.h"
61 using namespace ::br::pucrio::telemidia::converter::framework::ncl;
63 #include "ncl/NclDocument.h"
64 #include "ncl/IPrivateBaseContext.h"
65 using namespace ::br::pucrio::telemidia::ncl;
67 #include "../IDocumentConverter.h"
72 #include <xercesc/dom/DOM.hpp>
73 XERCES_CPP_NAMESPACE_USE
81 public NclDocumentParser {
84 IPrivateBaseContext* privateBaseContext;
92 IPrivateBaseContext* baseContext, IDeviceLayout* deviceLayout);
98 virtual void initialize();
99 virtual void* parseRootElement(DOMElement *rootElement);
102 string getAttribute(
void* element,
string attribute);
103 Node *getNode(
string id);
104 bool removeNode(Node *node);
105 IPrivateBaseContext* getPrivateBaseContext();
106 NclDocument* importDocument(
string* docLocation);
107 void* parseEntity(
string entityLocation,
108 NclDocument* document,
111 void* getObject(
string tableName,
string key) {
112 return DocumentParser::getObject(tableName, key);
115 void* parse(
string uri,
string iUriD,
string fUriD) {
116 return DocumentParser::parse(uri, iUriD, fUriD);
Definition: NclDocumentConverter.h:80
Definition: IDocumentConverter.h:64