Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

ComplexElement Class Reference

interface for the ComplexElement class. More...

#include <ComplexElement.h>

Inheritance diagram for ComplexElement:

List of all members.

Public Methods

int getNoOfChildren ()
const BasicNode * getChild (int iChildPosition) const
const BasicNode * getLastChild () const
const BasicNode * getFirstChild () const
int addChild (BasicNode *pBasicNode)
NODE_TYPE getNodeType () const
int setURI (const AxisChar *pachURI)
int setLocalName (const AxisChar *pachLocalName)
int setPrefix (const AxisChar *pachPrefix)
 ComplexElement ()
virtual ~ComplexElement ()

Detailed Description

interface for the ComplexElement class.

Author:
Roshan Weerasuriya (roshan@opensource.lk, roshanw@jkcsworld.com) , Samisa Abeysinghe (sabeysinghe@virtusa.com)


Constructor & Destructor Documentation

ComplexElement::ComplexElement  
 

The Constructor.

virtual ComplexElement::~ComplexElement   [virtual]
 

The Destructor.


Member Function Documentation

int ComplexElement::addChild BasicNode *    pBasicNode
 

Adds the given child node to this Complex Element.

Parameters:
pBasicNode  the child node to be added to this Complex Element.
Returns:
AXIS_SUCCESS to indicate successfull operation.

const BasicNode* ComplexElement::getChild int    iChildPosition const
 

Get the Child Node of the given position.

Parameters:
iChildPosition  The child position.
Returns:
The Child Node of the given position.

const BasicNode* ComplexElement::getFirstChild  
 

Gets the first Child Node of this Complex Element.

Returns:
The first Child Node of this Complex Element.

const BasicNode* ComplexElement::getLastChild  
 

Gets the last Child Node of this Complex Element.

Returns:
The last Child Node of this Complex Element.

NODE_TYPE ComplexElement::getNodeType  
 

Gets the Node Type of the Complex Element which is ELEMENT_NODE.

Returns:
The Node Type of the Complex Element which is ELEMENT_NODE.

int ComplexElement::getNoOfChildren  
 

Returns the number of child elements of this ComplexElement.

Returns:
The number of child elements of this ComplexElement.

int ComplexElement::setLocalName const AxisChar *    pachLocalName
 

Sets the local name of this Complex Element.

Parameters:
pachLocalName  the local name of this Complex Element.
Returns:
AXIS_SUCCESS to indicate successfull operation.

int ComplexElement::setPrefix const AxisChar *    pachPrefix
 

Sets the prefix of this Complex Element.

Parameters:
pachPrefix  the prefix of this Complex Element.
Returns:
AXIS_SUCCESS to indicate successfull operation.

int ComplexElement::setURI const AxisChar *    pachURI
 

Sets the namespace URI of this Complex Element.

Parameters:
pachURI  the namespace URI of this Complex Element.
Returns:
AXIS_SUCCESS to indicate successfull operation.


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 09:27:58 2004 for AxisC++ by doxygen1.2.18