XPathError methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
 
Line 4: Line 4:
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[CharacterPosition (XPathError property)|CharacterPosition]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[CharacterPosition (XPathError property)|CharacterPosition]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[Description (XPathError property)|Description]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[Description (XPathError property)|Description]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xPathError</span><span class="literal"> =</span> <span class="literal">%(XPathError):[[New (XPathError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XPathErrorReason">Reason=</span> <span class="term" title="XPathErrorReason">xPathErrorReason</span><span class="comma">,</span>                    -
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xPathError</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(XPathError):</span><span class="squareb">]</span><span class="literal">[[New (XPathError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="XPathErrorReason">Reason=</span> <span class="term" title="XPathErrorReason">xPathErrorReason</span><span class="comma">,</span>                    -
                                 <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                        -
                                 <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                        -
                                 <span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p>
                                 <span class="squareb">[</span><span class="literal" title="Number">CharacterPosition=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xPathErrorReason</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[Reason (XPathError property)|Reason]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%xPathErrorReason</span><span class="literal"> =</span> <span class="term">xPathError</span><span class="literal">:[[Reason (XPathError property)|Reason]]</span></p>

Latest revision as of 18:43, 7 August 2012

The syntax for each of the XPathError class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of XPathError methods.

%number = xPathError:CharacterPosition

%string = xPathError:Description

%xPathError = [%(XPathError):]New( Reason= xPathErrorReason, - [Description= string], - [CharacterPosition= number])

%xPathErrorReason = xPathError:Reason