Class Wfs_element
Object
|
+--Wfs_element
- class
Wfs_element
an array of elements, each consisting of a name/value pair
Defined in geometry.js
Method Summary |
Integer
|
count()
returns the number of elements of this Wfs_element object.
|
Integer, Boolean
|
getElementIndexByName(<String> elementName)
gets the index of the element with a given name.
|
String, Boolean
|
getElementValueByName(<String> elementName)
gets the value of the element with a given name.
|
String
|
getName(<Integer> i)
returns the name of the element at index i.
|
Object
|
getValue(<Integer> i)
returns the value of the element at index i.
|
void
|
setElement(<String> aName, <String> aValue)
appends a new element with a given name.
|
Wfs_element
Wfs_element()
count
Integer count()
returns the number of elements of this Wfs_element object.
getElementIndexByName
Integer, Boolean getElementIndexByName(<String> elementName)
gets the index of the element with a given name.
Returns:
the index of the element; if no element with this name exists, false
getElementValueByName
String, Boolean getElementValueByName(<String> elementName)
gets the value of the element with a given name.
Returns:
the value of the element; if no element with this name exists, false
getName
String getName(<Integer> i)
returns the name of the element at index i.
getValue
Object getValue(<Integer> i)
returns the value of the element at index i.
setElement
void setElement(<String> aName, <String> aValue)
appends a new element with a given name. If an element with this name exists, it is overwritten.
Parameters:
aName
- the name of the new element
aValue
- the value of the new element
Documentation generated by
JSDoc on Wed Aug 8 10:35:22 2007