50 #ifndef NCLSTRUCTUREPARSER_H_
51 #define NCLSTRUCTUREPARSER_H_
53 #include "../ModuleParser.h"
54 #include "../DocumentParser.h"
55 using namespace ::br::pucrio::telemidia::converter::framework;
57 #include <xercesc/dom/DOM.hpp>
58 XERCES_CPP_NAMESPACE_USE
64 #include "NclTransitionParser.h"
65 #include "NclPresentationSpecificationParser.h"
66 #include "NclComponentsParser.h"
67 #include "NclLinkingParser.h"
68 #include "NclLayoutParser.h"
69 #include "NclInterfacesParser.h"
70 #include "NclPresentationControlParser.h"
71 #include "NclConnectorsParser.h"
72 #include "NclImportParser.h"
73 #include "NclMetainformationParser.h"
85 presentationSpecificationParser;
99 virtual void* parseBody(DOMElement *parentElement,
100 void *objGrandParent);
102 virtual void* posCompileBody(
103 DOMElement *parentElement,
void *parentObject);
105 virtual void* createBody(
106 DOMElement *parentElement,
void *objGrandParent)=0;
108 virtual void addPropertyToBody(
109 void *parentObject,
void *childObject)=0;
111 virtual void addPortToBody(
112 void *parentObject,
void *childObject)=0;
114 virtual void addMediaToBody(
115 void *parentObject,
void *childObject)=0;
117 virtual void addContextToBody(
118 void *parentObject,
void *childObject)=0;
120 virtual void addSwitchToBody(
121 void *parentObject,
void *childObject)=0;
123 virtual void addLinkToBody(
124 void *parentObject,
void *childObject)=0;
126 virtual void* parseHead(
127 DOMElement *parentElement,
void *objGrandParent);
129 virtual void* createHead(
130 DOMElement *parentElement,
void *objGrandParent)=0;
132 virtual void addRegionBaseToHead(
133 void *parentObject,
void *childObject)=0;
135 virtual void addDescriptorBaseToHead(
136 void *parentObject,
void *childObject)=0;
138 virtual void addTransitionBaseToHead(
139 void* parentObject,
void* childObject)=0;
141 virtual void addRuleBaseToHead(
142 void *parentObject,
void *childObject)=0;
144 virtual void addConnectorBaseToHead(
145 void *parentObject,
void *childObject)=0;
147 virtual void addImportedDocumentBaseToHead(
148 void *parentObject,
void *childObject)=0;
150 virtual void addMetaToHead(
151 void *parentObject,
void *childObject)=0;
153 virtual void addMetadataToHead(
154 void *parentObject,
void *childObject)=0;
156 virtual void* parseNcl(
157 DOMElement *parentElement,
void *objGrandParent);
159 virtual void* createNcl(
160 DOMElement *parentElement,
void *objGrandParent)=0;
162 virtual void addHeadToNcl(
163 void *parentObject,
void *childObject)=0;
165 virtual void addBodyToNcl(
166 void *parentObject,
void *childObject)=0;
172 getPresentationSpecificationParser();
174 void setPresentationSpecificationParser(
176 presentationSpecificationParser);
189 void setPresentationControlParser(
196 void setMetainformationParser(
Definition: NclConnectorsParser.h:68
Definition: NclPresentationSpecificationParser.h:72
Definition: NclStructureParser.h:81
Definition: NclLinkingParser.h:70
Definition: NclMetainformationParser.h:70
Definition: NclInterfacesParser.h:70
Definition: NclImportParser.h:70
Definition: NclTransitionParser.h:72
Definition: ModuleParser.h:64
Definition: NclComponentsParser.h:75
Definition: DocumentParser.h:72
Definition: NclPresentationControlParser.h:74
Definition: NclLayoutParser.h:72