blob: be6dbcd591fe211dc3beb6828cea1f517d647f15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
//==================================================================
/**
* @file Any_Handler.h
*
* $Id$
*
* @author Arvind S. Krishna <arvindk@dre.vanderbilt.edu>
*/
//=====================================================================
#ifndef ANY_HANDLER_H
#define ANY_HANDLER_H
#include /**/ "ace/pre.h"
#include "ciao/DeploymentC.h"
#include "Config_Handler_export.h"
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/dom/DOM.hpp>
#include "XercesString.h"
using Config_Handler::XStr;
using xercesc::XMLString;
using xercesc::DOMText;
using xercesc::DOMNodeIterator;
using xercesc::DOMNode;
namespace CIAO
{
namespace Config_Handler
{
/**
* @class Any_Handler
*
* @brief Handler class for <Deployment:Any> type
*
* This class defines handler methods to parse Implementation
* Dependency types in the descriptor files. The corresponding
* CORBA IDL type for the schema element is returned.
*
*/
class Config_Handler_Export Any_Handler
{
public:
static void process_Any (DOMNodeIterator * iter,
::CORBA::Any &any_obj);
// process elements of type Deployment:Any in the descriptor files
private:
static void validate_ValueNode (DOMNodeIterator * iter,
const char * name);
// validate <value> .. </value> node present in the XML schema
};
}
}
#include /**/ "ace/post.h"
#endif /* ID_HANDLER_H */
|