Attr interface - The Attr interface represents an attriubte in an
Element object. Attr objects inherit the Node Interface
Methods
|
|
|
|
__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.
|
|