Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# QName Class Reference

QName wrapper. More...

List of all members.

## Public Member Functions
def | __init__
def | __cmp__
def | __hash__
def | __str__
## 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:

  text | A string containing the QName value, in the form {uri}local, or, if the tag argument is given, the URI part of a QName.
  tag | Optional 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 __init__ | ( |  | self,
|  |  | text_or_uri,
|  |  | tag = `None`
| ) |  |

## Member Function Documentation

def __cmp__ | ( |  | self,
|  |  | other
| ) |  |

def __hash__ | ( |  | self | ) |

def __str__ | ( |  | self | ) |

## Member Data Documentation

text

All Classes Namespaces Functions Variables Enumerations Enumerator Properties