XMLRuleProcessors

A collection of XML rule processors.

Methods

XMLRuleProcessoradd (rulePaths:
Array of string[, prefixMappingTable:
Array of any][, 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 The namespace mapping table. Can accept: Array of Arrays of 2 Strings. (Optional)
withProperties Object Initial values for properties of the new XMLRuleProcessor (Optional)

XMLRuleProcessoranyItem ()
Returns any XMLRuleProcessor in the collection.

number count ()
Displays the number of elements in the XMLRuleProcessor.

Array of XMLRuleProcessoreveryItem ()
Returns every XMLRuleProcessor in the collection.

XMLRuleProcessorfirstItem ()
Returns the first XMLRuleProcessor in the collection.

XMLRuleProcessoritem (index:
any)
Returns the XMLRuleProcessor with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

XMLRuleProcessoritemByID (id:
number)
Returns the XMLRuleProcessor with the specified ID.

Parameter Type Description
id number The ID.

XMLRuleProcessoritemByName (name:
string)
Returns the XMLRuleProcessor with the specified name.

Parameter Type Description
name string The name.

Array of XMLRuleProcessoritemByRange (from:
any, to:
any)
Returns the XMLRuleProcessors within the specified range.

Parameter Type Description
from XMLRuleProcessor
Long Integer
String
The XMLRuleProcessor, index, or name at the beginning of the range. Can accept: XMLRuleProcessor, Long Integer or String.
to XMLRuleProcessor
Long Integer
String
The XMLRuleProcessor, index, or name at the end of the range. Can accept: XMLRuleProcessor, Long Integer or String.

XMLRuleProcessorlastItem ()
Returns the last XMLRuleProcessor in the collection.

XMLRuleProcessormiddleItem ()
Returns the middle XMLRuleProcessor in the collection.

XMLRuleProcessornextItem (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.

XMLRuleProcessorpreviousItem (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.

Element of:

Application.xmlRuleProcessors

Leave a Comment

Previous post:

Next post: