#include <QName.hpp>
Public Methods | |
QName () | |
Constructor for the QName. More... | |
QName (const std::string &p_qName) | |
Constructor QName from qualified name. More... | |
QName (const std::string &p_strNsURI, const std::string &p_strLocalPart) | |
Constructor for the QName. More... | |
QName (const QName &p_qName) | |
Constructor for the QName. More... | |
QName (const std::string &p_qName, const DOM_Element &p_Elem) | |
Constructor for the QName. More... | |
~QName () | |
void | SetNsURI (const std::string &p_strNsURI) |
Sets the Namespace URI for this QName. More... | |
void | SetLocalPart (const std::string &p_strLocalPart) |
Sets the Local part for this QName. More... | |
const std::string | GetNsURI () |
Gets the Namespace URI for this QName. More... | |
const std::string | GetLocalPart () |
Gets the Local part for this QName. More... | |
bool | operator== (const QName &p_qName) |
Indicates whether some other object is "equal to" this QName object. More... | |
const std::string | toString () |
Returns a string representation of this QName. More... | |
QName () | |
Constructor for the QName. More... | |
QName (const std::string &p_qName) | |
Constructor QName from qualified name. More... | |
QName (const std::string &p_strNsURI, const std::string &p_strLocalPart) | |
Constructor for the QName. More... | |
QName (const QName &p_qName) | |
Constructor for the QName. More... | |
QName (const std::string &p_qName, const DOM_Element &p_Elem) | |
Constructor for the QName. More... | |
~QName () | |
void | SetNsURI (const std::string &p_strNsURI) |
Sets the Namespace URI for this QName. More... | |
void | SetLocalPart (const std::string &p_strLocalPart) |
Sets the Local part for this QName. More... | |
const std::string | GetNsURI () |
Gets the Namespace URI for this QName. More... | |
const std::string | GetLocalPart () |
Gets the Local part for this QName. More... | |
bool | operator== (const QName &p_qName) |
Indicates whether some other object is "equal to" this QName object. More... | |
const std::string | toString () |
Returns a string representation of this QName. More... | |
Private Attributes | |
std::string | m_strNsURI |
Namespace URI. More... | |
std::string | m_strLocalPart |
Loaclpart. More... | |
Friends | |
bool | operator< (const QName &left, const QName &right) |
storage purpose in a std::map we need a get around for this. More... | |
bool | operator< (const QName &left, const QName &right) |
storage purpose in a std::map we need a get around for this. More... |
Qualified name based on "Namespaces in XML" specification. defined as follows:
QName ::= (Prefix ':')? LocalPart
Prefix ::= NCName
LocalPart ::= NCName
NCName ::= (Letter | '_') (NCNameChar)* ; An XML Name, minus the ":"
NCNameChar ::= Letter | Digit | '.' | '-' | '_' etc.
The Prefix provides the namespace prefix part of the qualified name, and must be associated with a namespace URI reference in a namespace declaration. The LocalPart provides the local part of the qualified name. Note that the prefix functions only as a placeholder for a namespace name. Applications should use the namespace name, not the prefix, in constructing names whose scope extends beyond the containing document.
Definition at line 103 of file CVS/Base/QName.hpp.
|
Constructor for the QName.
Definition at line 107 of file CVS/Base/QName.hpp. |
|
Constructor QName from qualified name. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
Definition at line 120 of file CVS/Base/QName.hpp. |
|
Constructor for the QName.
|
|
Constructor QName from qualified name. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
Constructor for the QName. Constructor for the QName |
|
|
|
Gets the Local part for this QName.
|
|
Gets the Local part for this QName.
Definition at line 132 of file CVS/Base/QName.hpp. Referenced by XMLSerializer::QNameToStr(), XMLDeSerializer::QNameToStr(), and RPCParam::Serialize().
|
|
Gets the Namespace URI for this QName.
|
|
Gets the Namespace URI for this QName.
Definition at line 129 of file CVS/Base/QName.hpp. Referenced by XMLSerializer::QNameToStr(), XMLDeSerializer::QNameToStr(), and RPCParam::Serialize().
|
|
Sets the Local part for this QName. Sets the Local part for this QName |
|
Sets the Local part for this QName. Sets the Local part for this QName |
|
Sets the Namespace URI for this QName. Sets the Namespace URI for this QName |
|
Sets the Namespace URI for this QName. Sets the Namespace URI for this QName |
|
Indicates whether some other object is "equal to" this QName object. Indicates whether some other object is "equal to" this QName object |
|
Indicates whether some other object is "equal to" this QName object. Indicates whether some other object is "equal to" this QName object |
|
Returns a string representation of this QName. Returns a string representation of this QName |
|
Returns a string representation of this QName. Returns a string representation of this QName Definition at line 165 of file QName.cpp. Referenced by operator==().
|
|
storage purpose in a std::map we need a get around for this. Storage stratergy in a std::map we need a get around for this. |
|
storage purpose in a std::map we need a get around for this. Storage stratergy in a std::map we need a get around for this. |
|
Loaclpart.
|
|
Namespace URI.
|
Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved