FOM 参照 > DOM Support > XPath Extensions > fxAttrDeclArray interface
fxAttrDeclArray interface
A FOM attribute declaration array.
length attribute
Returns the number of attribute declarations in this array.
length
Access
read-only
Returns
unsigned int
getName method
Returns the name of an item stored at the given index.
getName index
Parameters
unsigned int index
The index of the item to be set.
Returns
String. The name of the item at the given index.
getNamedItem method
Return the item with the given name.
getNamedItem name
Parameters
String name
The name of the desired item.
Returns
Object. The item stored under the given name.
hasNamedItem method
Determines if this attribute declaration array has a named item.
hasNamedItem name
Parameters
String name
The name of the desired item.
Returns
booleantrue if this named item exists in the array, false otherwise.
item method
Return the item stored at the given index.
item index
Parameters
unsigned int index
The index of the item to be returned.
Returns
Object. The item stored at the given index.
これは役に立ちましたか?