Class
An XML element matched by a rule or rules in the current XML rule set.
getElements, toSource, toSpecifier
XMLRuleMatchData
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
element | XMLItem | readonly | An XML element matched by a rule or rules in the current XML rule set. |
index | number | readonly | The index of the XMLRuleMatchData within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
matchRules | Array of number | readonly | The indices of matching XML rules in the rule set. |
parent | XMLRuleProcessor | readonly | The parent of the XMLRuleMatchData (a XMLRuleProcessor). |
properties | Object | r/w | A 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.3d | Contents :: Index |