Edit in GitHubLog an issue

XMLRuleProcessors

A collection of XML rule processors.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

XMLRuleProcessor add( String rulePaths, Mixed prefixMappingTable, Object withProperties )

Create a new XMLRuleProcessor

Parameters

TypeNameDescription
String
rulePaths
The XPath condition paths of the rules in the rule set.
Mixed
prefixMappingTable
The namespace mapping table. Can accept: Array of Arrays of 2 Strings. (Optional)
Object
withProperties
Initial values for properties of the new XMLRuleProcessor (Optional)

Number count()

Displays the number of elements in the XMLRuleProcessor.


XMLRuleProcessor item( Mixed index )

Returns the XMLRuleProcessor with the specified index or name.

Parameters

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

XMLRuleProcessor itemByName( String name )

Returns the XMLRuleProcessor with the specified name.

Parameters

TypeNameDescription
String
name
The name.

XMLRuleProcessor itemByID( Number id )

Returns the XMLRuleProcessor with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

XMLRuleProcessor itemByRange( Mixed from, Mixed to )

Returns the XMLRuleProcessors within the specified range.

Parameters

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

XMLRuleProcessor firstItem()

Returns the first XMLRuleProcessor in the collection.


XMLRuleProcessor lastItem()

Returns the last XMLRuleProcessor in the collection.


XMLRuleProcessor middleItem()

Returns the middle XMLRuleProcessor in the collection.


XMLRuleProcessor previousItem( XMLRuleProcessor obj )

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

Parameters

TypeNameDescription
XMLRuleProcessor
obj
The index of the XMLRuleProcessor that follows the desired XMLRuleProcessor.

XMLRuleProcessor nextItem( XMLRuleProcessor obj )

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

Parameters

TypeNameDescription
XMLRuleProcessor
obj
The XMLRuleProcessor whose index comes before the desired XMLRuleProcessor.

XMLRuleProcessor anyItem()

Returns any XMLRuleProcessor in the collection.


XMLRuleProcessor everyItem()

Returns every XMLRuleProcessor in the collection.


String toSource()

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


XMLRuleProcessor []( Number index )

Returns the XMLRuleProcessor with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.