XmlSelector class: Difference between revisions
m (→Syntax terms) |
|||
Line 32: | Line 32: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%outXmlSelector</th> | ||
<td>An <var>[[XmlSelector_class|XmlSelector]]</var> object variable. | <td>An <var>[[XmlSelector_class|XmlSelector]]</var> object variable. | ||
</td></tr> | </td></tr> | ||
<tr><th><var>[%(XmlSelector):]</var></th> | <tr><th nowrap="true"><var>[%(XmlSelector):]</var></th> | ||
<td>The class name in parentheses denotes a | <td>The optional class name in parentheses denotes a [[Notation conventions for methods#Constructors|virtual constructor]]. See [[#Usage notes|"Usage notes"]], below, for more information about invoking a virtual constructor.</td></tr> | ||
<tr><th>list</th> | <tr><th>list</th> | ||
<td> </td></tr> | <td><var>List</var> object</td></tr> | ||
</table> | </table> | ||
Revision as of 15:24, 15 July 2014
The XmlSelector exception class describes an exception associated with
To produce a XmlSelector exception for yourself, you typically use a SOUL Throw statement with the New XmlSelector constructor. For example, the following statement throws a XmlSelector exception:
throw %(XmlSelector):new
In addition to the New constructor that creates an object instance, the class includes a Name property that returns the invalid statistic name.
The XmlSelector class is available as of Sirius Mods version 8.1.
The XmlSelector methods
Template:List of XmlSelector methods
The methods in the class are described in the subsections that follow. In addition:
- Notation conventions for methods has information about the conventions followed.
- XmlSelector methods syntax is a single page that contains the syntax diagrams of all the methods in the class.
List function
Construct a composite selector (XmlSelector class)
This Constructor generates an instance of an XmlSelector exception.
Syntax
%xmlSelector = [%(XmlSelector):]List( list)
Syntax terms
%outXmlSelector | An XmlSelector object variable. |
---|---|
[%(XmlSelector):] | The optional class name in parentheses denotes a virtual constructor. See "Usage notes", below, for more information about invoking a virtual constructor. |
list | List object |
Usage notes
- As described in Using New or other Constructors, New can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is Null:
%xmlSelect = new %xmlSelect = %(XmlSelector):new %xmlSelect= %xmlSelect:new