Class Index | File Index

Classes


Class gxe.xml.XmlNamespaces


Extends gxe.util.ArrayList.
A collection of XML namespaces.
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
 
constructor(prefix, uri)
Constructor.
 
getPrefix(uri)
Gets the namespace prefix associated with a URI.
 
getUri(prefix)
Gets the namespace URI associated with a prefix.
Methods borrowed from class gxe.util.ArrayList:
add, getItem, getLength, insertAt, push, removeIndex, swapPosition
Class Detail
gxe.xml.XmlNamespaces()
Method Detail
constructor(prefix, uri)
Constructor.
Parameters:
{String} prefix
the prefix
{String} uri
the URI

{String} getPrefix(uri)
Gets the namespace prefix associated with a URI.
Parameters:
{String} uri
the URI
Returns:
{String} the namespace prefix for the URI (null if not located)

{String} getUri(prefix)
Gets the namespace URI associated with a prefix.
Parameters:
{String} prefix
the prefix
Returns:
{String} the namespace URI for the prefix (null if not located)