XMLRuleProcessors
A collection of XML rule processors.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
XMLRuleProcessor [] (index:Number)
Returns the XMLRuleProcessor with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
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 |
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 |
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 |
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 |
The ID. |
XMLRuleProcessor itemByName (name:String)
Returns the XMLRuleProcessor with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
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 |
The XMLRuleProcessor, index, or name at the beginning of the range. Can accept: XMLRuleProcessor, Long Integer or String. |
to |
LongInteger |
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 |
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 |
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