phoenix_title wx.xml.XmlAttribute

Represents a node attribute.

Example: in <img src="hello.gif" id="3"/> , src is an attribute with value hello.gif and id is an attribute with value 3 .

See also

wx.xml.XmlDocument, wx.xml.XmlNode


class_hierarchy Class Hierarchy

Inheritance diagram for class XmlAttribute:

method_summary Methods Summary

__init__

Default constructor.

GetName

Returns the name of this attribute.

GetNext

Returns the sibling of this attribute or None if there are no siblings.

GetValue

Returns the value of this attribute.

SetName

Sets the name of this attribute.

SetNext

Sets the sibling of this attribute.

SetValue

Sets the value of this attribute.


property_summary Properties Summary

Name

See GetName and SetName

Next

See GetNext and SetNext

Value

See GetValue and SetValue


api Class API

class wx.xml.XmlAttribute(object)

Possible constructors:

XmlAttribute() -> None

XmlAttribute(name : str, value : str, next: Optional[XmlAttribute]=None)
             -> None

Represents a node attribute.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Default constructor.

Return type:

None



__init__ (self, name : str, value : str, next: Optional[XmlAttribute]=None)

Creates the attribute with given name and value.

If next is not None, then sets it as sibling of this attribute.

Parameters:
Return type:

None





GetName(self)

Returns the name of this attribute.

Return type:

str



GetNext(self)

Returns the sibling of this attribute or None if there are no siblings.

Return type:

wx.xml.XmlAttribute



GetValue(self)

Returns the value of this attribute.

Return type:

str



SetName(self, name : str)

Sets the name of this attribute.

Parameters:

name (string) –

Return type:

None



SetNext(self, next : XmlAttribute)

Sets the sibling of this attribute.

Parameters:

next (wx.xml.XmlAttribute) –

Return type:

None



SetValue(self, value : str)

Sets the value of this attribute.

Parameters:

value (string) –

Return type:

None


Properties

Name

See GetName and SetName



Next

See GetNext and SetNext



Value

See GetValue and SetValue