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

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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2