Package libxml2dom :: Class Attribute
[show private | hide private]
[frames | no frames]

Type Attribute

object --+    
         |    
      Node --+
             |
            Attribute


A class providing attribute access.

Method Summary
  __init__(self, node, impl, ownerDocument, ownerElement)
  _parentNode(self)
    Inherited from Node
  __eq__(self, other)
  __ne__(self, other)
  appendChild(self, tmp)
  as_native_node(self)
  cloneNode(self, deep)
  createAttribute(self, name)
  createAttributeNS(self, ns, name)
  createCDATASection(self, value)
  createComment(self, value)
  createElement(self, name)
  createElementNS(self, ns, name)
  createTextNode(self, value)
  getAttribute(self, name)
  getAttributeNode(self, localName)
  getAttributeNodeNS(self, ns, localName)
  getAttributeNS(self, ns, localName)
  getElementsByTagName(self, tagName)
  getElementsByTagNameNS(self, namespaceURI, localName)
  hasAttribute(self, name)
  hasAttributeNS(self, ns, localName)
  importNode(self, node, deep)
  insertBefore(self, tmp, oldNode)
  isSameNode(self, other)
  normalize(self)
  removeAttribute(self, name)
  removeAttributeNS(self, ns, localName)
  removeChild(self, tmp)
  replaceChild(self, tmp, oldNode)
  setAttribute(self, name, value)
  setAttributeNode(self, node)
  setAttributeNodeNS(self, node)
  setAttributeNS(self, ns, name, value)
  toFile(self, f, encoding, prettyprint)
  toStream(self, stream, encoding, prettyprint)
  toString(self, encoding, prettyprint)
  xpath(self, expr, variables, namespaces)
  _attributes(self)
  _childNodes(self)
  _doctype(self)
  _findId(self, declaration, identifier)
  _findIdValue(self, declaration, i)
  _localName(self)
  _namespaceURI(self)
  _nextSibling(self)
  _nodeName(self)
  _nodeType(self)
  _nodeValue(self)
  _normalize(self, text_nodes)
  _prefix(self)
  _previousSibling(self)
  _publicId(self)
  _setNodeValue(self, value)
  _systemId(self)
  _tagName(self)
  _textContent(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...
  __str__(x)
x.__str__() <==> str(x)...

Property Summary
  parentNode
    Inherited from Node
  attributes
  childNodes
  data
  doctype
  localName
  name
  namespaceURI
  nextSibling
  nodeName
  nodeType
  nodeValue
  prefix
  previousSibling
  publicId
  systemId
  tagName
  textContent
  value

Class Variable Summary
    Inherited from Node
int ATTRIBUTE_NODE = 2                                                                     
int COMMENT_NODE = 8                                                                     
int DOCUMENT_NODE = 9                                                                     
int DOCUMENT_TYPE_NODE = 10                                                                    
int ELEMENT_NODE = 1                                                                     
dict entities = {}
int ENTITY_NODE = 6                                                                     
int ENTITY_REFERENCE_NODE = 5                                                                     
int NOTATION_NODE = 12                                                                    
dict notations = {}
int PROCESSING_INSTRUCTION_NODE = 7                                                                     
int TEXT_NODE = 3                                                                     

Property Details

parentNode

Get Method:
_parentNode(self)

Generated by Epydoc 2.1 on Fri Mar 23 00:15:48 2007 http://epydoc.sf.net