A collection of XML tags.
Go to Property Listing | Method Listing
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
XMLTag [] (index:Number)
Returns the XMLTag with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
XMLTag add (name:String, tagColor:Array of Varies 3 Reals (0 - 255) UIColors, withProperties:Object)
Creates a tag.
Parameter |
Type |
Description |
---|---|---|
name |
The name of the tag. (Optional) |
|
tagColor |
Array of 3 Reals (0 - 255) |
The dolor of the tag, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can accept: Array of 3 Reals (0 - 255) or UIColors enumerator. (Optional) |
withProperties |
Initial values for properties of the new XMLTag (Optional) |
XMLTag anyItem ()
Returns any XMLTag in the collection.
Number count ()
Displays the number of elements in the XMLTag.
XMLTag everyItem ()
Returns every XMLTag in the collection.
XMLTag firstItem ()
Returns the first XMLTag in the collection.
XMLTag item (index:Varies LongInteger String)
Returns the XMLTag with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
XMLTag itemByID (id:Number)
Returns the XMLTag with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
XMLTag itemByName (name:String)
Returns the XMLTag with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
XMLTag itemByRange (from:Varies LongInteger XMLTag String, to:Varies LongInteger XMLTag String)
Returns the XMLTags within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The XMLTag, index, or name at the beginning of the range. Can accept: XMLTag, Long Integer or String. |
to |
LongInteger |
The XMLTag, index, or name at the end of the range. Can accept: XMLTag, Long Integer or String. |
XMLTag lastItem ()
Returns the last XMLTag in the collection.
XMLTag middleItem ()
Returns the middle XMLTag in the collection.
XMLTag nextItem (obj:XMLTag)
Returns the XMLTag whose index follows the specified XMLTag in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The XMLTag whose index comes before the desired XMLTag. |
XMLTag previousItem (obj:XMLTag)
Returns the XMLTag with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the XMLTag that follows the desired XMLTag. |
String toSource ()
Generates a string which, if executed, will return the XMLTag.