(file) Return to XmlConstants.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 mike  1.2 //%/////////////////////////////////////////////////////////////////////////////
  2           //
  3 kumpf 1.4 // Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM,
  4 mike  1.2 // The Open Group, Tivoli Systems
  5           //
  6           // Permission is hereby granted, free of charge, to any person obtaining a copy
  7 kumpf 1.4 // of this software and associated documentation files (the "Software"), to
  8           // deal in the Software without restriction, including without limitation the
  9           // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 10 mike  1.2 // sell copies of the Software, and to permit persons to whom the Software is
 11           // furnished to do so, subject to the following conditions:
 12           // 
 13 kumpf 1.4 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 14 mike  1.2 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 15           // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 16 kumpf 1.4 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 17           // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 18           // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 19 mike  1.2 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 20           // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 21           //
 22           //==============================================================================
 23           //
 24           // Author: Carol Ann Krug Graves, Hewlett-Packard Company 
 25           //         (carolann_graves@hp.com)
 26           //
 27           // Modified By:
 28           //
 29           //%/////////////////////////////////////////////////////////////////////////////
 30           
 31           #ifndef Pegasus_XmlConstants_h
 32           #define Pegasus_XmlConstants_h
 33           
 34 mike  1.3 // REVIEW: Consider moving these to classes which they are associated with.
 35           
 36 mike  1.2 PEGASUS_NAMESPACE_BEGIN
 37           
 38           //
 39           //  This include file contains constants related to the CIM XML encoding,
 40           //  including XML elements, and exception message strings appropriate for 
 41           //  XML validation exception conditions.
 42           //
 43           
 44           //
 45           //  XML Elements
 46           //
 47           
 48           /**
 49            *  The element used to define a local namespace path.
 50            */
 51           static const char XML_ELEMENT_LOCALNAMESPACEPATH [] = "LOCALNAMESPACEPATH";
 52           
 53           /**
 54            *  The element used to define a namespace component of a namespace path.
 55            */
 56           static const char XML_ELEMENT_NAMESPACE [] = "NAMESPACE";
 57 mike  1.2 
 58           /**
 59            *  The element used to define a multiple CIM operation request.
 60            */
 61           static const char XML_ELEMENT_MULTIREQ [] = "MULTIREQ";
 62           
 63           /**
 64            *  The element used to define a simple CIM operation request.
 65            */
 66           static const char XML_ELEMENT_SIMPLEREQ [] = "SIMPLEREQ";
 67           
 68           /**
 69            *  The element used to define an inrinsic method invocation.
 70            */
 71           static const char XML_ELEMENT_IMETHODCALL [] = "IMETHODCALL";
 72           
 73           /**
 74            *  The element used to define an extrinsic method invocation.
 75            */
 76           static const char XML_ELEMENT_METHODCALL [] = "METHODCALL";
 77           
 78 mike  1.2 /**
 79            *  The element used to define a local path to a CIM class.
 80            */
 81           static const char XML_ELEMENT_LOCALCLASSPATH [] = "LOCALCLASSPATH";
 82           
 83           /**
 84            *  The element used to define a local path to a CIM instance.
 85            */
 86           static const char XML_ELEMENT_LOCALINSTANCEPATH [] = "LOCALINSTANCEPATH";
 87           
 88           
 89           //
 90           //  Exception Message Strings
 91           //
 92           
 93           /**
 94            *
 95            *  Exception message string indicating missing <MESSAGE> element.
 96            *
 97            */
 98           static const char MISSING_ELEMENT_MESSAGE [] = 
 99 mike  1.2     "Failed to find <MESSAGE> element";
100           
101           /**
102            *
103            *  Exception message string indicating missing &lt;SIMPLEREQ&gt; or
104            *  &lt;MULTIREQ&gt; element.
105            *
106            */
107           static const char MISSING_ELEMENT_REQ [] = 
108               "Failed to find <SIMPLEREQ> or <MULTIREQ> element";
109           
110           /**
111            *
112            *  Exception message string indicating missing &lt;METHODCALL&gt; or
113            *  &lt;IMETHODCALL&gt; element.
114            *
115            */
116           static const char MISSING_ELEMENT_METHODCALL [] = 
117               "Failed to find <METHODCALL> or <IMETHODCALL> element";
118           
119           /**
120 mike  1.2  *
121            *  Exception message string indicating missing &lt;LOCALNAMESPACEPATH&gt; 
122            *  element.
123            *
124            */
125           static const char MISSING_ELEMENT_LOCALNAMESPACEPATH [] = 
126               "Failed to find <LOCALNAMESPACEPATH> element";
127           
128           /**
129            *
130            *  Exception message string indicating missing &lt;LOCALCLASSPATH&gt; or
131            *  &lt;LOCALINSTANCEPATH&gt; element.
132            *
133            */
134           static const char MISSING_ELEMENT_LOCALPATH [] = 
135               "Failed to find <LOCALCLASSPATH> or <LOCALINSTANCEPATH> element";
136           
137           /**
138            *
139            *  Exception message string indicating missing &lt;CLASSNAME&gt; element.
140            *
141 mike  1.2  */
142           static const char MISSING_ELEMENT_CLASSNAME [] = 
143               "Failed to find <CLASSNAME> element";
144           
145           /**
146            *
147            *  Exception message string indicating missing &lt;INSTANCENAME&gt; element.
148            *
149            */
150           static const char MISSING_ELEMENT_INSTANCENAME [] = 
151               "Failed to find <INSTANCENAME> element";
152           
153           
154           PEGASUS_NAMESPACE_END
155           
156           #endif /* Pegasus_XmlConstants_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2