version 1.18, 2001/07/10 22:31:16
|
version 1.19, 2001/12/13 14:54:05
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 The Open group, BMC Software, Tivoli Systems, IBM |
// Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM, |
|
// The Open Group, Tivoli Systems |
// | // |
// 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) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: |
// 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) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
class CIMParameter; | class CIMParameter; |
class CIMMethod; | class CIMMethod; |
class CIMObject; | class CIMObject; |
|
class CIMNamedInstance; |
class CIMObjectWithPath; | class CIMObjectWithPath; |
|
class CIMParamValue; |
| |
class PEGASUS_COMMON_LINKAGE XmlReader | class PEGASUS_COMMON_LINKAGE XmlReader |
{ | { |
|
|
XmlParser& parser, | XmlParser& parser, |
XmlEntry& entry); | XmlEntry& entry); |
| |
|
static Boolean testXmlDeclaration ( |
|
XmlParser& parser, |
|
XmlEntry& entry); |
|
|
static Boolean testStartTag( | static Boolean testStartTag( |
XmlParser& parser, | XmlParser& parser, |
XmlEntry& entry, | XmlEntry& entry, |
|
|
| |
static void testCimStartTag(XmlParser& parser); | static void testCimStartTag(XmlParser& parser); |
| |
static Boolean getIsArrayAttribute( |
|
Uint32 lineNumber, |
|
const XmlEntry& entry, |
|
const char* tagName, |
|
Boolean& value); |
|
|
|
static String getCimNameAttribute( | static String getCimNameAttribute( |
Uint32 lineNumber, | Uint32 lineNumber, |
const XmlEntry& entry, | const XmlEntry& entry, |
|
|
XmlParser& parser, | XmlParser& parser, |
CIMInstance& cimInstance); | CIMInstance& cimInstance); |
| |
|
static Boolean getNamedInstanceElement( |
|
XmlParser& parser, |
|
CIMNamedInstance& namedInstance); |
|
|
static void getObject(XmlParser& parser, CIMClass& x); | static void getObject(XmlParser& parser, CIMClass& x); |
| |
static void getObject(XmlParser& parser, CIMInstance& x); | static void getObject(XmlParser& parser, CIMInstance& x); |
|
|
XmlParser& parser, | XmlParser& parser, |
CIMReference& objectPath); | CIMReference& objectPath); |
| |
|
static Boolean getEMethodCallStartTag( |
|
XmlParser& parser, |
|
const char*& name); |
|
|
|
static Boolean getEMethodResponseStartTag( |
|
XmlParser& parser, |
|
const char*& name); |
|
|
|
static Boolean getMethodCallStartTag( |
|
XmlParser& parser, |
|
const char*& name); |
|
|
|
static Boolean getMethodResponseStartTag( |
|
XmlParser& parser, |
|
const char*& name); |
|
|
|
static Boolean getParamValueTag( |
|
XmlParser& parser, |
|
const char*& name); |
|
|
private: | private: |
| |
XmlReader() | XmlReader() |