50 #ifndef NCLPRESENTATIONCONTROLPARSER_H_
51 #define NCLPRESENTATIONCONTROLPARSER_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 "NclPresentationSpecificationParser.h"
65 #include "NclInterfacesParser.h"
66 #include "NclImportParser.h"
77 void *componentsParser;
84 void *parseBindRule(DOMElement *parentElement,
void *objGrandParent);
85 virtual void *createBindRule(
86 DOMElement *parentElement,
void *objGrandParent)=0;
88 void *parseRuleBase(DOMElement *parentElement,
void *objGrandParent);
89 virtual void *createRuleBase(
90 DOMElement *parentElement,
void *objGrandParent)=0;
92 virtual void addImportBaseToRuleBase(
93 void *parentObject,
void *childObject)=0;
95 virtual void addRuleToRuleBase(
96 void *parentObject,
void *childObject)=0;
98 virtual void addCompositeRuleToRuleBase(
99 void *parentObject,
void *childObject)=0;
101 void *parseRule(DOMElement *parentElement,
void *objGrandParent);
102 virtual void *createRule(
103 DOMElement *parentElement,
void *objGrandParent)=0;
105 void *parseSwitch(DOMElement *parentElement,
void *objGrandParent);
106 virtual void *posCompileSwitch(
107 DOMElement *parentElement,
void *parentObject);
109 void *parseDefaultComponent(
110 DOMElement *parentElement,
void *objGrandParent);
112 virtual void *createDefaultComponent(
113 DOMElement *parentElement,
void *objGrandParent)=0;
115 virtual void addDefaultComponentToSwitch(
116 void *parentObject,
void *childObject)=0;
118 void *parseDefaultDescriptor(
119 DOMElement *parentElement,
void *objGrandParent);
121 virtual void *createDefaultDescriptor(
122 DOMElement *parentElement,
void *objGrandParent)=0;
124 virtual void addDefaultDescriptorToDescriptorSwitch(
125 void *parentObject,
void *childObject)=0;
127 virtual void *createSwitch(
128 DOMElement *parentElement,
void *objGrandParent)=0;
130 virtual void addSwitchPortToSwitch(
131 void *parentObject,
void *childObject)=0;
133 virtual void addMediaToSwitch(
void *parentObject,
void *childObject)=0;
134 virtual void addContextToSwitch(
135 void *parentObject,
void *childObject)=0;
137 virtual void addSwitchToSwitch(
138 void *parentObject,
void *childObject)=0;
140 virtual void addBindRuleToSwitch(
141 void *parentObject,
void *childObject)=0;
143 virtual void addUnmappedNodesToSwitch(
void *parentObject)=0;
145 void *parseCompositeRule(
146 DOMElement *parentElement,
void *objGrandParent);
148 virtual void *createCompositeRule(
149 DOMElement *parentElement,
void *objGrandParent)=0;
151 virtual void addRuleToCompositeRule(
152 void *parentObject,
void *childObject)=0;
154 virtual void addCompositeRuleToCompositeRule(
155 void *parentObject,
void *childObject)=0;
157 void *parseDescriptorSwitch(
158 DOMElement *parentElement,
void *objGrandParent);
160 virtual void *createDescriptorSwitch(
161 DOMElement *parentElement,
void *objGrandParent)=0;
163 virtual void addBindRuleToDescriptorSwitch(
164 void *parentObject,
void *childObject)=0;
166 virtual void addDescriptorToDescriptorSwitch(
167 void *parentObject,
void *childObject)=0;
170 getPresentationSpecificationParser();
172 void setPresentationSpecificationParser(
174 presentationSpecificationParser);
176 void *getComponentsParser();
177 void setComponentsParser(
void *componentsParser);
Definition: NclPresentationSpecificationParser.h:72
Definition: NclInterfacesParser.h:70
Definition: NclImportParser.h:70
Definition: ModuleParser.h:64
Definition: DocumentParser.h:72
Definition: NclPresentationControlParser.h:74