Public Member Functions | |
def | __init__ |
Constructor of xmlStructuredElement. | |
def | toString |
Returns Element representation. | |
def | appendContent |
Adds item to Structured Element contents. | |
def | removeContent |
Removes item from Structured Element contents. | |
def | sizeContent |
Returns count of subelements. | |
def | getName |
Returns element name. | |
def | getAttrs |
Returns element attributes. | |
def | getNsdecl |
Returns namespace declaration. | |
Public Attributes | |
type | |
Element type. | |
attrs | |
Attributes of the tag. | |
name | |
Tagname (<name></name>). | |
nsdecl | |
Namespace description. | |
content | |
Content of structured element (all it's subelements). |
Structured node in the our tree XML element structure.
It represents structured node. Only this structure can con contain subelements.
def xmlmanipulators::xmlStructuredElement::__init__ | ( | self, | ||
level, | ||||
parent, | ||||
name, | ||||
attrs, | ||||
nsdecl | ||||
) |
Constructor of xmlStructuredElement.
self | The object pointer. | |
level | Nested level. | |
parent | Parent of the node (actual structure or None). | |
name | Tagname (<name></name>). | |
attrs | Attributes of the tag. | |
nsdecl | Namespace description. |
def xmlmanipulators::xmlStructuredElement::appendContent | ( | self, | ||
item | ||||
) |
Adds item to Structured Element contents.
self | The object pointer. | |
item | Item to be added. |
def xmlmanipulators::xmlStructuredElement::getAttrs | ( | self | ) |
Returns element attributes.
def xmlmanipulators::xmlStructuredElement::getName | ( | self | ) |
Returns element name.
def xmlmanipulators::xmlStructuredElement::getNsdecl | ( | self | ) |
Returns namespace declaration.
def xmlmanipulators::xmlStructuredElement::removeContent | ( | self, | ||
item | ||||
) |
Removes item from Structured Element contents.
self | The object pointer. | |
item | Item to be removed. |
def xmlmanipulators::xmlStructuredElement::sizeContent | ( | self | ) |
Returns count of subelements.
def xmlmanipulators::xmlStructuredElement::toString | ( | self | ) |
Returns Element representation.
self | The object pointer. |
Reimplemented from xmlmanipulators::xmlElement.
Attributes of the tag.
Content of structured element (all it's subelements).
Tagname (<name></name>).
Namespace description.