XMLValidationErrors

A collection of XML validation errors.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

count(
)
 → number
item(
index)
 → ValidationError
itemByRange(
from, to)
 → ValidationError
toSource(
)
 → string
anyItem(
)
 → ValidationError
Returns any ValidationError in the collection.
count(
)
 → number
Displays the number of elements in the ValidationError.
everyItem(
)
 → ValidationError
Returns every ValidationError in the collection.
firstItem(
)
 → ValidationError
Returns the first ValidationError in the collection.
item(
index)
 → ValidationError
Returns the ValidationError with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByRange(
from, to)
 → ValidationError
Returns the ValidationErrors within the specified range.
from The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long Integer or String.
to The ValidationError, index, or name at the end of the range. Can accept: ValidationError, Long Integer or String.
lastItem(
)
 → ValidationError
Returns the last ValidationError in the collection.
middleItem(
)
 → ValidationError
Returns the middle ValidationError in the collection.
nextItem(
obj)
 → ValidationError
Returns the ValidationError whose index follows the specified ValidationError in the collection.
obj ValidationError The ValidationError whose index comes before the desired ValidationError.
previousItem(
obj)
 → ValidationError
Returns the ValidationError with the index previous to the specified index.
obj ValidationError The index of the ValidationError that follows the desired ValidationError.
toSource(
)
 → string
Generates a string which, if executed, will return the ValidationError.