Cross-Platform C++

ot::xml
class QName

#include "ot/xml/QName.h"

A class to encapsulate a qualified XML name. Qualified names are not part of the XML 1.0 standard - they were introduced as part of the XML Namespaces recommendation.

Applications that do not require the additional features provided by the native interface are encouraged to use the standard interface provided by the ot::sax namespace.




Constructor/Destructor Summary
QName()
        
QName(const String& rawName)
        
QName(const QName& rhs)
        
QName(const String& rawName, const String& namespaceURI)
        

Method Summary
 size_t getDelimPosition() const
        
 String getLocalName() const
        
 const String& getNamespaceURI() const
        
 String getPrefix() const
        
 const String& getRawName() const
        
 String getUniversalName() const
        
 bool operator!=(const QName& rhs) const
        
 bool operator<(const QName& rhs) const
        
 bool operator==(const QName& rhs) const
        
protected  void setDelimPosition()
        
 void setNamespaceURI(const String& namespaceURI)
        
 void setRawName(const String& rawName)
        

Constructor/Destructor Detail

QName

 QName()


QName

 QName(const String& rawName)


QName

 QName(const QName& rhs)


QName

 QName(const String& rawName,
       const String& namespaceURI)


Method Detail

getDelimPosition

size_t getDelimPosition() const


getLocalName

String getLocalName() const


getNamespaceURI

const StringgetNamespaceURI() const


getPrefix

String getPrefix() const


getRawName

const StringgetRawName() const


getUniversalName

String getUniversalName() const


operator!=

bool operator!=(const QName& rhs) const


operator<

bool operator<(const QName& rhs) const


operator==

bool operator==(const QName& rhs) const


setDelimPosition

protected void setDelimPosition()


setNamespaceURI

void setNamespaceURI(const String& namespaceURI)


setRawName

void setRawName(const String& rawName)



Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2005 ElCel Technology   Trademark Acknowledgements