xmlmanipulators::xmlStructuredElement Class Reference

xmlStructuredElement(xmlElement) More...

Inheritance diagram for xmlmanipulators::xmlStructuredElement:

xmlmanipulators::xmlElement

List of all members.

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).


Detailed Description

xmlStructuredElement(xmlElement)

Structured node in the our tree XML element structure.

It represents structured node. Only this structure can con contain subelements.

See also:
xmlElement
Author:
Stepan Henek

Member Function Documentation

def xmlmanipulators::xmlStructuredElement::__init__ (   self,
  level,
  parent,
  name,
  attrs,
  nsdecl 
)

Constructor of xmlStructuredElement.

Parameters:
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.

Parameters:
self The object pointer.
item Item to be added.

def xmlmanipulators::xmlStructuredElement::getAttrs (   self  ) 

Returns element attributes.

Returns:
Element attributes.

def xmlmanipulators::xmlStructuredElement::getName (   self  ) 

Returns element name.

Returns:
element name.

def xmlmanipulators::xmlStructuredElement::getNsdecl (   self  ) 

Returns namespace declaration.

Returns:
Namespace declaration.

def xmlmanipulators::xmlStructuredElement::removeContent (   self,
  item 
)

Removes item from Structured Element contents.

Parameters:
self The object pointer.
item Item to be removed.

def xmlmanipulators::xmlStructuredElement::sizeContent (   self  ) 

Returns count of subelements.

Returns:
Count of subelements.

def xmlmanipulators::xmlStructuredElement::toString (   self  ) 

Returns Element representation.

Parameters:
self The object pointer.
Returns:
Representation of the Element.

Reimplemented from xmlmanipulators::xmlElement.


Member Data Documentation

Attributes of the tag.

Content of structured element (all it's subelements).

Tagname (<name></name>).

Namespace description.

Element type.

Reimplemented from xmlmanipulators::xmlElement.


The documentation for this class was generated from the following file:

Generated on Sun Sep 5 12:41:36 2010 for HotFuzz by  doxygen 1.5.8