1 karl 1.9 //%2005////////////////////////////////////////////////////////////////////////
|
2 mike 1.2 //
|
3 karl 1.8 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 karl 1.7 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.8 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 karl 1.9 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 mike 1.2 //
12 // Permission is hereby granted, free of charge, to any person obtaining a copy
|
13 kumpf 1.4 // of this software and associated documentation files (the "Software"), to
14 // deal in the Software without restriction, including without limitation the
15 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
16 mike 1.2 // sell copies of the Software, and to permit persons to whom the Software is
17 // furnished to do so, subject to the following conditions:
18 //
|
19 kumpf 1.4 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
|
20 mike 1.2 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
21 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
22 kumpf 1.4 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
25 mike 1.2 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27 //
28 //==============================================================================
29 //
30 // Author: Carol Ann Krug Graves, Hewlett-Packard Company
31 // (carolann_graves@hp.com)
32 //
|
33 kumpf 1.5 // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
|
34 mike 1.2 //
35 //%/////////////////////////////////////////////////////////////////////////////
36
37 #ifndef Pegasus_XmlConstants_h
38 #define Pegasus_XmlConstants_h
39
|
40 mike 1.3 // REVIEW: Consider moving these to classes which they are associated with.
41
|
42 mike 1.2 PEGASUS_NAMESPACE_BEGIN
43
44 //
45 // This include file contains constants related to the CIM XML encoding,
46 // including XML elements, and exception message strings appropriate for
47 // XML validation exception conditions.
48 //
49
50 //
51 // XML Elements
52 //
53
54 /**
55 * The element used to define a multiple CIM operation request.
56 */
57 static const char XML_ELEMENT_MULTIREQ [] = "MULTIREQ";
58
59 /**
60 * The element used to define a simple CIM operation request.
61 */
62 static const char XML_ELEMENT_SIMPLEREQ [] = "SIMPLEREQ";
63 mike 1.2
64 /**
65 * The element used to define an inrinsic method invocation.
66 */
67 static const char XML_ELEMENT_IMETHODCALL [] = "IMETHODCALL";
68
69 /**
70 * The element used to define an extrinsic method invocation.
71 */
72 static const char XML_ELEMENT_METHODCALL [] = "METHODCALL";
73
74 /**
75 * The element used to define a local path to a CIM class.
76 */
77 static const char XML_ELEMENT_LOCALCLASSPATH [] = "LOCALCLASSPATH";
78
79 /**
80 * The element used to define a local path to a CIM instance.
81 */
82 static const char XML_ELEMENT_LOCALINSTANCEPATH [] = "LOCALINSTANCEPATH";
83
84 mike 1.2
85 //
86 // Exception Message Strings
87 //
88
89 /**
90 *
91 * Exception message string indicating missing <SIMPLEREQ> or
92 * <MULTIREQ> element.
93 *
94 */
95 static const char MISSING_ELEMENT_REQ [] =
|
96 kumpf 1.5 "expected SIMPLEREQ or MULTIREQ element";
|
97 humberto 1.6
98 //l10n
99 static const char MISSING_ELEMENT_REQ_KEY [] =
100 "Common.XmlConstants.MISSING_ELEMENT_REQ";
|
101 mike 1.2
102 /**
103 *
104 * Exception message string indicating missing <LOCALCLASSPATH> or
105 * <LOCALINSTANCEPATH> element.
106 *
107 */
108 static const char MISSING_ELEMENT_LOCALPATH [] =
|
109 kumpf 1.5 "expected LOCALCLASSPATH or LOCALINSTANCEPATH element";
|
110 mike 1.2
|
111 humberto 1.6 //l10n
112 static const char MISSING_ELEMENT_LOCALPATH_KEY [] =
113 "Common.XmlConstants.MISSING_ELEMENT_LOCALPATH_KEY";
|
114 mike 1.2 PEGASUS_NAMESPACE_END
115
116 #endif /* Pegasus_XmlConstants_h */
|