Adobe InDesign CS4 (6.0) Object Model JS: XMLRuleMatchData

InDesign CS4

Class

XMLRuleMatchData

 An XML element matched by a rule or rules in the current XML rule set.

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

XMLRuleProcessor
XMLRuleMatchData

Properties

PropertyTypeAccessDescription
elementXMLItem readonlyAn XML element matched by a rule or rules in the current XML rule set.
indexnumber readonlyThe index of the XMLRuleMatchData within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
matchRulesArray of number readonlyThe indices of matching XML rules in the rule set.
parentXMLRuleProcessor readonlyThe parent of the XMLRuleMatchData (a XMLRuleProcessor).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

Array of XMLRuleMatchData getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the XMLRuleMatchData.

string toSpecifier ()
Retrieves the object specifier.

Return

Array of XMLRuleMatchData XMLRuleMatchData.getElements ()

XMLRuleMatchData XMLRuleProcessor.findNextMatch ()

XMLRuleMatchData XMLRuleProcessor.startProcessingRuleSet (initialElement: XMLElement)

XMLRuleMatchData XMLRuleProcessor.startProcessingSubtree ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index