Table of Contents

Class: Attr ../HappyDoc-r2_1/happydoclib/docstring/StructuredText/STDOM.py

Attr interface - The Attr interface represents an attriubte in an Element object. Attr objects inherit the Node Interface

Base Classes   
Node
Methods   
__init__
_get_Name
_get_NodeName
_get_NodeType
_get_NodeValue
_get_Specified
getName
getNodeName
getNodeType
getNodeValue
getSpecified
  __init__ 
__init__ (
        self,
        name,
        value,
        specified=1,
        )

  _get_Name 
_get_Name ( self )

  _get_NodeName 
_get_NodeName ( self )

  _get_NodeType 
_get_NodeType ( self )

  _get_NodeValue 
_get_NodeValue ( self )

  _get_Specified 
_get_Specified ( self )

  getName 
getName ( self )

Returns the name of this attribute.

  getNodeName 
getNodeName ( self )

The name of this node, depending on its type

  getNodeType 
getNodeType ( self )

A code representing the type of the node.

  getNodeValue 
getNodeValue ( self )

The value of this node, depending on its type

  getSpecified 
getSpecified ( self )

If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false.


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:29 2002 by HappyDoc version 2.1