XMLRuleProcessors

A collection of XML rule processors.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

XMLRuleProcessor [] (index:Number)

Returns the XMLRuleProcessor with the specified index.

Parameter

Type

Description

index

Number

The index.

XMLRuleProcessor add (rulePaths:Array of String, prefixMappingTable:Array of Varies Arrays of 2 Strings. , withProperties:Object)

Create a new XMLRuleProcessor

Parameter

Type

Description

rulePaths

Array of String

The XPath condition paths of the rules in the rule set.

prefixMappingTable

Array of Arrays of 2 Strings.

The namespace mapping table. Can accept: Array of Arrays of 2 Strings. (Optional)

withProperties

Object

Initial values for properties of the new XMLRuleProcessor (Optional)

XMLRuleProcessor anyItem ()

Returns any XMLRuleProcessor in the collection.

Number count ()

Displays the number of elements in the XMLRuleProcessor.

XMLRuleProcessor everyItem ()

Returns every XMLRuleProcessor in the collection.

XMLRuleProcessor firstItem ()

Returns the first XMLRuleProcessor in the collection.

XMLRuleProcessor item (index:Varies LongInteger String)

Returns the XMLRuleProcessor with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

XMLRuleProcessor itemByID (id:Number)

Returns the XMLRuleProcessor with the specified ID.

Parameter

Type

Description

id

Number

The ID.

XMLRuleProcessor itemByName (name:String)

Returns the XMLRuleProcessor with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the XMLRuleProcessors within the specified range.

Parameter

Type

Description

from

LongInteger

XMLRuleProcessor

String

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

to

LongInteger

XMLRuleProcessor

String

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

XMLRuleProcessor lastItem ()

Returns the last XMLRuleProcessor in the collection.

XMLRuleProcessor middleItem ()

Returns the middle XMLRuleProcessor in the collection.

XMLRuleProcessor nextItem (obj:XMLRuleProcessor)

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

Parameter

Type

Description

obj

XMLRuleProcessor

The XMLRuleProcessor whose index comes before the desired XMLRuleProcessor.

XMLRuleProcessor previousItem (obj:XMLRuleProcessor)

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

Parameter

Type

Description

obj

XMLRuleProcessor

The index of the XMLRuleProcessor that follows the desired XMLRuleProcessor.

String toSource ()

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

Object of

Application.xmlRuleProcessors