\section{Complex\-Element Class Reference}
\label{classComplexElement}\index{ComplexElement@{ComplexElement}}
interface for the Complex\-Element class. 


{\tt \#include $<$Complex\-Element.h$>$}

Inheritance diagram for Complex\-Element::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classComplexElement}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
int {\bf get\-No\-Of\-Children} ()
\item 
const Basic\-Node $\ast$ {\bf get\-Child} (int i\-Child\-Position) const
\item 
const Basic\-Node $\ast$ {\bf get\-Last\-Child} () const
\item 
const Basic\-Node $\ast$ {\bf get\-First\-Child} () const
\item 
int {\bf add\-Child} (Basic\-Node $\ast$p\-Basic\-Node)
\item 
NODE\_\-TYPE {\bf get\-Node\-Type} () const
\item 
int {\bf set\-URI} (const Axis\-Char $\ast$pach\-URI)
\item 
int {\bf set\-Local\-Name} (const Axis\-Char $\ast$pach\-Local\-Name)
\item 
int {\bf set\-Prefix} (const Axis\-Char $\ast$pach\-Prefix)
\item 
{\bf Complex\-Element} ()
\item 
virtual {\bf $\sim$Complex\-Element} ()
\end{CompactItemize}


\subsection{Detailed Description}
interface for the Complex\-Element class.

\begin{Desc}
\item[Author: ]\par
Roshan Weerasuriya ({\tt roshan@opensource.lk}, {\tt roshanw@jkcsworld.com}) , Samisa Abeysinghe ({\tt sabeysinghe@virtusa.com}) \end{Desc}




\subsection{Constructor \& Destructor Documentation}
\index{ComplexElement@{Complex\-Element}!ComplexElement@{ComplexElement}}
\index{ComplexElement@{ComplexElement}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Complex\-Element::Complex\-Element ()}\label{classComplexElement_a12}


The Constructor. \index{ComplexElement@{Complex\-Element}!~ComplexElement@{$\sim$ComplexElement}}
\index{~ComplexElement@{$\sim$ComplexElement}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual Complex\-Element::$\sim$Complex\-Element ()\hspace{0.3cm}{\tt  [virtual]}}\label{classComplexElement_a15}


The Destructor. 

\subsection{Member Function Documentation}
\index{ComplexElement@{Complex\-Element}!addChild@{addChild}}
\index{addChild@{addChild}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Complex\-Element::add\-Child (Basic\-Node $\ast$ {\em p\-Basic\-Node})}\label{classComplexElement_a5}


Adds the given child node to this Complex Element.\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
p\-Basic\-Node}]the child node to be added to this Complex Element. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
AXIS\_\-SUCCESS to indicate successfull operation. \end{Desc}
\index{ComplexElement@{Complex\-Element}!getChild@{getChild}}
\index{getChild@{getChild}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const Basic\-Node$\ast$ Complex\-Element::get\-Child (int {\em i\-Child\-Position}) const}\label{classComplexElement_a2}


Get the Child Node of the given position.\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
i\-Child\-Position}]The child position. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
The Child Node of the given position. \end{Desc}
\index{ComplexElement@{Complex\-Element}!getFirstChild@{getFirstChild}}
\index{getFirstChild@{getFirstChild}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const Basic\-Node$\ast$ Complex\-Element::get\-First\-Child ()}\label{classComplexElement_a4}


Gets the first Child Node of this Complex Element.

\begin{Desc}
\item[Returns: ]\par
The first Child Node of this Complex Element. \end{Desc}
\index{ComplexElement@{Complex\-Element}!getLastChild@{getLastChild}}
\index{getLastChild@{getLastChild}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const Basic\-Node$\ast$ Complex\-Element::get\-Last\-Child ()}\label{classComplexElement_a3}


Gets the last Child Node of this Complex Element.

\begin{Desc}
\item[Returns: ]\par
The last Child Node of this Complex Element. \end{Desc}
\index{ComplexElement@{Complex\-Element}!getNodeType@{getNodeType}}
\index{getNodeType@{getNodeType}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}NODE\_\-TYPE Complex\-Element::get\-Node\-Type ()}\label{classComplexElement_a6}


Gets the Node Type of the Complex Element which is ELEMENT\_\-NODE.

\begin{Desc}
\item[Returns: ]\par
The Node Type of the Complex Element which is ELEMENT\_\-NODE. \end{Desc}
\index{ComplexElement@{Complex\-Element}!getNoOfChildren@{getNoOfChildren}}
\index{getNoOfChildren@{getNoOfChildren}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Complex\-Element::get\-No\-Of\-Children ()}\label{classComplexElement_a1}


Returns the number of child elements of this Complex\-Element.

\begin{Desc}
\item[Returns: ]\par
The number of child elements of this Complex\-Element. \end{Desc}
\index{ComplexElement@{Complex\-Element}!setLocalName@{setLocalName}}
\index{setLocalName@{setLocalName}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Complex\-Element::set\-Local\-Name (const Axis\-Char $\ast$ {\em pach\-Local\-Name})}\label{classComplexElement_a8}


Sets the local name of this Complex Element.\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
pach\-Local\-Name}]the local name of this Complex Element. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
AXIS\_\-SUCCESS to indicate successfull operation. \end{Desc}
\index{ComplexElement@{Complex\-Element}!setPrefix@{setPrefix}}
\index{setPrefix@{setPrefix}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Complex\-Element::set\-Prefix (const Axis\-Char $\ast$ {\em pach\-Prefix})}\label{classComplexElement_a9}


Sets the prefix of this Complex Element.\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
pach\-Prefix}]the prefix of this Complex Element. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
AXIS\_\-SUCCESS to indicate successfull operation. \end{Desc}
\index{ComplexElement@{Complex\-Element}!setURI@{setURI}}
\index{setURI@{setURI}!ComplexElement@{Complex\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Complex\-Element::set\-URI (const Axis\-Char $\ast$ {\em pach\-URI})}\label{classComplexElement_a7}


Sets the namespace URI of this Complex Element.\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
pach\-URI}]the namespace URI of this Complex Element. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns: ]\par
AXIS\_\-SUCCESS to indicate successfull operation. \end{Desc}


The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
Complex\-Element.h\end{CompactItemize}
