XMLRuleProcessors
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
XMLRuleProcessor add (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 : 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.
Array
of XMLRuleProcessor everyItem ()
Returns every XMLRuleProcessor in the collection.
XMLRuleProcessor firstItem ()
Returns the first XMLRuleProcessor in the collection.
XMLRuleProcessor item (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. |
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. |
Array
of XMLRuleProcessor itemByRange (from:
any, to:
any)
Returns the XMLRuleProcessors within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String XMLRuleProcessor | The XMLRuleProcessor, index, or name at the beginning of the range. Can accept: XMLRuleProcessor, Long Integer or String. |
to | Long Integer String XMLRuleProcessor | 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.
Element of
Application.xmlRuleProcessors
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |