version 1.45, 2004/06/24 17:23:44
|
version 1.53.18.1, 2008/08/13 10:33:04
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_XmlReader_h | #ifndef Pegasus_XmlReader_h |
|
|
const XmlEntry& entry, | const XmlEntry& entry, |
const char* tagName); | const char* tagName); |
| |
|
typedef enum _embeddedObjectAttributeType |
|
{ |
|
NO_EMBEDDED_OBJECT = 0, |
|
EMBEDDED_OBJECT_ATTR = 1, |
|
EMBEDDED_INSTANCE_ATTR = 2 |
|
} EmbeddedObjectAttributeType; |
|
|
|
static EmbeddedObjectAttributeType getEmbeddedObjectAttribute( |
|
Uint32 lineNumber, |
|
const XmlEntry& entry, |
|
const char* tagName); |
|
|
static CIMName getReferenceClassAttribute( | static CIMName getReferenceClassAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
|
|
| |
static String decodeURICharacters(String uriString); | static String decodeURICharacters(String uriString); |
| |
static Boolean stringToReal( |
|
const char* stringValue, |
|
Real64& x); |
|
|
|
static Boolean stringToSignedInteger( | static Boolean stringToSignedInteger( |
const char* stringValue, | const char* stringValue, |
Sint64& x); | Sint64& x); |
|
|
| |
static Boolean getIMethodResponseStartTag( | static Boolean getIMethodResponseStartTag( |
XmlParser& parser, | XmlParser& parser, |
const char*& name); |
const char*& name, |
|
Boolean& isEmptyTag); |
| |
static Boolean getIParamValueTag( | static Boolean getIParamValueTag( |
XmlParser& parser, | XmlParser& parser, |
|
|
| |
static Boolean getEMethodResponseStartTag( | static Boolean getEMethodResponseStartTag( |
XmlParser& parser, | XmlParser& parser, |
const char*& name); |
const char*& name, |
|
Boolean& isEmptyTag); |
| |
static Boolean getEParamValueTag( | static Boolean getEParamValueTag( |
XmlParser& parser, | XmlParser& parser, |
|
|
| |
static Boolean getMethodResponseStartTag( | static Boolean getMethodResponseStartTag( |
XmlParser& parser, | XmlParser& parser, |
const char*& name); |
const char*& name, |
|
Boolean& isEmptyTag); |
| |
static Boolean getParamValueElement( | static Boolean getParamValueElement( |
XmlParser& parser, | XmlParser& parser, |
|
|
XmlParser& parser, | XmlParser& parser, |
CIMValue& returnValue); | CIMValue& returnValue); |
| |
|
static Boolean isSupportedCIMVersion( |
|
const char* cimVersion); |
|
|
|
static Boolean isSupportedProtocolVersion( |
|
const String& protocolVersion); |
|
|
|
static Boolean isSupportedDTDVersion( |
|
const char* dtdVersion); |
private: | private: |
| |
XmlReader() | XmlReader() |