Class Index | File Index

Classes


Class gxe.xml.XmlElements


Extends gxe.util.ArrayList.
A collection of XML elements (of type gxe.xml.XmlElement).
Defined in: gxe.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class :
gxe.util.ArrayList#_array
Method Summary
Method Attributes Method Name and Description
 
echo(xmlGenerator, stringBuffer, nDepth)
Serializes XML content.
 
findIndex(xmlElement)
Finds the array index associated with an element.
Methods borrowed from class gxe.util.ArrayList:
add, getItem, getLength, insertAt, push, removeIndex, swapPosition
Class Detail
gxe.xml.XmlElements()
Method Detail
echo(xmlGenerator, stringBuffer, nDepth)
Serializes XML content.
Parameters:
{gxe.xml.Generator} xmlGenerator
the XML generator
{gxe.util.StringBuffer} stringBuffer
the buffer to which content will be written
{Integer} nDepth
the indentation depth

{Integer} findIndex(xmlElement)
Finds the array index associated with an element.
Parameters:
{gxe.xml.XmlElement} xmlElement
the subject element
Returns:
{Integer} the associated index (-1 if not located)