Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CXMLAttribute Class Reference

#include <XML.h>

Inheritance diagram for CXMLAttribute:

CXMLNode List of all members.

Public Member Functions

 CXMLAttribute (CXMLElement *pParent, LPCTSTR pszName=NULL)
virtual ~CXMLAttribute ()
CXMLAttributeClone (CXMLElement *pParent=NULL)
void ToString (CString &strXML)
BOOL ParseString (LPCTSTR &strXML)
BOOL Equals (CXMLAttribute *pXML) const

Static Public Attributes

static LPCTSTR xmlnsSchema = _T("http://www.w3.org/2001/XMLSchema")
static LPCTSTR xmlnsInstance = _T("http://www.w3.org/2001/XMLSchema-instance")
static LPCTSTR schemaName = _T("xsi:noNamespaceSchemaLocation")

Constructor & Destructor Documentation

CXMLAttribute::CXMLAttribute CXMLElement pParent,
LPCTSTR  pszName = NULL
 

Definition at line 795 of file XML.cpp.

References CXMLNode::m_nNode, and CXMLNode::xmlAttribute.

Referenced by Clone().

CXMLAttribute::~CXMLAttribute  )  [virtual]
 

Definition at line 800 of file XML.cpp.


Member Function Documentation

CXMLAttribute * CXMLAttribute::Clone CXMLElement pParent = NULL  ) 
 

Definition at line 807 of file XML.cpp.

References CXMLAttribute(), CXMLNode::m_sName, and CXMLNode::m_sValue.

Referenced by CBitziDownloader::MergeMetaData().

BOOL CXMLAttribute::Equals CXMLAttribute pXML  )  const
 

Definition at line 859 of file XML.cpp.

References CXMLNode::m_sName, CXMLNode::m_sValue, and NULL.

Referenced by CXMLElement::Equals().

BOOL CXMLAttribute::ParseString LPCTSTR &  strXML  ) 
 

Definition at line 827 of file XML.cpp.

References CXMLNode::m_sName, CXMLNode::m_sValue, CXMLNode::ParseIdentifier(), CXMLNode::ParseMatch(), and CXMLNode::StringToValue().

Referenced by CXMLElement::ParseString().

void CXMLAttribute::ToString CString &  strXML  ) 
 

Definition at line 817 of file XML.cpp.

References CXMLNode::m_sName, CXMLNode::m_sValue, and CXMLNode::ValueToString().

Referenced by CXMLElement::ToString().


Member Data Documentation

LPCTSTR CXMLAttribute::schemaName = _T("xsi:noNamespaceSchemaLocation") [static]
 

Definition at line 793 of file XML.cpp.

Referenced by CDownloadWithSources::AddSourceHit(), CBrowseTreeItem::AddXML(), CDownloadWithFile::AppendMetadata(), CCollectionFile::CloneMetadata(), CLibraryBuilderPlugins::ExtractMetadata(), CSchema::Instantiate(), CCollectionFile::LoadManifest(), CLibraryFile::LoadMetadata(), CSearchMonitorWnd::OnQuerySearch(), CQueryHit::ParseXML(), CQuerySearch::ReadG1Packet(), CQuerySearch::ReadG2Packet(), CQueryHit::ReadG2Packet(), CLibraryFile::SetMetadata(), CAlbumFolder::SetMetadata(), and CSchema::Validate().

LPCTSTR CXMLAttribute::xmlnsInstance = _T("http://www.w3.org/2001/XMLSchema-instance") [static]
 

Definition at line 792 of file XML.cpp.

Referenced by CDownloadWithSources::AddSourceHit(), and CLibraryFile::SaveMetadata().

LPCTSTR CXMLAttribute::xmlnsSchema = _T("http://www.w3.org/2001/XMLSchema") [static]
 

Definition at line 791 of file XML.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:14 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2