Logo Search packages:      
Sourcecode: suds version File versions  Download package

suds::sax::element::Element Class Reference

Inheritance diagram for suds::sax::element::Element:

suds::mx::appender::ElementWrapper suds::sax::document::Document

List of all members.

Detailed Description

An XML element object.
@ivar parent: The node containing this attribute
@type parent: L{Element}
@ivar prefix: The I{optional} namespace prefix.
@type prefix: basestring
@ivar name: The I{unqualified} name of the attribute
@type name: basestring
@ivar expns: An explicit namespace (xmlns="...").
@type expns: (I{prefix}, I{name})
@ivar nsprefixes: A mapping of prefixes to namespaces.
@type nsprefixes: dict
@ivar attributes: A list of XML attributes.
@type attributes: [I{Attribute},]
@ivar text: The element's I{text} content.
@type text: basestring
@ivar children: A list of child elements.
@type children: [I{Element},]
@cvar matcher: A collection of I{lambda} for string matching.
@cvar specialprefixes: A dictionary of builtin-special prefixes.

Definition at line 33 of file element.py.

Public Member Functions

def __eq__
def __getitem__
def __init__
def __len__
def __repr__
def __setitem__
def __str__
def __unicode__
def addPrefix
def ancestors
def append
def applyns
def branch
def buildPath
def childAtPath
def childrenAtPath
def clearPrefix
def clone
def defaultNamespace
def detach
def detachChildren
def findPrefix
def findPrefixes
def get
def getAttribute
def getChild
def getChildren
def getRoot
def getText
def hasText
def insert
def isempty
def isnil
def match
def namespace
def normalizePrefixes
def nsdeclarations
def promotePrefixes
def prune
def qname
def refitPrefixes
def remove
def rename
def replaceChild
def resolvePrefix
def set
def setnil
def setPrefix
def setText
def str
def trim
def unset
def updatePrefix
def walk

Public Attributes


Static Public Attributes

 matcher = \
dictionary specialprefixes = { Namespace.xmlns[0] : Namespace.xmlns[1] }

Private Member Functions

def __childrenAtPath

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index