BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::lib::elementtree::ElementTree::QName Class Reference

QName wrapper. More...

List of all members.

Public Member Functions

def __init__
def __str__
def __hash__
def __cmp__

Public Attributes

 text

Detailed Description

QName wrapper.

This can be used to wrap a QName attribute value, in order to get proper namespace handling on output.

Parameters:
textA string containing the QName value, in the form {uri}local, or, if the tag argument is given, the URI part of a QName.
tagOptional tag. If given, the first argument is interpreted as an URI, and this argument is interpreted as a local name.
Returns:
An opaque object, representing the QName.

Constructor & Destructor Documentation

def b3::lib::elementtree::ElementTree::QName::__init__ (   self,
  text_or_uri,
  tag = None 
)

Member Function Documentation

def b3::lib::elementtree::ElementTree::QName::__cmp__ (   self,
  other 
)
def b3::lib::elementtree::ElementTree::QName::__hash__ (   self)
def b3::lib::elementtree::ElementTree::QName::__str__ (   self)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties