|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| __NOTOC__
| |
| The <var>XmlSelector</var> exception class describes an exception associated with
| |
|
| |
| To produce a <var>XmlSelector</var> exception for yourself, you typically use a <var class="product">SOUL</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with the <var>[[New (XmlSelector constructor)|New]]</var> <var>XmlSelector</var> constructor. For example, the following statement throws a <var>XmlSelector</var> exception:
| |
| <p class="code">throw %(XmlSelector):new
| |
| </p>
| |
|
| |
| In addition to the <var>New</var> constructor that creates an object instance, the class includes a <var>[[Name_(XmlSelector_property)|Name]]</var> property that returns the invalid statistic name.
| |
|
| |
| The <var>XmlSelector</var> class is available as of <var class="product">[[Sirius Mods]]</var> version 8.1.
| |
|
| |
|
| | | This page is [[under construction]]. |
| ==The XmlSelector methods==
| |
| {{Template:List of XmlSelector methods}}
| |
| | |
| The methods in the class are described in the subsections that follow. In addition:
| |
| <ul>
| |
| <li>[[Notation conventions for methods|Notation conventions for methods]] has information
| |
| about the conventions followed.
| |
| <li>[[XmlSelector methods syntax]] is a single page that contains the syntax diagrams of all the methods in the class.
| |
| </ul>
| |
| | |
| ==List function==
| |
| {{Template:XmlSelector:List subtitle}}
| |
| | |
| This <var>Constructor</var> generates an instance of an <var>[[XmlSelector_class|XmlSelector]]</var> exception.
| |
| | |
| ===Syntax===
| |
| {{Template:XmlSelector:List syntax}}
| |
| | |
| ====Syntax terms====
| |
| <table class="syntaxTable">
| |
| | |
| <tr><th>%xmlSelector</th>
| |
| <td>An <var>[[XmlSelector_class|XmlSelector]]</var> object variable.
| |
| </td></tr>
| |
| | |
| <tr><th><var>[%(XmlSelector):]</var></th>
| |
| <td>The class name in parentheses denotes a <var>[[Notation conventions for methods#Constructors|Constructor]]</var>. See [[#Usage notes|Usage notes]], below, for more information about invoking an <var>XmlSelector</var> <var>Constructor</var>.</td></tr>
| |
| | |
| <tr><th>list</th>
| |
| <td> </td></tr>
| |
| </table>
| |
| | |
| ===Usage notes===
| |
| <ul>
| |
| <li>As described in [[Object variables#Using New or other Constructors|Using New or other Constructors]], <var>New</var> can be invoked with no object, with an explicit class name, or with an object variable in the class, even if that object is <var>Null</var>:
| |
| <p class="code">%xmlSelect = new
| |
| | |
| %xmlSelect = %(XmlSelector):new
| |
| | |
| %xmlSelect= %xmlSelect:new
| |
| </p>
| |
| </ul>
| |