50 #ifndef NCLCONNECTORSPARSER_H_
51 #define NCLCONNECTORSPARSER_H_
53 #include "../ModuleParser.h"
54 #include "../DocumentParser.h"
55 using namespace ::br::pucrio::telemidia::converter::framework;
57 #include "NclImportParser.h"
59 #include <xercesc/dom/DOM.hpp>
60 XERCES_CPP_NAMESPACE_USE
76 void *parseSimpleCondition(
77 DOMElement *parentElement,
void *objGrandParent);
79 virtual void *createSimpleCondition(
80 DOMElement *parentElement,
void *objGrandParent)=0;
82 void *parseCompoundCondition(
83 DOMElement *parentElement,
void *objGrandParent);
85 virtual void *createCompoundCondition(
86 DOMElement *parentElement,
void *objGrandParent)=0;
88 virtual void addSimpleConditionToCompoundCondition(
89 void *parentObject,
void *childObject)=0;
91 virtual void addCompoundConditionToCompoundCondition(
92 void *parentObject,
void *childObject)=0;
94 virtual void addAssessmentStatementToCompoundCondition(
95 void *parentObject,
void *childObject)=0;
97 virtual void addCompoundStatementToCompoundCondition(
98 void *parentObject,
void *childObject)=0;
100 void *parseAssessmentStatement(
101 DOMElement *parentElement,
void *objGrandParent);
103 virtual void *createAssessmentStatement(
104 DOMElement *parentElement,
void *objGrandParent)=0;
106 virtual void addAttributeAssessmentToAssessmentStatement(
107 void *parentObject,
void *childObject)=0;
109 virtual void addValueAssessmentToAssessmentStatement(
110 void *parentObject,
void *childObject)=0;
112 void *parseAttributeAssessment(
113 DOMElement *parentElement,
void *objGrandParent);
115 virtual void *createAttributeAssessment(
116 DOMElement *parentElement,
void *objGrandParent)=0;
118 void *parseValueAssessment(
119 DOMElement *parentElement,
void *objGrandParent);
121 virtual void *createValueAssessment(
122 DOMElement *parentElement,
void *objGrandParent)=0;
124 void *parseCompoundStatement(
125 DOMElement *parentElement,
void *objGrandParent);
127 virtual void *createCompoundStatement(
128 DOMElement *parentElement,
void *objGrandParent)=0;
130 virtual void addAssessmentStatementToCompoundStatement(
131 void *parentObject,
void *childObject)=0;
133 virtual void addCompoundStatementToCompoundStatement(
134 void *parentObject,
void *childObject)=0;
136 void *parseSimpleAction(
137 DOMElement *parentElement,
void *objGrandParent);
139 virtual void *createSimpleAction(
140 DOMElement *parentElement,
void *objGrandParent)=0;
142 void *parseCompoundAction(
143 DOMElement *parentElement,
void *objGrandParent);
145 virtual void *createCompoundAction(
146 DOMElement *parentElement,
void *objGrandParent)=0;
148 virtual void addSimpleActionToCompoundAction(
149 void *parentObject,
void *childObject)=0;
151 virtual void addCompoundActionToCompoundAction(
152 void *parentObject,
void *childObject)=0;
154 void *parseConnectorParam(
155 DOMElement *parentElement,
void *objGrandParent);
157 virtual void *createConnectorParam(
158 DOMElement *parentElement,
void *objGrandParent)=0;
160 void *parseCausalConnector(
161 DOMElement *parentElement,
void *objGrandParent);
163 virtual void *createCausalConnector(
164 DOMElement *parentElement,
void *objGrandParent)=0;
166 virtual void addSimpleConditionToCausalConnector(
167 void *parentObject,
void *childObject)=0;
169 virtual void addCompoundConditionToCausalConnector(
170 void *parentObject,
void *childObject)=0;
172 virtual void addSimpleActionToCausalConnector(
173 void *parentObject,
void *childObject)=0;
175 virtual void addCompoundActionToCausalConnector(
176 void *parentObject,
void *childObject)=0;
178 virtual void addConnectorParamToCausalConnector(
179 void *parentObject,
void *childObject)=0;
181 void *parseConnectorBase(
182 DOMElement *parentElement,
void *objGrandParent);
184 virtual void *createConnectorBase(
185 DOMElement *parentElement,
void *objGrandParent)=0;
187 virtual void addImportBaseToConnectorBase(
188 void *parentObject,
void *childObject)=0;
190 virtual void addCausalConnectorToConnectorBase(
191 void *parentObject,
void *childObject)=0;
Definition: NclConnectorsParser.h:68
Definition: NclImportParser.h:70
Definition: ModuleParser.h:64
Definition: DocumentParser.h:72