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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2