ValidationErrors

A collection of XML validation errors.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

ValidationError [] (index:Number)

Returns the ValidationError with the specified index.

Parameter

Type

Description

index

Number

The index.

ValidationError anyItem ()

Returns any ValidationError in the collection.

Number count ()

Displays the number of elements in the ValidationError.

ValidationError everyItem ()

Returns every ValidationError in the collection.

ValidationError firstItem ()

Returns the first ValidationError in the collection.

ValidationError item (index:Varies LongInteger String)

Returns the ValidationError with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

ValidationError itemByRange (from:Varies LongInteger ValidationError String, to:Varies LongInteger ValidationError String)

Returns the ValidationErrors within the specified range.

Parameter

Type

Description

from

LongInteger

ValidationError

String

The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long Integer or String.

to

LongInteger

ValidationError

String

The ValidationError, index, or name at the end of the range. Can accept: ValidationError, Long Integer or String.

ValidationError lastItem ()

Returns the last ValidationError in the collection.

ValidationError middleItem ()

Returns the middle ValidationError in the collection.

ValidationError nextItem (obj:ValidationError)

Returns the ValidationError whose index follows the specified ValidationError in the collection.

Parameter

Type

Description

obj

ValidationError

The ValidationError whose index comes before the desired ValidationError.

ValidationError previousItem (obj:ValidationError)

Returns the ValidationError with the index previous to the specified index.

Parameter

Type

Description

obj

ValidationError

The index of the ValidationError that follows the desired ValidationError.

String toSource ()

Generates a string which, if executed, will return the ValidationError.

Object of

Document.validationErrors